diff --git a/iot-core/pom.xml b/iot-core/pom.xml
index 05a5124..c84a68b 100644
--- a/iot-core/pom.xml
+++ b/iot-core/pom.xml
@@ -84,7 +84,7 @@
maven-antrun-plugin
- update-dbscripts
+ update-dbscripts-1
process-resources
run
@@ -93,17 +93,34 @@
-
-
+
+ update-dbscripts-2
+ process-resources
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+
alter-shared-h2-db
@@ -323,6 +340,23 @@
org.wso2.carbon.devicemgt:io.entgra.device.mgt.extensions.stateengine.feature:${carbon.device.mgt.version}
+
+
+ org.wso2.carbon.devicemgt:io.entgra.task.mgt.feature:${carbon.device.mgt.version}
+
+
+
+
+
+ org.wso2.carbon.devicemgt:io.entgra.notification.logger.feature:${carbon.device.mgt.version}
+
+
+
+
+
+ org.wso2.carbon.devicemgt:io.entgra.device.mgt.core.apimgt.analytics.extension.feature:${carbon.device.mgt.version}
+
+
@@ -482,6 +516,24 @@
io.entgra.device.mgt.extensions.stateengine.feature.group
${carbon.device.mgt.version}
+
+
+
+ io.entgra.task.mgt.feature.group
+ ${carbon.device.mgt.version}
+
+
+
+
+ io.entgra.notification.logger.feature.group
+ ${carbon.device.mgt.version}
+
+
+
+
+ io.entgra.device.mgt.core.apimgt.analytics.extension.feature.group
+ ${carbon.device.mgt.version}
+
diff --git a/iot-core/src/assembly/bin.xml b/iot-core/src/assembly/bin.xml
index 387dc92..20ee19b 100644
--- a/iot-core/src/assembly/bin.xml
+++ b/iot-core/src/assembly/bin.xml
@@ -92,6 +92,10 @@
${entgra-iot-core}/repository/conf/
+
+
+ ${entgra-iot-core}/repository/resources/conf/templates/repository/conf
+
${entgra-iot-core}/repository/resources/security/
diff --git a/iot-core/src/core/conf/deployment.toml b/iot-core/src/core/conf/deployment.toml
index 40bd1e2..964acbf 100644
--- a/iot-core/src/core/conf/deployment.toml
+++ b/iot-core/src/core/conf/deployment.toml
@@ -104,6 +104,9 @@ enable = false
config_endpoint = "https://localhost:8080/auth/v1"
auth_token = ""
+[web_app.listener]
+class_name = ["org.wso2.carbon.apimgt.webapp.publisher.lifecycle.listener.APIPublisherLifecycleListener", "org.wso2.carbon.device.mgt.core.config.permission.lifecycle.WebAppDeploymentLifecycleListener"]
+
[apim.key_manager]
#service_url = "https://localhost:${mgt.transport.https.port}/services/"
#username = "$ref{super_admin.username}"
@@ -277,3 +280,6 @@ grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTo
[oauth.token_renewal]
renew_refresh_token=false
+
+[device_mgt_conf.pull_notification_conf]
+enabled=false
\ No newline at end of file
diff --git a/iot-core/src/core/conf/output-event-adapters.xml.j2 b/iot-core/src/core/conf/output-event-adapters.xml.j2
new file mode 100644
index 0000000..883a6d6
--- /dev/null
+++ b/iot-core/src/core/conf/output-event-adapters.xml.j2
@@ -0,0 +1,170 @@
+
+
+
+
+
+ tcp://localhost:7612
+ ssl://localhost:7712
+ tcp://localhost:9612
+ ssl://localhost:9712
+
+
+
+ VARCHAR(255)
+ DOUBLE
+ INT
+ BIGINT
+ FLOAT
+ BOOL
+ CREATE TABLE $TABLE_NAME ($COLUMN_TYPES)
+ INSERT INTO $TABLE_NAME ($COLUMNS) VALUES ($VALUES)
+ SELECT * FROM $TABLE_NAME limit 1
+ UPDATE $TABLE_NAME SET $COLUMN_VALUES WHERE $CONDITION
+ ,
+ ?
+ =
+ AND
+ SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME'
+ SELECT $COLUMNS FROM $TABLE_NAME
+ varchar2(255)
+ CLOB
+ BINARY_DOUBLE
+ SELECT * FROM $TABLE_NAME WHERE ROWNUM = 1
+ SELECT COLUMN_NAME, DATA_TYPE FROM USER_TAB_COLS WHERE TABLE_NAME = '$TABLE_NAME'
+ varchar2(255)
+ SELECT TOP 1 * FROM $TABLE_NAME
+ SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME'
+ varchar2(255)
+ REAL
+ SHOW COLUMNS FROM $TABLE_NAME
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+
+ 50
+ 1000
+
+
+
+
+ {{output_adapter.jms.min_thread}}
+ {{output_adapter.jms.max_thread}}
+ {{output_adapter.jms.keep_alive_time}}
+ {{output_adapter.jms.job_queue_size}}
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+ 60
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+
+
+
+
+ {{output_adapter.email.from_address}}
+ {{output_adapter.email.username}}
+ {{output_adapter.email.password}}
+ {{output_adapter.email.hostname}}
+ {{output_adapter.email.port}}
+ {{output_adapter.email.enable_start_tls}}
+ {{output_adapter.email.enable_authentication}}
+ {{output_adapter.email.signature}}
+ {{output_adapter.email.reply_to}}
+ {% if output_adapter.email.custom_properties is defined %}
+
+ {% for property_name,property_value in output_adapter.email.custom_properties.items() %}
+ {{property_value}}
+ {% endfor %}
+ {% endif %}
+
+ 8
+ 100
+ 20000
+ 10000
+
+
+
+ 30
+
+ 8
+ 100
+ 20000
+ 10000
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+
+ 10000
+ true
+ true
+ 50
+
+
+
+
+ 8
+ 100
+ 20000
+ 10000
+ 60
+ https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.17/register
+ https://${iot.gateway.host}:${iot.gateway.https.port}/token
+ tcp://${mqtt.broker.host}:${mqtt.broker.port}
+ admin
+ admin
+ 2
+ true
+
+
+
\ No newline at end of file