From 32f0c8936b9b04073f42c2510af783210cb6ca82 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 2 Dec 2019 18:49:06 +0800 Subject: [PATCH] update krakend --- krakend/README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/krakend/README.md b/krakend/README.md index b8d335c..363e539 100644 --- a/krakend/README.md +++ b/krakend/README.md @@ -8,7 +8,10 @@ microservices into single endpoints, doing the heavy-lifting automatically for you: aggregate, transform, filter, decode, throttle, auth and more. -## krakend.json +## krakend config + +
+krakend.json ```json { @@ -36,17 +39,20 @@ you: aggregate, transform, filter, decode, throttle, auth and more. ] } ``` +
+ +``` +$ krakend-config2dot -c krakend.json | dot -Tpng -o krakend.png +``` + +![](data/krakend.png) ## up and running ```bash $ docker-compose up -d + $ curl http://localhost:8080/httpbin -``` - -## result.json - -``` { "headers": { "Accept-Encoding": "gzip",