X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=dhall%2Fserver%2Fservice%2Fplugin%2FConfig.dhall;h=5ec90cf14ea50784035be1257f4d8f634a738a69;hb=05ca2d729b48f99be643ae3665e05fd07d2b8d78;hp=73a333f56a120aff6ddfa81f7040286f8d0edf27;hpb=77e27a11c31fee82c2ff30613bc832f5171fa845;p=github%2Ffretlink%2Fansible-kong-app.git diff --git a/dhall/server/service/plugin/Config.dhall b/dhall/server/service/plugin/Config.dhall index 73a333f..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 } -| RequestTransformer : - { `add.headers` : 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 } +| IPRestriction : { whitelist : Text } +| PreFunction : { functions : List Text } >