]>
Commit | Line | Data |
---|---|---|
25bf64cb CD |
1 | let Plugin = ./Plugin.dhall |
2 | ||
3 | let config = ./Config.dhall | |
4 | ||
d8c5e33f PB |
5 | in λ(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 |