TODO
- Docker & Docker compose
- curl
Example will start a kong instance and an example api called foggy.
This this example is used as developer environment.
When js plugin change kong should be restarted.
- kong configuration enables js plugin server.
- kong declarative configuration declare
foggyservice and route with/foggycontext path then enables http-payload-file-log plugin on it.
docker-compose up -dcurl --request GET \
--url http://localhost:9000/foggy/api/userResponse should be something like:
{
"name": "Thomas Sanchez",
"birthday": "Tue Mar 26 00:24:39 UTC 1974",
"email": "ipue32@gmail.com",
"mobile": "0692800513",
"iban": "MT31QWDG66590wxenqcL5u5dtlUrF74",
"bic": "LQVXVWY6"
}- implement http payload file logging
- create an integration example (use it as dev env)
- write readme documentation
- define response and request paylaod log size limit
- support http payload log anonymization
- benchmarking request time
- support content encodings