一个可重用的django应用程序来管理kong服务(http://getkong.org)
django-kong-admin的Python项目详细描述
docs | |
---|---|
tests | |
package | |
compatibility |
一个可重用的django应用程序,用于管理kong服务(https://getkong.org)
===如何==
pip install django-kong-admin
在您的django设置中:
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 needsKONG_ADMIN_URL='http://localhost:8001'KONG_ADMIN_SIMULATOR=False# python-kong includes a simulator for testing purposes. You usually don't need that.
在基本URL模式中:
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')....]
运行默认的django管理命令以使工作正常进行
python manage.py migrate python manage.py collectstatic ...
然后你可以去你的django管理网站,和香港管理实体 将是可控的。
我计划在不久的将来添加更多的文档!如果你想的话 为图书馆做贡献,做我的客人!
更改日志
0.4.0(2015-10-13)
- 更新的Kong集成库(警告:不向后兼容!)
- 代码清理
0.3.9(2015-10-07)
- 更新了Kong集成库
0.3.8(2015-10-05)
- 更新了模型中的帮助文本
0.3.7(2015-09-29)
- 小修补程序
0.3.6(2015-09-29)
- 修正了不正确的清单
0.3.5(2015-09-29)
- 已实现APIReference名称字段的验证器
0.3.4(2015-09-24)
- 修正了同步错误
0.3.3(2015-09-23)
- 现在支持“保留主机”和“删除请求路径”选项
0.3.2(2015-09-23)
- 错误修复
0.3.1(2015-09-22)
- 错误修复
0.3.0(2015-09-22)
- 更新模型以匹配python kong 0.3.0规范
0.2.6(2015-09-18)
- 错误修复
0.2.5(2015-09-17)
- 错误修复
0.2.4(2015-09-17)
- 插件中的错误修复
0.2.3(2015-09-17)
- 错误修复
0.2.2(2015-09-14)
- 错误修复
0.2.1(2015-09-14)
- 错误修复
0.2.0(2015-09-09)
- 更新的库与kong 0.5.x兼容(警告:不向后兼容!)
0.1.1(2015-08-28)
- 错误修复和清除
0.1.0(2015-08-26)
- pypi上的第一个版本。