aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/Config.dhall
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-08-08 15:51:47 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-08-08 15:51:47 +0200
commit42e5588b7feb13e90964b5371fb9f1bdcfaf793a (patch)
tree6aefb077fc07a715edb478cef3e8fc3a24e3a45c /dhall/server/service/plugin/Config.dhall
parentf820c109a54ea5c09fcff01025ba3ab63f18912c (diff)
downloadansible-kong-app-42e5588b7feb13e90964b5371fb9f1bdcfaf793a.tar.gz
ansible-kong-app-42e5588b7feb13e90964b5371fb9f1bdcfaf793a.tar.zst
ansible-kong-app-42e5588b7feb13e90964b5371fb9f1bdcfaf793a.zip
config(dhall): add parameter 'generator' to CorrelationID plugin
This PR adds possibility to define a custom `generator` to use in the CorrelationID plugin. The default value ("uuid#counter") is taken from Kong directly https://docs.konghq.com/hub/kong-inc/correlation-id/#parameters
Diffstat (limited to 'dhall/server/service/plugin/Config.dhall')
-rw-r--r--dhall/server/service/plugin/Config.dhall4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/server/service/plugin/Config.dhall b/dhall/server/service/plugin/Config.dhall
index d54436b..ea53361 100644
--- a/dhall/server/service/plugin/Config.dhall
+++ b/dhall/server/service/plugin/Config.dhall
@@ -1,9 +1,9 @@
1< CorrelationId : 1< CorrelationId :
2 { header_name : Text, echo_downstream : Bool } 2 { header_name : Text, echo_downstream : Bool, generator : Text }
3| RequestTransformer : 3| RequestTransformer :
4 { add : { headers : List Text } } 4 { add : { headers : List Text } }
5| RequestTermination : 5| RequestTermination :
6 { status_code : Natural, content_type : Text, body : Text } 6 { status_code : Natural, content_type : Text, body : Text }
7| IPRestriction : 7| IPRestriction :
8 { whitelist : Text } 8 { whitelist : Text }
9> \ No newline at end of file 9>