forked from wso2/product-apim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove unnecessary j2 templates"
This reverts commit 7c5cd59.
- Loading branch information
1 parent
aec33da
commit fa3b0b8
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
.../templates/repository/resources/apim-synapse-config/SecureWebSocketInboundEndpoint.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
17 changes: 17 additions & 0 deletions
17
...s/conf/templates/repository/resources/apim-synapse-config/WebSocketInboundEndpoint.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |