diff --git a/en/docs/reference/config-catalog.md b/en/docs/reference/config-catalog.md index 8caf2010ef..6fdf328f6c 100644 --- a/en/docs/reference/config-catalog.md +++ b/en/docs/reference/config-catalog.md @@ -15249,3 +15249,80 @@ excludeResponseHeaders = "" + + +## Global handler configurations + + +
+
+
+
+ + + +
+
+
[synapse_handlers.custom_handler_name]
+enabled=true
+class="org.wso2.carbon.apimgt.gateway.handlers.custom.customer_handler"
+
+
+
+
+
+
+ [synapse_handlers.custom_handler_name] + +

+ configuration used to define or enable disable global handler. +

+
+
+
+
+ enabled +
+
+
+

+ boolean + +

+
+ Default: +
+ +
+
+

Enable or disable a defined global handler.

+
+
+
+
+ class +
+
+
+

+ string + Required +

+
+ Default: +
+ +
+
+

Fully qualified class name of the global handler.

+
+
+
+
+
+
+
+
+
+
+ diff --git a/en/tools/config-catalog-generator/data/configs.json b/en/tools/config-catalog-generator/data/configs.json index 47b89a3c27..7b9bb0b48f 100755 --- a/en/tools/config-catalog-generator/data/configs.json +++ b/en/tools/config-catalog-generator/data/configs.json @@ -5653,6 +5653,37 @@ } ], "exampleFile": "transport-headers.toml" + }, + + { + "title": "Global handler configurations", + "options": [ + { + "name": "synapse_handlers.custom_handler_name", + "required": false, + "description": "configuration used to define or enable disable global handler.", + "params": [ + { + "name": "enabled", + "type": "boolean", + "required": false, + "default": "", + "possible": "", + "description": "Enable or disable a defined global handler." + }, + { + "name": "class", + "type": "string", + "required": true, + "default": "", + "possible": "", + "description": "Fully qualified class name of the global handler." + } + ] + } + ], + "exampleFile": "synapse_handlers.toml" } ] } +