forked from community/device-mgt-plugins
parent
c3fb32f3bc
commit
7db99295f5
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<api xmlns="http://ws.apache.org/ns/synapse"
|
||||
name="admin--Android-Mutual-SSL-Configuration-Management"
|
||||
context="/api/device-mgt/android/mssl/v1.0/configuration">
|
||||
<resource methods="GET" url-mapping="/license" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Configuration Management_APIproductionEndpoint_0">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/configuration"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/configuration"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="PUT GET" url-mapping="/*" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Configuration Management_APIproductionEndpoint_1">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/configuration"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/configuration"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<handlers>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.common.APIMgtLatencyStatsHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.security.CORSRequestHandler">
|
||||
<property name="apiImplementationType" value="ENDPOINT"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.handlers.AuthenticationHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtUsageHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtGoogleAnalyticsTrackingHandler">
|
||||
<property name="configKey" value="gov:/apimgt/statistics/ga-config.xml"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerExtensionHandler"/>
|
||||
</handlers>
|
||||
</api>
|
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<api xmlns="http://ws.apache.org/ns/synapse" name="admin--Android-Mutual-SSL-Device-Management"
|
||||
context="/api/device-mgt/android/mssl/v1.0/devices">
|
||||
<resource methods="GET" uri-template="/{id}/status" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Device Management_APIproductionEndpoint_0">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="DELETE PUT" uri-template="/{id}" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Device Management_APIproductionEndpoint_1">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="PUT" uri-template="/{id}/applications" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Device Management_APIproductionEndpoint_2">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="POST" url-mapping="/*" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Device Management_APIproductionEndpoint_3">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="PUT" uri-template="/{id}/pending-operations" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Device Management_APIproductionEndpoint_4">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/devices"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<handlers>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.common.APIMgtLatencyStatsHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.security.CORSRequestHandler">
|
||||
<property name="apiImplementationType" value="ENDPOINT"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.handlers.AuthenticationHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtUsageHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtGoogleAnalyticsTrackingHandler">
|
||||
<property name="configKey" value="gov:/apimgt/statistics/ga-config.xml"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerExtensionHandler"/>
|
||||
</handlers>
|
||||
</api>
|
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<api xmlns="http://ws.apache.org/ns/synapse" name="admin--Android-Mutual-SSL-Event-Receiver"
|
||||
context="/api/device-mgt/android/mssl/v1.0/events">
|
||||
<resource methods="GET" url-mapping="/*" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Mutual SSL Event Receiver_APIproductionEndpoint_0">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/events"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/events"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<resource methods="POST" url-mapping="/publish" faultSequence="fault">
|
||||
<inSequence>
|
||||
<property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/>
|
||||
<send>
|
||||
<endpoint name="admin--Android Event Receiver_APIproductionEndpoint_1">
|
||||
<http uri-template="https://localhost:9443/api/device-mgt/android/v1.0/events"/>
|
||||
<property name="ENDPOINT_ADDRESS"
|
||||
value="https://localhost:9443/api/device-mgt/android/v1.0/events"/>
|
||||
</endpoint>
|
||||
</send>
|
||||
</inSequence>
|
||||
<outSequence>
|
||||
<class name="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtResponseHandler"/>
|
||||
<send/>
|
||||
</outSequence>
|
||||
</resource>
|
||||
<handlers>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.common.APIMgtLatencyStatsHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.security.CORSRequestHandler">
|
||||
<property name="apiImplementationType" value="ENDPOINT"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.handlers.AuthenticationHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtUsageHandler"/>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.analytics.APIMgtGoogleAnalyticsTrackingHandler">
|
||||
<property name="configKey" value="gov:/apimgt/statistics/ga-config.xml"/>
|
||||
</handler>
|
||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerExtensionHandler"/>
|
||||
</handlers>
|
||||
</api>
|
Loading…
Reference in new issue