adding system iot core,host and port

revert-dabc3590
Hasunie 8 years ago
parent 10cab941ee
commit 968e1a8a07

@ -3,12 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows 10 Device management_APIproductionEndpoint_0"> <endpoint name="admin--Windows 10 Device management_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/management/devicemgt"/> <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/management/devicemgt"/>
<property name="ENDPOINT_ADDRESS" value="https://localhost:9443/api/device-mgt/windows/v1.0/management/devicemgt"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

@ -3,11 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows 10 Enrollment Service_APIproductionEndpoint_0"> <endpoint name="admin--Windows 10 Enrollment Service_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/deviceenrolment/enrollment"/> <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/deviceenrolment/enrollment"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

@ -3,11 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows 8.1 Device Management Service_APIproductionEndpoint_0"> <endpoint name="admin--Windows 8.1 Device Management Service_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/syncml/devicemanagement"/> <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/syncml/devicemanagement"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

@ -3,12 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows 8.1 Enrollment Service_APIproductionEndpoint_0"> <endpoint name="admin--Windows 8.1 Enrollment Service_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/deviceenrolment/wstep"/> <http uri-template="https:/{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/deviceenrolment/wstep"/>
<property name="ENDPOINT_ADDRESS" value="https://localhost:9443/api/device-mgt/windows/v1.0/deviceenrolment/wstep"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

@ -3,11 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows Discovery Service_APIproductionEndpoint_0"> <endpoint name="admin--Windows Discovery Service_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/discovery/post"/> <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/discovery/post"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

@ -3,11 +3,13 @@
<inSequence> <inSequence>
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
<property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/> <property name="AM_KEY_TYPE" value="PRODUCTION" scope="default"/>
<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')"/>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then> <then>
<send> <send>
<endpoint name="admin--Windows Enrollment policy Service_APIproductionEndpoint_0"> <endpoint name="admin--Windows Enrollment policy Service_APIproductionEndpoint_0">
<http uri-template="https://localhost:9443/api/device-mgt/windows/v1.0/certificatepolicy/xcep"/> <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/api/device-mgt/windows/v1.0/certificatepolicy/xcep"/>
</endpoint> </endpoint>
</send> </send>
</then> </then>

Loading…
Cancel
Save