Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

mwisner/python-kong-management

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

df793dc · Aug 29, 2018

History

42 Commits
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 27, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 27, 2017
Oct 25, 2017
Aug 29, 2018
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017

Repository files navigation

Python Kong Management

https://travis-ci.org/mwisner/python-kong-management.svg?branch=master Documentation Status Updates

Python api wrapper for Kong API Gatway

Features

  • This is very much a work-in-progress. Implemented functionality

Consumers

  • create
  • update_or_create
  • retrieve
  • list
  • update
  • delete
  • add_key
  • remove_key

Node

  • information
  • status

Errors

``` error_codes = {

'unauthorized': AuthenticationError, 'forbidden': AuthenticationError, 'bad_request': BadRequestError, 'action_forbidden': BadRequestError, 'missing_parameter': BadRequestError, 'parameter_invalid': BadRequestError, 'parameter_not_found': BadRequestError, 'not_found': ResourceNotFound, 'service_unavailable': ServiceUnavailableError,

}

Testing

`bash cp .env.example .env python3 -m venv venv source venv eval $(cat .env | sed 's/^/export /') setup.py pytest `