diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 3fda1155..7dd17cbe 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -25,7 +25,7 @@ org.wso2.iot wso2iot-parent 1.0.0-SNAPSHOT - ../../../pom.xml + ../../pom.xml 4.0.0 diff --git a/modules/distribution/src/statistics/carbonapps/pom.xml b/modules/distribution/src/statistics/carbonapps/pom.xml index e96109b6..56205789 100644 --- a/modules/distribution/src/statistics/carbonapps/pom.xml +++ b/modules/distribution/src/statistics/carbonapps/pom.xml @@ -22,7 +22,7 @@ org.wso2.iot wso2iot-parent 1.0.0-SNAPSHOT - ../../pom.xml + ../../../../../pom.xml 4.0.0 diff --git a/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/src/main/webapp/META-INF/resources.xml b/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/src/main/webapp/META-INF/resources.xml new file mode 100644 index 00000000..9d04165c --- /dev/null +++ b/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/src/main/webapp/META-INF/resources.xml @@ -0,0 +1,105 @@ + + + + + + + + Any + PUT + http://localhost:9763/virtual_firealarm/manager/device/register + /manager/device/register/* + + + Any + DELETE + http://localhost:9763/virtual_firealarm/manager/device/remove + /manager/device/remove/* + + + Any + POST + http://localhost:9763/virtual_firealarm/manager/device/update + /manager/device/update/* + + + Any + GET + http://localhost:9763/virtual_firealarm/manager/device/{device_id} + /manager/device/{device_id} + + + Any + GET + http://localhost:9763/virtual_firealarm/manager/devices/{username} + /manager/devices/{username} + + + Any + GET + http://localhost:9763/virtual_firealarm/manager/device/{sketch_type}/download + /manager/device/{sketch_type}/download + + + Any + GET + http://localhost:9763/virtual_firealarm/manager/device/{sketch_type}/generate_link + /manager/device/{sketch_type}/generate_link + + + + Any + POST + http://localhost:9763/virtual_firealarm/controller/register/{owner}/{deviceId}/{ip}/{port} + /controller/register/{owner}/{deviceId}/{ip}/{port} + + + Any + POST + http://localhost:9763/virtual_firealarm/controller/controller/bulb/{state} + /controller/bulb/{state} + + + Any + GET + http://localhost:9763/virtual_firealarm/controller/controller/readsonar + /controller/readsonar + + + Any + GET + http://localhost:9763/virtual_firealarm/controller/controller/readtemperature + /controller/readtemperature + + + Any + POST + http://localhost:9763/virtual_firealarm/controller/controller/push_temperature + /controller/push_temperature + + \ No newline at end of file