X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=dhall%2Fserver%2Fservice%2Fplugin%2FConfig.dhall;h=5ec90cf14ea50784035be1257f4d8f634a738a69;hb=05ca2d729b48f99be643ae3665e05fd07d2b8d78;hp=ea53361976a12621e75edcecc4f94c6a5f133d5e;hpb=42e5588b7feb13e90964b5371fb9f1bdcfaf793a;p=github%2Ffretlink%2Fansible-kong-app.git diff --git a/dhall/server/service/plugin/Config.dhall b/dhall/server/service/plugin/Config.dhall index ea53361..5ec90cf 100644 --- a/dhall/server/service/plugin/Config.dhall +++ b/dhall/server/service/plugin/Config.dhall @@ -1,9 +1,9 @@ < CorrelationId : - { header_name : Text, echo_downstream : Bool, generator : Text } -| RequestTransformer : - { add : { headers : List Text } } + { header_name : Text, echo_downstream : Bool, generator : Text } +| RequestTransformer : { add : { headers : List Text } } +| ResponseTransformer : { add : { headers : List Text } } | RequestTermination : - { status_code : Natural, content_type : Text, body : Text } -| IPRestriction : - { whitelist : Text } + { status_code : Natural, content_type : Text, body : Text } +| IPRestriction : { whitelist : Text } +| PreFunction : { functions : List Text } >