From 648b27649180b5105b18ea130cf84a64d8242a1c Mon Sep 17 00:00:00 2001 From: ayyoob Date: Thu, 12 Jan 2017 11:12:49 +0530 Subject: [PATCH] few changes after testing the cluster --- .../src/repository/conf/etc/jwt.properties | 6 +- .../api/_Dynamic_Client_Registration_API_.xml | 25 ------ .../identity-providers/iot_default.xml | 6 +- modules/core/p2-profile-gen/pom.xml | 77 +++++++++++++++++++ 4 files changed, 83 insertions(+), 31 deletions(-) delete mode 100644 modules/core/distribution/src/api-resources/synapse-configs/default/api/_Dynamic_Client_Registration_API_.xml diff --git a/modules/analytics/distribution/src/repository/conf/etc/jwt.properties b/modules/analytics/distribution/src/repository/conf/etc/jwt.properties index 56870d68..3c384655 100644 --- a/modules/analytics/distribution/src/repository/conf/etc/jwt.properties +++ b/modules/analytics/distribution/src/repository/conf/etc/jwt.properties @@ -17,13 +17,13 @@ # #issuer of the JWT -iss=iot_default +iss=wso2.org/products/iot -TokenEndpoint=https://localhost:${iot.core.https.port}/oauth2/token +TokenEndpoint=https://${iot.keymanager.host}:${iot.keymanager.https.port}/oauth2/token #audience of JWT claim #comma seperated values -aud=wso2.org/products/iot +aud=devicemgt #expiration time of JWT (number of minutes from the current time) exp=1000 diff --git a/modules/core/distribution/src/api-resources/synapse-configs/default/api/_Dynamic_Client_Registration_API_.xml b/modules/core/distribution/src/api-resources/synapse-configs/default/api/_Dynamic_Client_Registration_API_.xml deleted file mode 100644 index a0a8cb02..00000000 --- a/modules/core/distribution/src/api-resources/synapse-configs/default/api/_Dynamic_Client_Registration_API_.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - 60000 - fault - - - - - - - - - - - - - - \ No newline at end of file diff --git a/modules/core/distribution/src/repository/conf/identity/identity-providers/iot_default.xml b/modules/core/distribution/src/repository/conf/identity/identity-providers/iot_default.xml index 07b7f035..9ef53ce1 100644 --- a/modules/core/distribution/src/repository/conf/identity/identity-providers/iot_default.xml +++ b/modules/core/distribution/src/repository/conf/identity/identity-providers/iot_default.xml @@ -17,10 +17,10 @@ --> - iot_default - iot_default + wso2.org/products/iot + wso2.org/products/iot - wso2.org/products/iot + devicemgt true diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml index 271da5d0..222efa29 100644 --- a/modules/core/p2-profile-gen/pom.xml +++ b/modules/core/p2-profile-gen/pom.xml @@ -163,6 +163,15 @@ + + + org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.android.feature:${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.windows.feature:${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version} @@ -941,6 +950,14 @@ org.wso2.carbon.device.mgt.analytics.dashboard.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.adapter.feature.group @@ -1589,6 +1606,10 @@ org.wso2.carbon.module.mgt.server.feature.group ${carbon.deployment.version} + + org.wso2.carbon.databridge.datapublisher.feature.group + ${carbon.analytics.common.version} + org.apache.synapse.wso2.feature.group ${carbon.mediation.version} @@ -1859,6 +1880,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.apimgt.gateway.feature.group ${carbon.api.mgt.version} @@ -1883,6 +1912,10 @@ org.wso2.carbon.certificate.mgt.api.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.analytics.data.publisher.feature.group + ${carbon.device.mgt.version} + org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group ${carbon.device.mgt.version} @@ -2287,6 +2320,10 @@ org.wso2.carbon.dynamic.client.registration.server.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.analytics.data.publisher.feature.group + ${carbon.device.mgt.version} + @@ -2322,6 +2359,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.apimgt.gateway.feature.group ${carbon.api.mgt.version} @@ -2512,6 +2557,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.analytics.dashboard.feature.group ${carbon.device.mgt.version} @@ -2933,6 +2986,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.apimgt.gateway.feature.group ${carbon.api.mgt.version} @@ -3122,6 +3183,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.device.mgt.analytics.dashboard.feature.group ${carbon.device.mgt.version} @@ -3523,6 +3592,14 @@ org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group ${carbon.device.mgt.version} + + org.wso2.carbon.device.mgt.mobile.android.feature.group + ${carbon.device.mgt.plugin.version} + + + org.wso2.carbon.device.mgt.mobile.windows.feature.group + ${carbon.device.mgt.plugin.version} + org.wso2.carbon.apimgt.gateway.feature.group ${carbon.api.mgt.version}