diff --git a/issue_template.md b/issue_template.md new file mode 100644 index 00000000..757e13ef --- /dev/null +++ b/issue_template.md @@ -0,0 +1,18 @@ +**Description:** + + +**Suggested Labels:** + + +**Suggested Assignees:** + + +**Affected Product Version:** + +**OS, DB, other environment details and versions:** + +**Steps to reproduce:** + + +**Related Issues:** + \ No newline at end of file diff --git a/modules/distribution/src/core/bin/iot-server.sh b/modules/distribution/src/core/bin/iot-server.sh index a3ef3be0..ac4b12e3 100755 --- a/modules/distribution/src/core/bin/iot-server.sh +++ b/modules/distribution/src/core/bin/iot-server.sh @@ -332,6 +332,7 @@ do -Diot.apimpublisher.https.port="9443" \ -Diot.apimstore.host="localhost" \ -Diot.apimstore.https.port="9443" \ + -Dmqtt.broker.https.port="9446" \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? done diff --git a/modules/distribution/src/core/resources/profiles/backend/iot-server.sh b/modules/distribution/src/core/resources/profiles/backend/iot-server.sh index c182e1fd..530e0e7f 100755 --- a/modules/distribution/src/core/resources/profiles/backend/iot-server.sh +++ b/modules/distribution/src/core/resources/profiles/backend/iot-server.sh @@ -335,6 +335,7 @@ do -Diot.apimpublisher.https.port="9443" \ -Diot.apimstore.host="localhost" \ -Diot.apimstore.https.port="9443" \ + -Dmqtt.broker.https.port="9446" \ $NODE_PARAMS \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? diff --git a/modules/distribution/src/core/resources/profiles/keymanager/iot-server.sh b/modules/distribution/src/core/resources/profiles/keymanager/iot-server.sh index b46482d9..897c9b53 100755 --- a/modules/distribution/src/core/resources/profiles/keymanager/iot-server.sh +++ b/modules/distribution/src/core/resources/profiles/keymanager/iot-server.sh @@ -335,6 +335,7 @@ do -Diot.apimpublisher.https.port="9443" \ -Diot.apimstore.host="localhost" \ -Diot.apimstore.https.port="9443" \ + -Dmqtt.broker.https.port="9446" \ $NODE_PARAMS \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? diff --git a/modules/distribution/src/core/resources/profiles/manager/iot-server.sh b/modules/distribution/src/core/resources/profiles/manager/iot-server.sh index f21aa8d2..0e3483d7 100755 --- a/modules/distribution/src/core/resources/profiles/manager/iot-server.sh +++ b/modules/distribution/src/core/resources/profiles/manager/iot-server.sh @@ -335,6 +335,7 @@ do -Diot.apimpublisher.https.port="9443" \ -Diot.apimstore.host="localhost" \ -Diot.apimstore.https.port="9443" \ + -Dmqtt.broker.https.port="9446" \ $NODE_PARAMS \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? diff --git a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx index bd736ca4..f6f6147a 100644 --- a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx +++ b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx @@ -2166,6 +2166,15 @@ GEL4ZNjZ+jnwSkzwBU5vh/QS", + + + Status of android device that carries the id \u0027d24f870f390352a41000${DeviceID}\u0027 is ACTIVE + + Assertion.response_data + false + 16 + + true @@ -8702,6 +8711,159 @@ GEL4ZNjZ+jnwSkzwBU5vh/QS", + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352a4${DeviceID} + DELETE + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + Android device that carries id \u0027d24f870f390352a4${DeviceID}\u0027 has successfully dis-enrolled + + Assertion.response_data + false + 16 + + + + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352a4${DeviceID}/status + GET + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + Status of android device that carries the id \u0027d24f870f390352a4${DeviceID}\u0027 is REMOVED + + Assertion.response_data + false + 16 + + + + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352sssa4${DeviceID}/status + GET + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + No Android device is found upon the id \u0027d24f870f390352sssa4${DeviceID}\u0027 + + Assertion.response_data + true + 16 + + + + + 404 + + Assertion.response_code + false + 8 + + + false diff --git a/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json b/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json index 2b158a47..86b0b010 100644 --- a/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json +++ b/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json @@ -5,7 +5,7 @@ }, "GET": { "responseCode": "OK", - "responseMessage": "Android device that carries the id \u0027d24f870f390352a41234\u0027 is enrolled" + "responseMessage": "Status of android device that carries the id \u0027d24f870f390352a41234\u0027 is ACTIVE" }, "PUT": { "responseCode": "Accepted", diff --git a/modules/p2-profile/iot-core-profile/pom.xml b/modules/p2-profile/iot-core-profile/pom.xml index 7b85ce59..14884c37 100644 --- a/modules/p2-profile/iot-core-profile/pom.xml +++ b/modules/p2-profile/iot-core-profile/pom.xml @@ -755,6 +755,11 @@ org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.iot.geo.dashboard.feature:${carbon.device.mgt.plugin.version} + + + + org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.andes.extensions.device.mgt.api.feature:${carbon.device.mgt.plugin.version} + @@ -1633,6 +1638,11 @@ + + + org.wso2.carbon.andes.extensions.device.mgt.api.feature.group + ${carbon.device.mgt.plugin.version} + @@ -2517,6 +2527,11 @@ ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.andes.extensions.device.mgt.api.feature.group + ${carbon.device.mgt.plugin.version} + @@ -3147,6 +3162,11 @@ ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.andes.extensions.device.mgt.api.feature.group + ${carbon.device.mgt.plugin.version} + diff --git a/pom.xml b/pom.xml index 640898d7..f7bf7374 100644 --- a/pom.xml +++ b/pom.xml @@ -1517,17 +1517,17 @@ 4.7.8 - 3.0.107 + 3.0.112 [3.0.0, 4.0.0) ${project.version} - 4.0.79 + 4.0.82 - 6.1.95 + 6.1.109 (6.0.0,7.0.0] @@ -1555,8 +1555,8 @@ ${project.version} - 3.2.19 - 3.2.15 + 3.2.25 + 3.2.16 1.51.0.0