From fa3b0b8808d6fe254f882c60b31aac89cdcf7c24 Mon Sep 17 00:00:00 2001 From: wasuradananjith Date: Wed, 9 Mar 2022 20:23:36 +0530 Subject: [PATCH] Revert "Remove unnecessary j2 templates" This reverts commit 7c5cd593f708f6b772ca464f190f5c32ca950582. --- .../SecureWebSocketInboundEndpoint.xml.j2 | 25 +++++++++++++++++++ .../WebSocketInboundEndpoint.xml.j2 | 17 +++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/SecureWebSocketInboundEndpoint.xml.j2 create mode 100644 modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/WebSocketInboundEndpoint.xml.j2 diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/SecureWebSocketInboundEndpoint.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/SecureWebSocketInboundEndpoint.xml.j2 new file mode 100644 index 0000000000..96d932e6f2 --- /dev/null +++ b/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/SecureWebSocketInboundEndpoint.xml.j2 @@ -0,0 +1,25 @@ + + + + {{apim.wss.port}} + {{apim.wss.out_dispatch_seq}} + {{apim.wss.handler.class}} + {{apim.wss.dispatch.custom.sequence}} + {{apim.wss.outflow.dispatch.fault.sequence}} + {{apim.wss.client.side.broadcast.level}} + true + {{apim.wss.keystore.location}} + {{apim.wss.keystore.password}} + {{apim.wss.keystore.key_password}} + {{apim.wss.ssl_enabled_protocols}} + {% if apim.wss.ciphers is defined %} + {{apim.wss.ciphers}} + {% endif %} + + diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/WebSocketInboundEndpoint.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/WebSocketInboundEndpoint.xml.j2 new file mode 100644 index 0000000000..2438a0a03f --- /dev/null +++ b/modules/distribution/product/src/main/resources/conf/templates/repository/resources/apim-synapse-config/WebSocketInboundEndpoint.xml.j2 @@ -0,0 +1,17 @@ + + + + {{apim.ws.port}} + {{apim.ws.out_dispatch_seq}} + {{apim.ws.handler.class}} + {{apim.ws.dispatch.custom.sequence}} + {{apim.ws.outflow.dispatch.fault.sequence}} + {{apim.ws.client.side.broadcast.level}} + true + +