From 9192f8e65c4ba687ba214733268050b132377c7c Mon Sep 17 00:00:00 2001 From: GPrathap Date: Mon, 2 Jan 2017 14:34:38 +0530 Subject: [PATCH 1/3] updated designer.json --- .../distribution/src/ues/designer.json | 35 ++++++++++++------- .../jaggeryapps/portal/configs/designer.json | 33 +++++++++++------ 2 files changed, 45 insertions(+), 23 deletions(-) diff --git a/modules/analytics/distribution/src/ues/designer.json b/modules/analytics/distribution/src/ues/designer.json index b55701c9..9d15c49e 100644 --- a/modules/analytics/distribution/src/ues/designer.json +++ b/modules/analytics/distribution/src/ues/designer.json @@ -25,21 +25,32 @@ } }, "authorization": { - "activeMethod": "", + "activeMethod": "oauth", "methods": { "oauth": { "attributes": { - "idPServer": "%https.ip%/oauth2/token", - "dynamicClientProperties": { - "callbackUrl": "%https.ip%/portal", - "clientName": "portal", - "owner": "admin", - "applicationType": "JaggeryApp", - "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer", - "saasApp": false, - "dynamicClientRegistrationEndPoint": "%https.ip%/dynamic-client-web/register/", - "tokenScope": "Production" - } + "apimgt-gateway": false, + "oauthProvider": { + "appRegistration": { + "appType": "webapp", + "clientName": "portal", + "owner": "admin", + "password":"admin", + "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register", + "apiManagerClientAppRegistrationServiceURL": "%https.host%/api-application-registration/register/tenants", + "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", + "tokenScope": "admin", + "callbackUrl": "%https.host%/portal", + "saasApp":true + }, + "tokenServiceURL": "https://localhost:9443/oauth2/token" + }, + "adminUser":"admin@carbon.super", + "adminUserTenantId":"-1234", + "adminRole":"admin", + "scopes" : [ + "device:view" + ] } } } diff --git a/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json b/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json index 7fa6049a..f6c0c85a 100644 --- a/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json +++ b/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json @@ -34,17 +34,28 @@ "methods": { "oauth": { "attributes": { - "idPServer": "%https.host%/oauth2/token", - "dynamicClientProperties": { - "callbackUrl": "%https.host%/portal", - "clientName": "portal", - "owner": "admin", - "applicationType": "JaggeryApp", - "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer", - "saasApp": false, - "dynamicClientRegistrationEndPoint": "%https.host%/dynamic-client-web/register/", - "tokenScope": "Production" - } + "apimgt-gateway": false, + "oauthProvider": { + "appRegistration": { + "appType": "webapp", + "clientName": "portal", + "owner": "admin", + "password":"admin", + "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register", + "apiManagerClientAppRegistrationServiceURL": "%https.host%/api-application-registration/register/tenants", + "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", + "tokenScope": "admin", + "callbackUrl": "%https.host%/portal", + "saasApp":true + }, + "tokenServiceURL": "https://localhost:9443/oauth2/token" + }, + "adminUser":"admin@carbon.super", + "adminUserTenantId":"-1234", + "adminRole":"admin", + "scopes" : [ + "device:view" + ] } } } From f4bbb1517aced256dbc2db44dac90ba1cabed843 Mon Sep 17 00:00:00 2001 From: GPrathap Date: Mon, 2 Jan 2017 14:36:12 +0530 Subject: [PATCH 2/3] upgraded carbon dashboard server version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f262d73a..3795e5b7 100644 --- a/pom.xml +++ b/pom.xml @@ -1632,7 +1632,7 @@ 1.2.140.wso2v3 2.8.2.wso2v1 2.0.0.wso2v1 - 2.0.4 + 2.0.5-SNAPSHOT 2.1.4 [2.6.0,3.0.0) 2.3.4-spark From 24b6d4dc0e54e7a1729e4bf59c80d729faa07fa8 Mon Sep 17 00:00:00 2001 From: GPrathap Date: Mon, 2 Jan 2017 14:41:59 +0530 Subject: [PATCH 3/3] added org.wso2.carbon.apimgt.rest.api.dcr.feature --- modules/core/p2-profile-gen/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml index 098e4b81..66174763 100644 --- a/modules/core/p2-profile-gen/pom.xml +++ b/modules/core/p2-profile-gen/pom.xml @@ -588,6 +588,9 @@ org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.hostobjects.oidc.feature:${carbon.api.mgt.version} + + org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.dcr.feature:${carbon.api.mgt.version} + @@ -995,6 +998,10 @@ org.wso2.carbon.apimgt.core.feature.group ${carbon.api.mgt.version} + + org.wso2.carbon.apimgt.rest.api.dcr.feature.group + ${carbon.api.mgt.version} + org.wso2.carbon.apimgt.gateway.feature.group