mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
fixing localhost,port binding in synapse file
This commit is contained in:
parent
819f3c9a23
commit
6d5bb848d7
@ -1,8 +1,8 @@
|
|||||||
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2APIRegistrationApplication_" context="/api-application-registration">
|
<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_">
|
<resource methods="POST" url-mapping="/register/tenants" faultSequence="_api_registration_fault_">
|
||||||
<inSequence>
|
<inSequence>
|
||||||
<property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
|
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
|
||||||
<property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
|
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
|
||||||
<send>
|
<send>
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
||||||
@ -20,8 +20,8 @@
|
|||||||
</resource>
|
</resource>
|
||||||
<resource methods="POST" url-mapping="/register" faultSequence="_api_registration_fault_">
|
<resource methods="POST" url-mapping="/register" faultSequence="_api_registration_fault_">
|
||||||
<inSequence>
|
<inSequence>
|
||||||
<property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
|
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
|
||||||
<property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
|
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
|
||||||
<send>
|
<send>
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
||||||
@ -39,8 +39,8 @@
|
|||||||
</resource>
|
</resource>
|
||||||
<resource methods="DELETE" url-mapping="/unregister" faultSequence="_api_registration_fault_">
|
<resource methods="DELETE" url-mapping="/unregister" faultSequence="_api_registration_fault_">
|
||||||
<inSequence>
|
<inSequence>
|
||||||
<property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
|
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
|
||||||
<property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
|
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
|
||||||
<send>
|
<send>
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api-application-registration">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user