diff --git a/README.md b/README.md
index 9f72f26..d958dfe 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-[![pipeline status](https://gitlab.com/entgra/community-product/badges/master/pipeline.svg)](https://gitlab.com/entgra/community-product/commits/master)
+[![pipeline status](https://builder.entgra.net/buildStatus/icon?job=community-product)](https://repository.entgra.net/community/community-product/commits/master)
Entgra IoT Server is a complete solution that enables device manufacturers and enterprises to connect and manage their devices, build apps, manage events, secure devices and data, and visualize sensor data in a scalable manner.
diff --git a/distribution/emm-community/pom.xml b/distribution/emm-community/pom.xml
index 03f6a14..5ed74af 100644
--- a/distribution/emm-community/pom.xml
+++ b/distribution/emm-community/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
distribution
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
../pom.xml
diff --git a/distribution/iot-community/pom.xml b/distribution/iot-community/pom.xml
index 1194d4c..b1cefec 100644
--- a/distribution/iot-community/pom.xml
+++ b/distribution/iot-community/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
distribution
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
../pom.xml
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 5b4c85a..4782dd8 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
product-parent
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
4.0.0
diff --git a/iot-core/pom.xml b/iot-core/pom.xml
index 05a5124..65d0662 100644
--- a/iot-core/pom.xml
+++ b/iot-core/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
product-parent
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
4.0.0
@@ -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,29 @@
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}
+
+
+
+
+
+ org.wso2.carbon.devicemgt:io.entgra.tenant.mgt.server.feature:${carbon.device.mgt.version}
+
+
@@ -482,6 +522,30 @@
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}
+
+
+
+
+ io.entgra.tenant.mgt.server.feature.group
+ ${carbon.device.mgt.version}
+
diff --git a/iot-core/src/assembly/bin.xml b/iot-core/src/assembly/bin.xml
index 387dc92..9d767d8 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/
@@ -100,6 +104,10 @@
${entgra-iot-core}/repository/resources/security/
+
+
+ ${entgra-iot-core}/samples/
+
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
diff --git a/iot-core/src/core/samples/device-plugins-deployer.xml b/iot-core/src/core/samples/device-plugins-deployer.xml
new file mode 100644
index 0000000..ebabdc4
--- /dev/null
+++ b/iot-core/src/core/samples/device-plugins-deployer.xml
@@ -0,0 +1,196 @@
+
+
+
+
+ org.wso2
+ wso2
+ 1
+
+
+ 4.0.0
+ io.entgra.product.community
+ iot-devicetype-feature-installation
+ 5.2.1-SNAPSHOT
+ pom
+ Install Virtual Fire Alarm Device Types - IoT Core
+
+
+
+
+ org.wso2.maven
+ carbon-p2-plugin
+ 5.1.2
+
+
+ 2-p2-repo-generation
+ package
+
+ p2-repo-gen
+
+
+ file:${basedir}/target/p2-repo
+ file:${basedir}/target/p2-repo
+ true
+ true
+
+
+ org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.virtualfirealarm.backend.feature:${carbon.device.mgt.plugin.version}
+
+
+
+
+
+ default-feature-install
+ package
+
+ p2-profile-gen
+
+
+ default
+ file:${basedir}/target/p2-repo
+ file:${basedir}/target/p2-repo
+ ${basedir}/../repository/components
+ false
+
+
+ org.wso2.carbon.device.mgt.iot.virtualfirealarm.backend.feature.group
+ ${carbon.device.mgt.plugin.version}
+
+
+
+
+
+
+
+
+
+
+
+ wso2.releases
+ WSO2 internal Repository
+ http://maven.wso2.org/nexus/content/repositories/releases/
+
+ true
+ daily
+ ignore
+
+
+
+ wso2.snapshots
+ Apache Snapshot Repository
+ http://maven.wso2.org/nexus/content/repositories/snapshots/
+
+ true
+ daily
+
+
+ false
+
+
+
+ wso2-nexus
+ WSO2 internal Repository
+ http://maven.wso2.org/nexus/content/groups/wso2-public/
+
+ true
+ daily
+ ignore
+
+
+
+
+
+
+
+
+ wso2-nexus
+ WSO2 internal Repository
+ http://maven.wso2.org/nexus/content/groups/wso2-public/
+
+ true
+ daily
+ ignore
+
+
+
+ wso2.releases
+ WSO2 internal Repository
+ http://maven.wso2.org/nexus/content/repositories/releases/
+
+ true
+ daily
+ ignore
+
+
+
+ wso2.snapshots
+ WSO2 Snapshot Repository
+ http://maven.wso2.org/nexus/content/repositories/snapshots/
+
+ true
+ daily
+
+
+ false
+
+
+
+ entgra-nexus
+ Entgra internal Repository
+ http://nexus.entgra.io/repository/maven-public/
+
+ true
+ daily
+ ignore
+
+
+
+ entgra.releases
+ Entgra internal Repository
+ http://nexus.entgra.io/repository/maven-releases/
+
+ true
+ daily
+ ignore
+
+
+
+ entgra.snapshots
+ Entgra Snapshot Repository
+ http://nexus.entgra.io/repository/maven-snapshots/
+
+ true
+ daily
+
+
+ false
+
+
+
+
+
+
+ 6.0.16-SNAPSHOT
+
+
diff --git a/p2-profile/emm/pom.xml b/p2-profile/emm/pom.xml
index cbcd4ab..dfb63a2 100644
--- a/p2-profile/emm/pom.xml
+++ b/p2-profile/emm/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
p2-profile
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
../pom.xml
diff --git a/p2-profile/iot/pom.xml b/p2-profile/iot/pom.xml
index 214de54..1812d82 100644
--- a/p2-profile/iot/pom.xml
+++ b/p2-profile/iot/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
p2-profile
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
../pom.xml
@@ -125,6 +125,15 @@
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version}
+
+ org.wso2.carbon.devicemgt-plugins:org.wso2.extension.siddhi.device.feature:${carbon.device.mgt.plugin.version}
+
+
+ org.wso2.carbon.devicemgt-plugins:org.wso2.extension.siddhi.execution.json.feature:${carbon.device.mgt.plugin.version}
+
+
+ org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.analytics.feature:${carbon.device.mgt.plugin.version}
+
@@ -149,6 +158,18 @@
org.wso2.carbon.device.mgt.notification.listener.feature.group
${carbon.device.mgt.plugin.version}
+
+ org.wso2.extension.siddhi.device.feature.group
+ ${carbon.device.mgt.plugin.version}
+
+
+ org.wso2.extension.siddhi.execution.json.feature.group
+ ${carbon.device.mgt.plugin.version}
+
+
+ org.wso2.carbon.device.mgt.iot.analytics.feature.group
+ ${carbon.device.mgt.plugin.version}
+
diff --git a/p2-profile/pom.xml b/p2-profile/pom.xml
index 2322237..02ff0c9 100644
--- a/p2-profile/pom.xml
+++ b/p2-profile/pom.xml
@@ -22,7 +22,7 @@
io.entgra.product.community
product-parent
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
4.0.0
diff --git a/pom.xml b/pom.xml
index 46b6e56..4edd93d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
io.entgra.product.community
product-parent
pom
- 5.1.3-SNAPSHOT
+ 5.2.1-SNAPSHOT
Entgra Community Product - Parent
http://entgra.io
Entgra Community Product
@@ -364,14 +364,14 @@
entgra-emm-community-${project.version}
- 5.0.21-SNAPSHOT
+ 5.0.25-SNAPSHOT
5.1.2
1.4.199.wso2v1
- 6.0.13-SNAPSHOT
+ 6.0.16-SNAPSHOT
2.8.5