]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blame - dhall/server/service/plugin/CorrelationId.dhall
Merge pull request #16 from paulrbr-fl/add-default-correlation-id
[github/fretlink/ansible-kong-app.git] / dhall / server / service / plugin / CorrelationId.dhall
CommitLineData
331e852c 1let Plugin = ./Plugin.dhall
77e27a11 2
331e852c 3let config = ./Config.dhall
77e27a11 4
42e5588b
PB
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