forked from community/device-mgt-plugins
parent
f01f56b13c
commit
8f588b25d0
4
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/WSO2IoT-DeviceInfo-Receiver_1.0.0.xml → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/IoT-DeviceInfo-Receiver_1.0.0.xml
4
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/WSO2IoT-DeviceInfo-Receiver_1.0.0.xml → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/IoT-DeviceInfo-Receiver_1.0.0.xml
4
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/WSO2IoT-OperationResponse-Receiver_1.0.0.xml → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/IoT-OperationResponse-Receiver_1.0.0.xml
4
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/WSO2IoT-OperationResponse-Receiver_1.0.0.xml → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventreceivers/IoT-OperationResponse-Receiver_1.0.0.xml
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.DeviceInfoStream_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.DeviceInfoStream_1.0.0.json
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.DeviceInfoStream_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.DeviceInfoStream_1.0.0.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "org.wso2.iot.DeviceInfoStream",
|
"name": "io.entgra.iot.DeviceInfoStream",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"nickName": "",
|
"nickName": "",
|
||||||
"description": "IoT Server Device Info Stream",
|
"description": "IoT Server Device Info Stream",
|
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.OperationResponseStream_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.OperationResponseStream_1.0.0.json
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.OperationResponseStream_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.OperationResponseStream_1.0.0.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "org.wso2.iot.OperationResponseStream",
|
"name": "io.entgra.iot.OperationResponseStream",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"nickName": "",
|
"nickName": "",
|
||||||
"description": "IoT Server Operation Response Stream",
|
"description": "IoT Server Operation Response Stream",
|
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.operation_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.operation_1.0.0.json
2
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/org.wso2.iot.operation_1.0.0.json → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/eventstreams/io.entgra.iot.operation_1.0.0.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "org.wso2.iot.operation",
|
"name": "io.entgra.iot.operation",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"nickName": "Operation Stream",
|
"nickName": "Operation Stream",
|
||||||
"description": "Operation stream for Entgra IoT Devices",
|
"description": "Operation stream for Entgra IoT Devices",
|
6
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/executionplans/WSO2IoT-Operation-ExecutionPlan.siddhiql → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/executionplans/IoT-Operation-ExecutionPlan.siddhiql
6
features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/executionplans/WSO2IoT-Operation-ExecutionPlan.siddhiql → features/analytics-feature/io.entgra.device.mgt.plugins.analytics.feature/src/main/resources/deployment/server/executionplans/IoT-Operation-ExecutionPlan.siddhiql
@ -1,14 +1,14 @@
|
|||||||
/* Enter a unique ExecutionPlan */
|
/* Enter a unique ExecutionPlan */
|
||||||
@Plan:name('WSO2IoT-Operation-ExecutionPlan')
|
@Plan:name('IoT-Operation-ExecutionPlan')
|
||||||
|
|
||||||
/* Enter a unique description for ExecutionPlan */
|
/* Enter a unique description for ExecutionPlan */
|
||||||
@Plan:description('Publish operations to devices coming from org.wso2.iot.operation stream')
|
@Plan:description('Publish operations to devices coming from io.entgra.iot.operation stream')
|
||||||
|
|
||||||
/* define streams/tables and write queries here ... */
|
/* define streams/tables and write queries here ... */
|
||||||
|
|
||||||
@Plan:trace('false')
|
@Plan:trace('false')
|
||||||
|
|
||||||
@Import('org.wso2.iot.operation:1.0.0')
|
@Import('io.entgra.iot.operation:1.0.0')
|
||||||
define stream dataIn (meta_deviceIdentifiers string, meta_deviceType string, code string, type string, isEnabled bool, payLoad string);
|
define stream dataIn (meta_deviceIdentifiers string, meta_deviceType string, code string, type string, isEnabled bool, payLoad string);
|
||||||
|
|
||||||
from dataIn#device:addOperation(meta_deviceIdentifiers, meta_deviceType, code, type, isEnabled, payLoad)
|
from dataIn#device:addOperation(meta_deviceIdentifiers, meta_deviceType, code, type, isEnabled, payLoad)
|
@ -1,16 +1,16 @@
|
|||||||
instructions.configure = \
|
instructions.configure = \
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/carbonapps/);\
|
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/carbonapps/);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventreceivers/WSO2IoT-DeviceInfo-Receiver_1.0.0.xml,target:${installFolder}/../../deployment/server/eventreceivers/WSO2IoT-DeviceInfo-Receiver_1.0.0.xml,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventreceivers/IoT-DeviceInfo-Receiver_1.0.0.xml,target:${installFolder}/../../deployment/server/eventreceivers/IoT-DeviceInfo-Receiver_1.0.0.xml,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventreceivers/WSO2IoT-OperationResponse-Receiver_1.0.0.xml,target:${installFolder}/../../deployment/server/eventreceivers/WSO2IoT-OperationResponse-Receiver_1.0.0.xml,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventreceivers/IoT-OperationResponse-Receiver_1.0.0.xml,target:${installFolder}/../../deployment/server/eventreceivers/IoT-OperationResponse-Receiver_1.0.0.xml,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/org.wso2.iot.DeviceInfoStream_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.DeviceInfoStream_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/io.entgra.iot.DeviceInfoStream_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.DeviceInfoStream_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/org.wso2.iot.operation_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.operation_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/io.entgra.iot.operation_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.operation_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/org.wso2.iot.OperationResponseStream_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.OperationResponseStream_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/eventstreams/io.entgra.iot.OperationResponseStream_1.0.0.json,target:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.OperationResponseStream_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/executionplans/WSO2IoT-Operation-ExecutionPlan.siddhiql,target:${installFolder}/../../deployment/server/executionplans/WSO2IoT-Operation-ExecutionPlan.siddhiql,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.device.mgt.plugins.analytics_${feature.version}/deployment/server/executionplans/IoT-Operation-ExecutionPlan.siddhiql,target:${installFolder}/../../deployment/server/executionplans/IoT-Operation-ExecutionPlan.siddhiql,overwrite:true);\
|
||||||
|
|
||||||
instructions.uninstall = \
|
instructions.uninstall = \
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventreceivers/WSO2IoT-DeviceInfo-Receiver_1.0.0.xml,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventreceivers/IoT-DeviceInfo-Receiver_1.0.0.xml,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventreceivers/WSO2IoT-OperationResponse-Receiver_1.0.0.xml,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventreceivers/IoT-OperationResponse-Receiver_1.0.0.xml,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.DeviceInfoStream_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.DeviceInfoStream_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.operation_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.operation_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/org.wso2.iot.OperationResponseStream_1.0.0.json,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/eventstreams/io.entgra.iot.OperationResponseStream_1.0.0.json,overwrite:true);\
|
||||||
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/executionplans/WSO2IoT-Operation-ExecutionPlan.siddhiql,overwrite:true);\
|
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/executionplans/IoT-Operation-ExecutionPlan.siddhiql,overwrite:true);\
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
echo.
|
echo.
|
||||||
echo.WSO2 IOT Sample
|
echo.Entgra IOT Sample
|
||||||
echo.Virtual Fire Alarm
|
echo.Virtual Fire Alarm
|
||||||
echo.initializing agent
|
echo.initializing agent
|
||||||
echo.
|
echo.
|
||||||
java -jar wso2-firealarm-virtual-agent.jar
|
java -jar firealarm-virtual-agent.jar
|
Loading…
Reference in new issue