fixes for synapse configs

merge-requests/1/head
madhawap 8 years ago
parent 190f97cd20
commit 68c46d10b3

@ -1,8 +1,8 @@
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2APIRegistrationApplication_" context="/api-application-registration">
<resource methods="POST" url-mapping="/register/tenants" faultSequence="_api_registration_fault_">
<inSequence>
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/>
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
<send>
<endpoint>
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
@ -20,8 +20,8 @@
</resource>
<resource methods="POST" url-mapping="/register" faultSequence="_api_registration_fault_">
<inSequence>
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/>
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
<send>
<endpoint>
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
@ -39,8 +39,8 @@
</resource>
<resource methods="DELETE" url-mapping="/unregister" faultSequence="_api_registration_fault_">
<inSequence>
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/>
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
<send>
<endpoint>
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">

Loading…
Cancel
Save