diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.annotations/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.annotations/pom.xml
index 0673b188f7..66c80a1b27 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.annotations/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.annotations/pom.xml
@@ -22,13 +22,13 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.apimgt.annotations
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - API Management Annotations
WSO2 Carbon - API Management Custom Annotation Module
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension.api/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension.api/pom.xml
index 8b72542104..0ce0bc1bb2 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension.api/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension.api/pom.xml
@@ -21,12 +21,12 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
org.wso2.carbon.apimgt.application.extension.api
war
WSO2 Carbon - API Application Management API
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/pom.xml
index 660c15404b..36334b2d82 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/pom.xml
@@ -22,12 +22,12 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
org.wso2.carbon.apimgt.application.extension
bundle
WSO2 Carbon - API Application Management
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.handlers/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.handlers/pom.xml
index 316465225a..c96e2fb278 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.handlers/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.handlers/pom.xml
@@ -21,13 +21,13 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.apimgt.handlers
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - API Security Handler Component
WSO2 Carbon - API Management Security Handler Module
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.client/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.client/pom.xml
index 255539c566..31f0cc90a6 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.client/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.client/pom.xml
@@ -13,13 +13,13 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.apimgt.integration.client
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - API Management Integration Client
WSO2 Carbon - API Management Integration Client
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.generated.client/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.generated.client/pom.xml
index 2ff47d9085..28eaf48416 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.generated.client/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.integration.generated.client/pom.xml
@@ -13,13 +13,13 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.apimgt.integration.generated.client
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - API Management Integration Generated Client
WSO2 Carbon - API Management Integration Client
diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
index aea0197368..5df570b4ec 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
@@ -22,13 +22,13 @@
apimgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.apimgt.webapp.publisher
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - API Management Webapp Publisher
WSO2 Carbon - API Management Webapp Publisher
diff --git a/components/apimgt-extensions/pom.xml b/components/apimgt-extensions/pom.xml
index b097bf2b99..313e50f019 100644
--- a/components/apimgt-extensions/pom.xml
+++ b/components/apimgt-extensions/pom.xml
@@ -22,13 +22,13 @@
org.wso2.carbon.devicemgt
carbon-devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../../pom.xml
4.0.0
apimgt-extensions
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
pom
WSO2 Carbon - API Management Extensions Component
http://wso2.org
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.api/pom.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.api/pom.xml
index d420761ff2..991df12a06 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.api/pom.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.api/pom.xml
@@ -22,7 +22,7 @@
certificate-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/pom.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/pom.xml
index a7ef1abdd6..fc9551b711 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/pom.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/pom.xml
@@ -22,7 +22,7 @@
certificate-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml
index 2d08f48d0b..612b6e2f50 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml
@@ -21,13 +21,13 @@
org.wso2.carbon.devicemgt
certificate-mgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.certificate.mgt.core
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
bundle
WSO2 Carbon - Certificate Management Core
WSO2 Carbon - Certificate Management Core
diff --git a/components/certificate-mgt/pom.xml b/components/certificate-mgt/pom.xml
index 8c4ec26438..0447e3518b 100644
--- a/components/certificate-mgt/pom.xml
+++ b/components/certificate-mgt/pom.xml
@@ -22,14 +22,14 @@
org.wso2.carbon.devicemgt
carbon-devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../../pom.xml
4.0.0
org.wso2.carbon.devicemgt
certificate-mgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
pom
WSO2 Carbon - Certificate Management Component
http://wso2.org
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/pom.xml
index 50c31f61b1..c85280a17d 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.pull.notification/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.pull.notification/pom.xml
index 465905bb8e..b6f9193f64 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.pull.notification/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.pull.notification/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm/pom.xml
index 45f4a7d0d7..1e8b9641a9 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.http/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.http/pom.xml
index df79dffc95..b099d67284 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.http/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.http/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt/pom.xml
index 1409150e1f..eecdc64769 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp/pom.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp/pom.xml
index 411f90cd41..144da770de 100644
--- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp/pom.xml
+++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp/pom.xml
@@ -22,7 +22,7 @@
device-mgt-extensions
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt-extensions/pom.xml b/components/device-mgt-extensions/pom.xml
index cad01d0136..01e43cb8f8 100644
--- a/components/device-mgt-extensions/pom.xml
+++ b/components/device-mgt-extensions/pom.xml
@@ -22,7 +22,7 @@
carbon-devicemgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml
index 240b1b3e5d..1607e9f5a9 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml
@@ -3,7 +3,7 @@
org.wso2.carbon.devicemgt
device-mgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.data.publisher/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.data.publisher/pom.xml
index 14ca4233e8..d8a11d5661 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.data.publisher/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.data.publisher/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.devicemgt
device-mgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.api/pom.xml
index aed3289288..d7c022487f 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.api/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/pom.xml
@@ -22,7 +22,7 @@
device-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.common/pom.xml
index 0ffcacae24..4b0b62e585 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.common/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/pom.xml
@@ -21,7 +21,7 @@
device-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
index 7a55c51cf4..420a5b0518 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.devicemgt
device-mgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.extensions/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.extensions/pom.xml
index 46395fec7b..4dfdce65f4 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.extensions/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.extensions/pom.xml
@@ -22,7 +22,7 @@
device-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.ui/pom.xml
index 03b849bbfc..c19e3c4b25 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/pom.xml
@@ -22,7 +22,7 @@
device-mgt
org.wso2.carbon.devicemgt
- 3.0.19-SNAPSHOT
+ 3.0.22-SNAPSHOT
../pom.xml
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json
index 4e303190d5..26a6198550 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json
@@ -1,112 +1,137 @@
{
- "Logo": {
- "name": "Cloud",
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt",
- "target": "_parent"
- },
- "Main": {
- "Domain": {
- "url": "#",
- "icon": "fw fw-organization",
- "isAdminOnly": false,
- "target": "_parent",
- "dropDown": {
- "Organization": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
- "icon": "fw fw-organization",
- "dropDown": "false",
- "target": "_self"
+ "Logo": {
+ "name": "Cloud",
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt",
+ "target": "_parent"
+ },
+ "Main": {
+ "Domain": {
+ "url": "#",
+ "icon": "fw fw-organization",
+ "isAdminOnly": false,
+ "target": "_parent",
+ "dropDown": {
+ "Organization": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
+ "icon": "fw fw-organization",
+ "dropDown": "false",
+ "target": "_self"
+ },
+ "Members": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
+ "icon": "fa fa-users",
+ "dropDown": "false",
+ "target": "_self"
+ }
+ }
+ },
+ "Account": {
+ "url": "#",
+ "icon": "fw fw-resource",
+ "isAdminOnly": false,
+ "billingEnabled": true,
+ "billingApi": {
+ "username": "admin",
+ "password": "admin"
+ },
+ "cloudMgtIndexPage": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/index.jag",
+ "dropDown": {
+ "Upgrade Now": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/payment-plans.jag?cloud-type=device_cloud",
+ "icon": "fw fw-export",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Request Extension": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag?cloud-type=device_cloud&request-extension=true",
+ "icon": "fa fa-mail",
+ "dropDown": "true",
+ "target": "_self"
+ }
+ }
+ },
+ "Support": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag?cloud-type=device_cloud",
+ "icon": "fw fw-mail",
+ "isAdminOnly": false,
+ "target": "_self",
+ "dropDown": "false"
},
- "Members": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
- "icon": "fa fa-users",
- "dropDown": "false",
- "target": "_self"
+ "Documentation": {
+ "url": "#",
+ "icon": "fw fw-document",
+ "isAdminOnly": false,
+ "dropDown": {
+ "Device Cloud": {
+ "id": "device_cloud",
+ "url": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation",
+ "icon": "fw fw-mobile",
+ "target": "_blank"
+ }
+ }
}
- }
},
- "Support": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag",
- "icon": "fw fw-mail",
- "isAdminOnly": false,
- "target": "_self",
- "dropDown": "false"
- },
- "Documentation": {
- "url": "#",
- "icon": "fw fw-document",
- "isAdminOnly": false,
- "dropDown": {
- "Device Cloud": {
- "id": "device_cloud",
- "url": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation",
- "icon": "fw fw-mobile",
- "target": "_blank"
- }
- }
- }
- },
- "User": {
- "url": "#",
- "icon": "fw fw-user",
- "dropDown": {
- "Profile": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag",
+ "User": {
+ "url": "#",
"icon": "fw fw-user",
- "dropDown": "true",
- "target": "_self"
- },
- "Change Password": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/change-password.jag",
- "icon": "fw fw-lock",
- "dropDown": "true",
- "target": "_self"
- },
- "Logout": {
- "url": "https://api.cloud.wso2.com/publisher/site/pages/logout.jag",
- "icon": "fw fw-sign-out",
- "dropDown": "true",
- "target": "_self"
- }
- }
- },
- "Expand": {
- "Clouds": {
- "API Cloud": {
- "id": "api_cloud",
- "url": "https://api.cloud.wso2.com/publisher",
- "icon": "fw fw-api fw-3x",
- "dropDown": "true",
- "target": "_self"
- },
- "Integration Cloud": {
- "id": "integration_cloud",
- "url": "https://integration.cloud.wso2.com/appmgt",
- "icon": "fw fw-service fw-3x",
- "dropDown": "true",
- "target": "_self"
- },
- "Identity Cloud": {
- "id": "integration_cloud",
- "url": "https://identity.cloud.wso2.com/admin",
- "icon": "fw fw-security fw-3x",
- "dropDown": "true",
- "target": "_self"
- }
+ "dropDown": {
+ "Profile": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag",
+ "icon": "fw fw-user",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Change Password": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/change-password.jag",
+ "icon": "fw fw-lock",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Logout": {
+ "url": "https://device.cloud.wso2.com/devicemgt/logout",
+ "icon": "fw fw-sign-out",
+ "dropDown": "true",
+ "target": "_self"
+ }
+ }
},
- "Actions": {
- "Organization": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
- "icon": "fw fw-organization fw-3x",
- "dropDown": "true",
- "target": "_self"
- },
- "Members": {
- "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
- "icon": "fa fa-users fa-3x",
- "dropDown": "true",
- "target": "_self"
- }
+ "Expand": {
+ "Clouds": {
+ "API Cloud": {
+ "id": "api_cloud",
+ "url": "https://api.cloud.wso2.com/publisher",
+ "icon": "fw fw-api fw-3x",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Integration Cloud": {
+ "id": "integration_cloud",
+ "url": "https://integration.cloud.wso2.com/appmgt",
+ "icon": "fw fw-service fw-3x",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Identity Cloud": {
+ "id": "integration_cloud",
+ "url": "https://identity.cloud.wso2.com/admin",
+ "icon": "fw fw-security fw-3x",
+ "dropDown": "true",
+ "target": "_self"
+ }
+ },
+ "Actions": {
+ "Organization": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
+ "icon": "fw fw-organization fw-3x",
+ "dropDown": "true",
+ "target": "_self"
+ },
+ "Members": {
+ "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
+ "icon": "fa fa-users fa-3x",
+ "dropDown": "true",
+ "target": "_self"
+ }
+ }
}
- }
-}
+}
\ No newline at end of file
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/operation.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/operation.js
index 3451c66cb3..1d18e05fe9 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/operation.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/operation.js
@@ -79,18 +79,19 @@ var operationModule = function () {
return featuresList;
};
- publicMethods.getControlOperations = function (deviceType) {
+ publicMethods.getControlOperations = function (device) {
+ var deviceType = device.type;
var operations = privateMethods.getOperationsFromFeatures(deviceType, "operation");
var features = utility.getDeviceTypeConfig(deviceType).deviceType.features;
for (var op in operations) {
var iconIdentifier = operations[op].operation;
if (features && features[iconIdentifier]) {
var icon = features[iconIdentifier].icon;
- var isCloud = devicemgtProps["isCloud"];
- //TODO: remove isCloud check once able to verify features from the device agent
- var isDisabled = features[iconIdentifier].isDisabled;
- if (isDisabled && isCloud) {
- operations[op]["isDisabled"] = isDisabled;
+ //TODO: need improve this check to get feature availability from agent side
+ var filter = features[iconIdentifier].filter;
+ if (device && filter && filter.property && device[filter.property] !== filter.value) {
+ operations[op]["isDisabled"] = true;
+ operations[op]["disabledText"] = filter.text;
} else {
operations[op]["isDisabled"] = false;
}
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.operation-bar/operation-bar.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.operation-bar/operation-bar.js
index f556252439..835316c07d 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.operation-bar/operation-bar.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.operation-bar/operation-bar.js
@@ -22,7 +22,7 @@ function onRequest(context) {
var device = context.unit.params.device;
var autoCompleteParams = context.unit.params.autoCompleteParams;
var encodedFeaturePayloads=context.unit.params.encodedFeaturePayloads;
- var controlOperations = operationModule.getControlOperations(device.type);
+ var controlOperations = operationModule.getControlOperations(device);
var queryParams = [];
var formParams = [];
var pathParams = [];
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs
index 906eb5c076..4fe6e70fd3 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs
@@ -526,7 +526,7 @@
Fence name
- Name of the selected area(i.e colombo)
+ Name of the selected area(e.g. colombo)