Skip to content

Commit

Permalink
Revert "Remove unnecessary j2 templates"
Browse files Browse the repository at this point in the history
This reverts commit 7c5cd59.
  • Loading branch information
wasuradananjith committed Mar 10, 2022
1 parent aec33da commit fa3b0b8
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<inboundEndpoint xmlns="http://ws.apache.org/ns/synapse"
xmlns:svns="http://org.wso2.securevault/configuration"
name="SecureWebSocketEP"
sequence="{{apim.wss.dispatch.sequence}}"
onError="{{apim.wss.dispatch.on_error.sequence}}"
protocol="wss"
suspend="false">
<parameters>
<parameter name="inbound.ws.port">{{apim.wss.port}}</parameter>
<parameter name="ws.outflow.dispatch.sequence">{{apim.wss.out_dispatch_seq}}</parameter>
<parameter name="ws.pipeline.handler.class">{{apim.wss.handler.class}}</parameter>
<parameter name="dispatch.custom.sequence">{{apim.wss.dispatch.custom.sequence}}</parameter>
<parameter name="ws.outflow.dispatch.fault.sequence">{{apim.wss.outflow.dispatch.fault.sequence}}</parameter>
<parameter name="ws.client.side.broadcast.level">{{apim.wss.client.side.broadcast.level}}</parameter>
<parameter name="ws.use.port.offset">true</parameter>
<parameter name="wss.ssl.key.store.file">{{apim.wss.keystore.location}}</parameter>
<parameter name="wss.ssl.key.store.pass">{{apim.wss.keystore.password}}</parameter>
<parameter name="wss.ssl.cert.pass">{{apim.wss.keystore.key_password}}</parameter>
<parameter name="wss.ssl.protocols">{{apim.wss.ssl_enabled_protocols}}</parameter>
{% if apim.wss.ciphers is defined %}
<parameter name="wss.ssl.cipher.suites">{{apim.wss.ciphers}}</parameter>
{% endif %}
</parameters>
</inboundEndpoint>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<inboundEndpoint xmlns="http://ws.apache.org/ns/synapse"
name="WebSocketInboundEndpoint"
sequence="{{apim.ws.dispatch.sequence}}"
onError="{{apim.ws.dispatch.on_error.sequence}}"
protocol="ws"
suspend="false">
<parameters>
<parameter name="inbound.ws.port">{{apim.ws.port}}</parameter>
<parameter name="ws.outflow.dispatch.sequence">{{apim.ws.out_dispatch_seq}}</parameter>
<parameter name="ws.pipeline.handler.class">{{apim.ws.handler.class}}</parameter>
<parameter name="dispatch.custom.sequence">{{apim.ws.dispatch.custom.sequence}}</parameter>
<parameter name="ws.outflow.dispatch.fault.sequence">{{apim.ws.outflow.dispatch.fault.sequence}}</parameter>
<parameter name="ws.client.side.broadcast.level">{{apim.ws.client.side.broadcast.level}}</parameter>
<parameter name="ws.use.port.offset">true</parameter>
</parameters>
</inboundEndpoint>

0 comments on commit fa3b0b8

Please sign in to comment.