diff --git a/modules/distribution/src/analytics/conf/log4j.properties b/modules/distribution/src/analytics/conf/log4j.properties index a7ba02bc..8424bc6e 100644 --- a/modules/distribution/src/analytics/conf/log4j.properties +++ b/modules/distribution/src/analytics/conf/log4j.properties @@ -86,6 +86,9 @@ log4j.logger.org.spark-project=WARN log4j.logger.akka=WARN log4j.logger.org.apache.spark.util.ClosureCleaner=ERROR +# uncomment the following logs to see http calls headers and messages +#log4j.logger.feign=DEBUG + log4j.additivity.org.apache.axis2.clustering=false log4j.additivity.com.atomikos=false log4j.additivity.org.apache=false diff --git a/modules/distribution/src/assembly/filter.properties b/modules/distribution/src/assembly/filter.properties index aeefa12d..e27e6d46 100644 --- a/modules/distribution/src/assembly/filter.properties +++ b/modules/distribution/src/assembly/filter.properties @@ -21,7 +21,7 @@ product.key=IoT product.version=3.1.0-SNAPSHOT product.doc.version=310 -carbon.version=4.4.14 +carbon.version=4.4.16 default.server.role=IoTServer cep.server.role=ComplexEventProcessor das.server.role=DataAnalyticsServer diff --git a/modules/distribution/src/broker/conf/broker.xml b/modules/distribution/src/broker/conf/broker.xml index 9e525b7b..b7be838a 100755 --- a/modules/distribution/src/broker/conf/broker.xml +++ b/modules/distribution/src/broker/conf/broker.xml @@ -27,560 +27,573 @@ expression of the property. This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/cipher-text.properties for examples.--> - - - default - - localhost - 7611 - 0 - - 5 - - 10 + + + default + + localhost + 7611 + 0 + + 5 + + 10 - - - - 5000 + + + + 5000 - - 3000 + + 3000 - - 4000 - + + 4000 + - - + + - - 1000 + + 1000 - - + + - - - - 0.0.0.0 + + + + 0.0.0.0 - + - - - repository/resources/security/wso2carbon.jks - wso2carbon - SunX509 - - - repository/resources/security/client-truststore.jks - wso2carbon - SunX509 - - + + + repository/resources/security/wso2carbon.jks + wso2carbon + SunX509 + + + repository/resources/security/client-truststore.jks + wso2carbon + SunX509 + + - 10 - false - true + 10 + false + true - - - - 0.0.0.0 + + + + 0.0.0.0 - + - - - repository/resources/security/wso2carbon.jks - wso2carbon - SunX509 - - - repository/resources/security/client-truststore.jks - wso2carbon - SunX509 - - + + + repository/resources/security/wso2carbon.jks + wso2carbon + SunX509 + + + repository/resources/security/client-truststore.jks + wso2carbon + SunX509 + + - - 32768 + + 32768 - - 32768 - + + 32768 - - - REQUIRED - - - - https://localhost:9443/services/OAuth2TokenValidationService - admin - admin - 10 - 150 - - - REQUIRED + + + REQUIRED - - - - - - /permission/device-mgt/user/groups/device_events - - /permission/device-mgt/user/groups/device_operation + + + https://localhost:9443/services/OAuth2TokenValidationService + admin + admin + 10 + 150 + - admin - admin - https://localhost:8243 - - 100 - https://localhost:8243 - - - + + REQUIRED - + + + + + + /permission/device-mgt/user/groups/device_events + + /permission/device-mgt/user/groups/device_operation - + 100 + https://localhost:8243 + + + + + + + - - RDBMS - ===== - If you are running an RDBMS you can use the existing RDBMS implementation of stores - by pointing to the correct data source by updating the property "dataSource". + - + Data source entry should be present in + /repository/conf/datasources/master-datasources.xml. - + --> + - - WSO2MBStoreDB - 08 - 23,27,44 - 21,22 - 40 - + - - WSO2MBStoreDB - 08 - 23,27,44 - 21,22 - 40 - + + WSO2MBStoreDB + 08 + 23,27,44 + 21,22 + 40 + - - - 256 - - 4 - - 2 + + WSO2MBStoreDB + 08 + 23,27,44 + 21,22 + 40 + - - strong + + + 256 + + 4 + + 2 - - false - + + strong - + false + - NOTE: This is NOT used in MB to generate message IDs. --> - org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator + - 10 - + NOTE: This is NOT used in MB to generate message IDs. --> + org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator - - + + 10 + - - 10000000 - + + - - + + 10240 - - - 2000 + + 20 + - - 1000 + + - - 1000 + - - 5 + + 1000 - + + 2000 - - - 1000 + + 1000 - - 4096 + + 5 - - 5 + + 5 - - 5 + + 1000 - - 5 + + 10 - - 65000 + - - - 100 - - 120 - + + + 1000 - + 4096 - 2. SLOWEST_SUB_RATE - Broker deliver to the speed of the slowest - topic subscriber. This can cause fast subscribers - to starve. But eliminate Out of Memory issue. + + 5 - 3. DISCARD_ALLOWED - Broker will try best to deliver. To eliminate Out - of Memory threat broker limits sent but not acked message - count to . - If it is breached, and is also - breached message can either be lost or actually - sent but ack is not honoured. - --> - - DISCARD_NONE - - 60 - - + + 5 - - - 1 + + 5 - - 100 + + 65000 - - 1000 - + + + 100 + + 120 + - + - 3 + 2. SLOWEST_SUB_RATE - Broker deliver to the speed of the slowest + topic subscriber. This can cause fast subscribers + to starve. But eliminate Out of Memory issue. - + + DISCARD_NONE + + 60 + + - For instance in MySQL the maximum table column size for content is less than 65534, which - is the default chunk size of AMQP. By changing this parameter to a lesser value we can - store large content chunks converted to smaller content chunks within the DB with this - parameter. --> - 65500 + + + 1 - - false + + 100 - - 1000 + + 1000 + - + - - - 1 + + 3 - NOTE: Buffer size should be a value of power of two --> - 65536 + - 70 + For instance in MySQL the maximum table column size for content is less than 65534, which + is the default chunk size of AMQP. By changing this parameter to a lesser value we can + store large content chunks converted to smaller content chunks within the DB with this + parameter. --> + 65500 - - 180 + + false - - 1 - + + 1000 - - - - 10 + - - 900 + + + 1 - - 3 - + + 65536 - - - - 100 + + 70 - - 100000 + + 180 - - false - + + 1 + - + + + + 10 + + + 900 + + + 3 + + + + + + + + 100 + + + 100000 + + + false + + + - - - - 800 - 8000 - + --> + + + + 800 + 8000 + - - - 100 - 1000 - - + + 100 + 1000 + + - - - RDBMS - - - - - - 5 + the internal state to previous state. + --> + + + 5 - - 900 - - - - - - 1 - + + 900 - + + - + 1 + - default - Broker node will decide to run HA (master/slave) or fully distributed mode. Decision is taken based - on the node has a clustering mechanism enabled or not. If the node is not configured to join a cluster - it will run in HA mode (refer to axis2.xml for more information). If the node can join a cluster it - will start in fully clustered mode. + - standalone - This is the simplest mode a broker can be started. Node will assume datastore is not shared with - another node. Therefore it will not try to coordinate with other nodes (possibly non-existent) to - provide HA or clustering. - --> - - default - + + + default + diff --git a/modules/distribution/src/broker/conf/log4j.properties b/modules/distribution/src/broker/conf/log4j.properties index f078312c..2b24d892 100644 --- a/modules/distribution/src/broker/conf/log4j.properties +++ b/modules/distribution/src/broker/conf/log4j.properties @@ -144,6 +144,9 @@ log4j.appender.CARBON_MEMORY.layout.TenantPattern=%U%@%D [%T] [%S] log4j.appender.CARBON_MEMORY.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace log4j.appender.CARBON_MEMORY.threshold=DEBUG +# uncomment the following logs to see http calls headers and messages +#log4j.logger.feign=DEBUG + # CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout. log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender # Log file will be overridden by the configuration setting in the DB diff --git a/modules/distribution/src/core/conf/identity/identity-providers/iot_default.xml b/modules/distribution/src/core/conf/identity/identity-providers/iot_default.xml index 9ef53ce1..3fb420bd 100644 --- a/modules/distribution/src/core/conf/identity/identity-providers/iot_default.xml +++ b/modules/distribution/src/core/conf/identity/identity-providers/iot_default.xml @@ -36,9 +36,7 @@ - -MIICNTCCAZ6gAwIBAgIES343gjANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJVUzELMAkGA1UECAwCQ0ExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxDTALBgNVBAoMBFdTTzIxEjAQBgNVBAMMCWxvY2FsaG9zdDAeFw0xMDAyMTkwNzAyMjZaFw0zNTAyMTMwNzAyMjZaMFUxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzENMAsGA1UECgwEV1NPMjESMBAGA1UEAwwJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUp/oV1vWc8/TkQSiAvTousMzOM4asB2iltr2QKozni5aVFu818MpOLZIr8LMnTzWllJvvaA5RAAdpbECb+48FjbBe0hseUdN5HpwvnH/DW8ZccGvk53I6Orq7hLCv1ZHtuOCokghz/ATrhy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j8s58l1zF1tMr480khVX4d3AmLjsUpvV+Jg83JFIk1rJFLEb48EFv0nJ/G7pTQrCypNKozyuyLzx5UvKNFBMmnGvkHVqt6j4MSiOjnRdlo7ofDluA/umSkSf/VmsOIZ+5610pCJpahnPUkb8GYK0HcwNV2NLU/0X4nSjKjGwWYv0tX8XW8RwJKb/r0GDehA8PESi76XOVrpXSjP9WPK8XaK//8B0SH3hm0xpzmSQYgtkNQwP2MqBe/ZEUuKxrn3pP6oxo9RxeSIQ8dTLiBA/mcsBmAlpQPPi0LqqDKpkyHt8Ar2w= \ No newline at end of file diff --git a/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks b/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks index ab222fdd..c477431c 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks and b/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks differ diff --git a/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks b/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks index 79784a5e..11686670 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks and b/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks differ diff --git a/modules/integration/tests-integration/src/test/resources/keystores/stratos/client-truststore.jks b/modules/integration/tests-integration/src/test/resources/keystores/stratos/client-truststore.jks index ab222fdd..c477431c 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/stratos/client-truststore.jks and b/modules/integration/tests-integration/src/test/resources/keystores/stratos/client-truststore.jks differ diff --git a/modules/integration/tests-integration/src/test/resources/keystores/stratos/wso2carbon.jks b/modules/integration/tests-integration/src/test/resources/keystores/stratos/wso2carbon.jks index 79784a5e..11686670 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/stratos/wso2carbon.jks and b/modules/integration/tests-integration/src/test/resources/keystores/stratos/wso2carbon.jks differ diff --git a/modules/p2-profile/analytics-profile/carbon.product b/modules/p2-profile/analytics-profile/carbon.product index 896c2c70..a2006154 100644 --- a/modules/p2-profile/analytics-profile/carbon.product +++ b/modules/p2-profile/analytics-profile/carbon.product @@ -13,7 +13,7 @@ - + diff --git a/modules/p2-profile/broker-profile/carbon.product b/modules/p2-profile/broker-profile/carbon.product index 896c2c70..a2006154 100644 --- a/modules/p2-profile/broker-profile/carbon.product +++ b/modules/p2-profile/broker-profile/carbon.product @@ -13,7 +13,7 @@ - + diff --git a/modules/p2-profile/iot-core-profile/carbon.product b/modules/p2-profile/iot-core-profile/carbon.product index c3ac5fa7..8420ed11 100644 --- a/modules/p2-profile/iot-core-profile/carbon.product +++ b/modules/p2-profile/iot-core-profile/carbon.product @@ -14,7 +14,7 @@ version="4.4.14" useFeatures="true" includeLaunchers="true"> - + diff --git a/modules/p2-profile/iot-core-profile/pom.xml b/modules/p2-profile/iot-core-profile/pom.xml index c46b7ffb..177a7501 100644 --- a/modules/p2-profile/iot-core-profile/pom.xml +++ b/modules/p2-profile/iot-core-profile/pom.xml @@ -182,6 +182,9 @@ org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.androidsense.backend.feature:${carbon.device.mgt.plugin.version} + + org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version} + @@ -1016,6 +1019,10 @@ org.wso2.carbon.device.mgt.iot.androidsense.backend.feature.group ${carbon.device.mgt.plugin.version} + + org.wso2.carbon.device.mgt.notification.listener.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.adapter.feature.group @@ -1136,6 +1143,10 @@ org.wso2.carbon.databridge.datapublisher.feature.group ${carbon.analytics.common.version} + + org.wso2.carbon.event.input.adapter.server.feature.group + ${carbon.analytics.common.version} + @@ -2015,6 +2026,10 @@ org.wso2.carbon.device.mgt.mobile.windows.feature.group ${carbon.device.mgt.plugin.version} + + org.wso2.carbon.device.mgt.notification.listener.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.analytics.dashboard.feature.group ${carbon.device.mgt.version} @@ -2647,6 +2662,10 @@ org.wso2.carbon.device.mgt.mobile.windows.feature.group ${carbon.device.mgt.plugin.version} + + org.wso2.carbon.device.mgt.notification.listener.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.analytics.dashboard.feature.group ${carbon.device.mgt.version} diff --git a/pom.xml b/pom.xml index 643baf36..b9a4a003 100644 --- a/pom.xml +++ b/pom.xml @@ -1440,7 +1440,7 @@ - 4.4.14 + 4.4.16 [4.4.0, 4.5.0) 2.2.0 @@ -1512,7 +1512,7 @@ - 2.0.68 + 2.0.69-SNAPSHOT [2.0.0, 3.0.0) @@ -1520,7 +1520,7 @@ - 3.0.36 + 3.0.37-SNAPSHOT 6.1.80 @@ -1551,8 +1551,8 @@ ${product.iot.version} - 3.1.15 - 3.1.17 + 3.2.19 + 3.2.15 1.51.0.0