Metadata-Version: 2.0
Name: django-kong-admin
Version: 0.4.0
Summary: A reusable Django App to manage a Kong service (http://getkong.org)
Home-page: https://github.com/vikingco/django-kong-admin
Author: Dirk Moors
Author-email: dirk.moors@vikingco.com
License: BSD
Keywords: django-kong-admin
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: django (>=1.5.1)
Requires-Dist: django-environ (>=0.3.0)
Requires-Dist: django-jsonfield2 (==15.06.08)
Requires-Dist: django-enumfield (==1.2.1)
Requires-Dist: django-ace (==1.0.2)
Requires-Dist: wheel (==0.24.0)
Requires-Dist: python-kong (>=0.4.0)
Requires-Dist: pytz (>=2015.4)
Requires-Dist: enum34 (>=1.0.4)

=================
django-kong-admin
=================

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - | |circleci| |coveralls| |scrutinizer|
    * - package
      - |version| |downloads| |wheel|
    * - compatibility
      - |pyversions| |implementation|

.. |docs| image:: https://readthedocs.org/projects/django-kong-admin/badge/?style=flat
    :target: https://readthedocs.org/projects/django-kong-admin
    :alt: Documentation Status

.. |circleci| image:: https://img.shields.io/circleci/project/vikingco/django-kong-admin.svg?style=flat&label=CircleCI
    :alt: CircleCI Build Status
    :target: https://circleci.com/gh/vikingco/django-kong-admin

.. |coveralls| image:: http://img.shields.io/coveralls/vikingco/django-kong-admin/master.svg?style=flat&label=Coveralls
    :alt: Coverage Status
    :target: https://coveralls.io/github/vikingco/django-kong-admin

.. |version| image:: http://img.shields.io/pypi/v/django-kong-admin.svg?style=flat
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/django-kong-admin

.. |downloads| image:: http://img.shields.io/pypi/dm/django-kong-admin.svg?style=flat
    :alt: PyPI Package monthly downloads
    :target: https://pypi.python.org/pypi/django-kong-admin

.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/vikingco/django-kong-admin/master.svg?style=flat
    :alt: Scrutinizer Status
    :target: https://scrutinizer-ci.com/g/vikingco/django-kong-admin/

.. |pyversions| image:: https://img.shields.io/pypi/pyversions/django-kong-admin.svg?style=flat
    :alt: Supported python versions
    :target: https://pypi.python.org/pypi/django-kong-admin

.. |implementation| image:: https://img.shields.io/pypi/implementation/django-kong-admin.svg?style=flat
    :alt: Supported imlementations
    :target: https://pypi.python.org/pypi/django-kong-admin

.. |wheel| image:: https://img.shields.io/pypi/wheel/django-kong-admin.svg?style=flat
    :alt: PyPI Wheel
    :target: https://pypi.python.org/pypi/django-kong-admin

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

=== HOWTO ===

.. code:: bash

    pip install django-kong-admin

In your Django Settings:

.. code:: python

    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:

.. code:: python

    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

.. code:: bash

    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.


