]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blame - dhall/server/service/plugin/correlationId.dhall
Merge pull request #18 from paulrbr-fl/pre-function-plugins
[github/fretlink/ansible-kong-app.git] / dhall / server / service / plugin / correlationId.dhall
CommitLineData
25bf64cb
CD
1let Plugin = ./Plugin.dhall
2
3let config = ./Config.dhall
4
5in λ(generator : Optional Text)
6 → { name =
7 "correlation-id"
8 , config =
9 config.CorrelationId
10 { header_name =
11 "X-correl"
12 , echo_downstream =
13 True
14 , generator =
15 Optional/fold
16 Text
17 generator
18 Text
19 (λ(t : Text) → t)
20 "uuid#counter"
21 }
22 }
23 : Plugin