From 75ddcd26bc25ff775fb92581c95c4dc99538105d Mon Sep 17 00:00:00 2001 From: charitha Date: Fri, 10 Aug 2018 15:22:01 +0530 Subject: [PATCH] Add siddhi extensions for operation and notification publishing --- src/main/resources/build.properties | 1 + .../resources/conf/siddhi-integration.xml | 26 +++++++++++++++++++ src/main/resources/p2.inf | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 src/main/resources/build.properties create mode 100644 src/main/resources/conf/siddhi-integration.xml create mode 100644 src/main/resources/p2.inf diff --git a/src/main/resources/build.properties b/src/main/resources/build.properties new file mode 100644 index 000000000..9c86577d7 --- /dev/null +++ b/src/main/resources/build.properties @@ -0,0 +1 @@ +custom = true diff --git a/src/main/resources/conf/siddhi-integration.xml b/src/main/resources/conf/siddhi-integration.xml new file mode 100644 index 000000000..8b762e3e4 --- /dev/null +++ b/src/main/resources/conf/siddhi-integration.xml @@ -0,0 +1,26 @@ + + + + https://${iot.gateway.host}:${iot.gateway.https.port}/api-application-registration/register + https://${iot.gateway.host}:${iot.gateway.https.port} + admin + admin + \ No newline at end of file diff --git a/src/main/resources/p2.inf b/src/main/resources/p2.inf new file mode 100644 index 000000000..d55300665 --- /dev/null +++ b/src/main/resources/p2.inf @@ -0,0 +1,2 @@ +instructions.configure = \ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.extension.siddhi.device_${feature.version}/conf/siddhi-integration.xml,target:${installFolder}/../../conf/siddhi-integration.xml,overwrite:true);\