Merge branch 'master' into 'master'

Add the Synapse API configuration to get the system time for App usage time configuration policy

See merge request entgra/product-iots!53
357-notification-for-kiosk-mode
Charitha Goonetilleke 5 years ago
commit c6556b4c12

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io)
~
~ All Rights Reserved.
~
~ Unauthorized copying of this file, via any medium is strictly prohibited.
~ Proprietary and confidential.
-->
<api context="/sync" name="sync-api" xmlns="http://ws.apache.org/ns/synapse">
<resource faultSequence="fault" methods="GET" url-mapping="/time">
<inSequence>
<payloadFactory>
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<text xmlns="http://ws.apache.org/commons/ns/payload">$1</text>
</soapenv:Body>
</soapenv:Envelope>
</format>
<args>
<arg expression="get-property('SYSTEM_TIME')"/>
</args>
</payloadFactory>
<property name="messageType" value="text/plain" scope="axis2"/>
<respond/>
</inSequence>
<outSequence>
</outSequence>
</resource>
</api>
Loading…
Cancel
Save