aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/CorrelationId.dhall
diff options
context:
space:
mode:
authorHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-19 15:51:21 +0100
committerHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-20 17:29:11 +0100
commit77e27a11c31fee82c2ff30613bc832f5171fa845 (patch)
treeca5b2bc2ea4c15d91476436ca4376108f5a78d88 /dhall/server/service/plugin/CorrelationId.dhall
parent6bbc5a167fb43110a5b16746c112298f392be2b8 (diff)
downloadansible-kong-app-77e27a11c31fee82c2ff30613bc832f5171fa845.tar.gz
ansible-kong-app-77e27a11c31fee82c2ff30613bc832f5171fa845.tar.zst
ansible-kong-app-77e27a11c31fee82c2ff30613bc832f5171fa845.zip
add dhall interface
Diffstat (limited to 'dhall/server/service/plugin/CorrelationId.dhall')
-rw-r--r--dhall/server/service/plugin/CorrelationId.dhall11
1 files changed, 11 insertions, 0 deletions
diff --git a/dhall/server/service/plugin/CorrelationId.dhall b/dhall/server/service/plugin/CorrelationId.dhall
new file mode 100644
index 0000000..d96bfc9
--- /dev/null
+++ b/dhall/server/service/plugin/CorrelationId.dhall
@@ -0,0 +1,11 @@
1 let Plugin = ./Plugin.dhall
2
3in let config = constructors ./Config.dhall
4
5in { name =
6 "correlation-id"
7 , config =
8 config.CorrelationId
9 { header_name = "X-correl", echo_downstream = True }
10 }
11 : Plugin