Skip to main content

A reusable Django App to manage a Kong service (http://getkong.org)

Project description

docs Documentation Status
tests
CircleCI Build Status Coverage Status Scrutinizer Status
package PyPI Package latest release PyPI Package monthly downloads PyPI Wheel
compatibility Supported python versions Supported imlementations

A reusable Django App to manage a Kong service (https://getkong.org)

=== HOWTO ===

pip install django-kong-admin

In your Django Settings:

INSTALLED_APPS = (
    ....
    'jsonfield2',  # Used in the models - https://github.com/DarioGT/django-jsonfield2
    'django_ace',  # Used in the 'show_config' view - https://github.com/bradleyayers/django-ace
    'kong_admin'
    ....
)

# Tweak to your own needs
KONG_ADMIN_URL = 'http://localhost:8001'
KONG_ADMIN_SIMULATOR = False  # python-kong includes a simulator for testing purposes. You usually don't need that.

In your base url patterns:

urlpatterns = [
    ....
    url(r'^admin/', include(admin.site.urls)),
    ....
    # Optionally, add the following url, which is a view that displays the current kong config:
    url(r'^showconfig/', 'kong_admin.views.show_config')
    ....
]

Run default Django management commands to get things working

python manage.py migrate
python manage.py collectstatic
...

Then you can go to your Django admin site, and the Kong Admin entities will be manageable.

I plan to add more documentation in the near future! If you want to contribute to the library, be my guest!

Changelog

0.4.0 (2015-10-13)

  • Updated Kong integration library (WARNING: Not backwards compatible!)
  • Code cleanup

0.3.9 (2015-10-07)

  • Updated Kong integration library

0.3.8 (2015-10-05)

  • Updated help text in models

0.3.7 (2015-09-29)

  • Small fixes

0.3.6 (2015-09-29)

  • Fixed incorrect manifest

0.3.5 (2015-09-29)

  • Implemented validator for APIReference name field

0.3.4 (2015-09-24)

  • Fixed synchronization bug

0.3.3 (2015-09-23)

  • Now supporting ‘preserve_host’ and ‘strip_request_path’ options

0.3.2 (2015-09-23)

  • Bugfix

0.3.1 (2015-09-22)

  • Bugfix

0.3.0 (2015-09-22)

  • Update models to match python-kong 0.3.0 spec

0.2.6 (2015-09-18)

  • Bugfix

0.2.5 (2015-09-17)

  • Bugfix

0.2.4 (2015-09-17)

  • Bugfix in Plugins

0.2.3 (2015-09-17)

  • Bugfix

0.2.2 (2015-09-14)

  • Bugfix

0.2.1 (2015-09-14)

  • Bugfix

0.2.0 (2015-09-09)

  • Updated library to be compatible with Kong 0.5.x (WARNING: Not backwards compatible!)

0.1.1 (2015-08-28)

  • Bugfixes and cleanup

0.1.0 (2015-08-26)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_kong_admin-0.4.0-py2.py3-none-any.whl (26.4 kB) Copy SHA256 hash SHA256 Wheel 3.4 Oct 13, 2015
django-kong-admin-0.4.0.tar.gz (31.9 kB) Copy SHA256 hash SHA256 Source None Oct 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page