]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blame - dhall/server/service/plugin/correlationId.dhall
dhall: BREAKING CHANGE update dhall config for 1.33+ compatibility
[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
d8c5e33f
PB
5in λ(generator : Optional Text) →
6 { name = "correlation-id"
25bf64cb
CD
7 , config =
8 config.CorrelationId
d8c5e33f
PB
9 { header_name = "X-correl"
10 , echo_downstream = True
11 , generator =
12 merge
13 { None = "uuid#counter", Some = λ(x : Text) → x }
14 generator
15 }
25bf64cb
CD
16 }
17 : Plugin