From d09128f4828fe1d217422013801dde7c43d5e605 Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Mon, 7 Dec 2015 18:53:32 +0530 Subject: [PATCH 1/5] excluding "appmoauth2.war" from the build --- modules/distribution/src/assembly/bin.xml | 3 +++ modules/p2-profile-gen/pom.xml | 31 ++++++++++++----------- pom.xml | 18 ++++++------- 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index ff03f0d9..3e415d78 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -388,6 +388,9 @@ ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/ + + appmoauth2.war + false 644 diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml index 43e467a1..9fc576a3 100644 --- a/modules/p2-profile-gen/pom.xml +++ b/modules/p2-profile-gen/pom.xml @@ -439,7 +439,7 @@ - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.core.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.core.feature:${appmgt.feature.version} @@ -447,23 +447,23 @@ - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mdm.wso2emm.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mdm.wso2emm.feature:${appmgt.feature.version} - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mdm.wso2mdm.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mdm.wso2mdm.feature:${appmgt.feature.version} - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mobile.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.mobile.feature:${appmgt.feature.version} - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.publisher.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.publisher.feature:${appmgt.feature.version} - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.services.api.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.services.api.feature:${appmgt.feature.version} @@ -471,7 +471,7 @@ - org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt..feature.version} + org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version} @@ -1218,11 +1218,12 @@ org.wso2.carbon.appmgt.core.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} + - + @@ -1233,29 +1234,29 @@ org.wso2.carbon.appmgt.mdm.wso2emm.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt.mdm.wso2mdm.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt.mobile.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt.publisher.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt.services.api.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt.store.feature.group - ${appmgt..feature.version} + ${appmgt.feature.version} diff --git a/pom.xml b/pom.xml index af2420f8..4f147aab 100644 --- a/pom.xml +++ b/pom.xml @@ -909,49 +909,49 @@ org.wso2.carbon.appmgt org.wso2.carbon.appmgt.core.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.mdm.wso2emm.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.mdm.wso2mdm.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.mobile.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.publisher.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.services.api.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt org.wso2.carbon.appmgt.store.feature - ${appmgt..feature.version} + ${appmgt.feature.version} org.wso2.carbon.appmgt @@ -1103,7 +1103,7 @@ 2.3.1 - 1.1.1 + 1.1.1 1.1.1 From 85bc5bd201da13b661878a714ef1fa2c0ef41176 Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Mon, 7 Dec 2015 23:46:44 +0530 Subject: [PATCH 2/5] Adding SocialDB creation execution to distribution pom --- modules/p2-profile-gen/pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml index 9fc576a3..8b2bfe74 100644 --- a/modules/p2-profile-gen/pom.xml +++ b/modules/p2-profile-gen/pom.xml @@ -474,9 +474,9 @@ org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version} - - org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.store.version} - + + + @@ -1261,10 +1261,10 @@ - - org.wso2.carbon.social.feature.group - ${carbon.store.version} - + + + + From 63dcd1e04e923beeccd00fb0b93fc8814b585b89 Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Tue, 8 Dec 2015 12:02:58 +0530 Subject: [PATCH 3/5] Addidng SocialDB to distribution pom --- modules/distribution/pom.xml | 31 +++++++++++++++++++ .../conf/datasources/master-datasources.xml | 21 +++++++++++++ modules/p2-profile-gen/pom.xml | 16 +++++----- 3 files changed, 60 insertions(+), 8 deletions(-) diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 9f197af0..c7828d37 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -322,6 +322,37 @@ + + + create-social-db-schema + package + + run + + + + + + + + + + + + + + + + + + + + + 3-extract-docs-from-components package diff --git a/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/modules/distribution/src/repository/conf/datasources/master-datasources.xml index 838a6959..1627f55f 100755 --- a/modules/distribution/src/repository/conf/datasources/master-datasources.xml +++ b/modules/distribution/src/repository/conf/datasources/master-datasources.xml @@ -64,6 +64,27 @@ + + WSO2_SOCIAL_DB + The datasource used for Store social database + + jdbc/WSO2_SOCIAL_DB + + + + jdbc:h2:repository/database/WSO2_SOCIAL_DB;DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml index 8b2bfe74..9a3bcb9d 100644 --- a/modules/p2-profile-gen/pom.xml +++ b/modules/p2-profile-gen/pom.xml @@ -474,9 +474,9 @@ org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version} - - - + + org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.store.version} + @@ -1261,11 +1261,11 @@ - - - - - + + org.wso2.carbon.social.feature.group + ${carbon.store.version} + + Cipher tool feature org.wso2.ciphertool.feature.group From 9ae9bcfb31109234b58a4161e38acb59feb6161b Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Tue, 8 Dec 2015 15:02:43 +0530 Subject: [PATCH 4/5] Removing duplicate analytics version, switched "data-bridge-config.xml' to be copied from feature --- modules/distribution/src/assembly/bin.xml | 4 +- .../conf/data-bridge/data-bridge-config.xml | 74 ------------------- pom.xml | 5 +- 3 files changed, 3 insertions(+), 80 deletions(-) delete mode 100755 modules/distribution/src/repository/conf/data-bridge/data-bridge-config.xml diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 3e415d78..38a8fd64 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -1027,9 +1027,7 @@ - - - src/repository/conf/data-bridge/data-bridge-config.xml + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge/data-bridge-config.xml ${pom.artifactId}-${pom.version}/repository/conf/data-bridge true 644 diff --git a/modules/distribution/src/repository/conf/data-bridge/data-bridge-config.xml b/modules/distribution/src/repository/conf/data-bridge/data-bridge-config.xml deleted file mode 100755 index 5ca16221..00000000 --- a/modules/distribution/src/repository/conf/data-bridge/data-bridge-config.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - org.wso2.carbon.databridge.streamdefn.cassandra.datastore.CassandraStreamDefinitionStore - - - 10 - 10000 - 30000 - EVENT_KS - - - - - 7611 - 7711 - - - - - diff --git a/pom.xml b/pom.xml index 4f147aab..9d77eb37 100644 --- a/pom.xml +++ b/pom.xml @@ -1062,8 +1062,8 @@ 4.4.11 - - 5.0.5 + + 5.0.6 7.0.59.wso2v1 @@ -1079,7 +1079,6 @@ 1.0.4 - 5.0.6 1.0.0-wso2v3 1.0.0 2.0.9 From 1250743458d7367f4d9d1aec491ce8a21534f8ab Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 8 Dec 2015 21:46:46 +0530 Subject: [PATCH 5/5] Adding changes to identity.xml to fix logging issue --- .../src/repository/conf/identity.xml | 36 +++++-------------- .../resources/axis2config/axis2_client.xml | 20 +++++------ 2 files changed, 18 insertions(+), 38 deletions(-) diff --git a/modules/distribution/src/repository/conf/identity.xml b/modules/distribution/src/repository/conf/identity.xml index a1fb3786..0a1b4b55 100644 --- a/modules/distribution/src/repository/conf/identity.xml +++ b/modules/distribution/src/repository/conf/identity.xml @@ -106,9 +106,7 @@ true - - org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor - + org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor token - - org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler - + org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler code - - org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler - + org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler authorization_code - - org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler password - - org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler refresh_token - - org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler client_credentials - - org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler urn:ietf:params:oauth:grant-type:saml2-bearer - - org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler iwa:ntlm - - org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler - + org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler diff --git a/modules/integration/tests-ui-integration/src/test/resources/axis2config/axis2_client.xml b/modules/integration/tests-ui-integration/src/test/resources/axis2config/axis2_client.xml index 88281cb8..a8b584d0 100644 --- a/modules/integration/tests-ui-integration/src/test/resources/axis2config/axis2_client.xml +++ b/modules/integration/tests-ui-integration/src/test/resources/axis2config/axis2_client.xml @@ -1,19 +1,17 @@ @@ -297,6 +295,6 @@ - +