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.

Source Distribution

django-kong-admin-0.4.0.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

django_kong_admin-0.4.0-py2.py3-none-any.whl (26.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-kong-admin-0.4.0.tar.gz.

File metadata

File hashes

Hashes for django-kong-admin-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c69caad5da253f2fff92ab99af111c67715bbf014cf8daf3afbdca327dd014ea
MD5 273b523e2deee27d1a784c72132a027c
BLAKE2b-256 7189471de03a2aaa8277a0f82cf608037e9961f7f1a36a4723ec193c44c8488d

See more details on using hashes here.

File details

Details for the file django_kong_admin-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_kong_admin-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 93666acd387add6e2e6d897f764bb83feb58a7e618e7319834e818067b5e1689
MD5 0c8ed34855cd2f3b30ac297c347a0c35
BLAKE2b-256 70cce1ffdeeb2d7b046a3f04333b12a8950acb72dc51c84eaf9ad643d25f3a05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page