From 8a4b97ebf9631a2c2743a145950b554ebb7cb8b7 Mon Sep 17 00:00:00 2001 From: hasuniea Date: Tue, 9 Aug 2016 18:00:49 +0530 Subject: [PATCH 1/8] refactoring windowsapi --- .../org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml | 4 ++-- .../pom.xml | 2 +- .../src/main/resources/p2.inf | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml index 4aedb77be..98ef25353 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml @@ -46,7 +46,7 @@ 2.2 - ${project.artifactId} + api#device-mgt#windows#v1.0 @@ -72,7 +72,7 @@ - + diff --git a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/pom.xml b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/pom.xml index 633bd9f20..a2d51efef 100644 --- a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/pom.xml +++ b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/pom.xml @@ -118,7 +118,7 @@ true ${project.build.directory}/maven-shared-archive-resources/webapps/ - mdm-windows-agent.war + api#device-mgt#windows#v1.0.war diff --git a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf index 11320712c..d70e9fe99 100644 --- a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf +++ b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf @@ -1,13 +1,13 @@ instructions.configure = \ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile.windows_${feature.version}/jaggeryapps/,target:${installFolder}/../../deployment/server/jaggeryapps/,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile.windows_${feature.version}/webapps/mdm-windows-agent.war,target:${installFolder}/../../deployment/server/webapps/mdm-windows-agent.war,overwrite:true);\ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile.windows_${feature.version}/webapps/api#device-mgt#windows#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#device-mgt#windows#v1.0.war,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile.windows_${feature.version}/dbscripts/plugins/,target:${installFolder}/../../../dbscripts/cdm/plugins/windows,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../database/);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile.windows_${feature.version}/database/,target:${installFolder}/../../database/,overwrite:true);\ instructions.unconfigure = \ -org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/webapps/mdm-windows-agent.war);\ -org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/webapps/mdm-windows-agent);\ +org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/webapps/api#device-mgt#windows#v1.0.war);\ +org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/webapps/api#device-mgt#windows#v1.0);\ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view);\ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.policy-edit);\ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.policy-view);\ From b9289e801f54ef934ba0549eb7e558dada7ed653 Mon Sep 17 00:00:00 2001 From: mharindu Date: Thu, 11 Aug 2016 12:21:28 +0530 Subject: [PATCH 2/8] Addin carbon 4.4.7 migration changes --- components/iot-plugins/pom.xml | 2 +- .../pom.xml | 2 +- pom.xml | 20 ++++++++++--------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/components/iot-plugins/pom.xml b/components/iot-plugins/pom.xml index 283ad011f..b92b509a0 100644 --- a/components/iot-plugins/pom.xml +++ b/components/iot-plugins/pom.xml @@ -36,7 +36,7 @@ androidsense-plugin arduino-plugin raspberrypi-plugin - virtual-fire-alarm-plugin + iot-base-plugin iot-analytics diff --git a/features/iot-plugins-feature/iot-base-plugin-feature/org.wso2.carbon.device.mgt.iot.adapter.feature/pom.xml b/features/iot-plugins-feature/iot-base-plugin-feature/org.wso2.carbon.device.mgt.iot.adapter.feature/pom.xml index 5bd1455c0..94c09f835 100644 --- a/features/iot-plugins-feature/iot-base-plugin-feature/org.wso2.carbon.device.mgt.iot.adapter.feature/pom.xml +++ b/features/iot-plugins-feature/iot-base-plugin-feature/org.wso2.carbon.device.mgt.iot.adapter.feature/pom.xml @@ -172,7 +172,7 @@ org.igniterealtime.smack.wso2:smackx:${smackx.wso2.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.oauth.stub:${carbon.identity.version} + org.wso2.carbon.identity:org.wso2.carbon.identity.oauth.stub:${identity.inbound.auth.oauth.version} diff --git a/pom.xml b/pom.xml index aa5241f92..7d016858e 100644 --- a/pom.xml +++ b/pom.xml @@ -1000,13 +1000,13 @@ org.wso2.carbon.identity org.wso2.carbon.identity.oauth.stub - ${carbon.identity.version} + ${identity.inbound.auth.oauth.version} provided org.wso2.carbon.identity org.wso2.carbon.identity.oauth - ${carbon.identity.version} + ${identity.inbound.auth.oauth.version} provided @@ -1087,7 +1087,7 @@ 1.7 - 4.4.3 + 4.4.7 [4.4.0, 4.5.0) 1.5.4 @@ -1130,23 +1130,25 @@ 4.4.8 - 4.6.0 + 4.7.0 - 5.0.7 + 5.2.0 + 5.1.2 + 5.1.1 [5.0.7, 6.0.0) - 4.5.0 + 4.6.0 - 4.4.8 + 4.6.0 - 4.5.8 + 4.6.4 - 5.0.3 + 6.0.4 3.0.4.wso2v1 From e9601dcbb3330b193cba13b864fba5f83a5fabe1 Mon Sep 17 00:00:00 2001 From: mharindu Date: Fri, 12 Aug 2016 08:42:50 +0530 Subject: [PATCH 3/8] Fixed dependancy issues --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7d016858e..80f252789 100644 --- a/pom.xml +++ b/pom.xml @@ -1142,7 +1142,7 @@ 4.6.0 - 4.6.0 + 4.5.6 4.6.4 From 2b3967fd71ca80e36d1f29aa5e1d6d31663d13fe Mon Sep 17 00:00:00 2001 From: mharindu Date: Mon, 5 Sep 2016 16:39:13 +0530 Subject: [PATCH 4/8] Partial commit of migration --- .../org.wso2.carbon.device.mgt.mobile/pom.xml | 2 +- pom.xml | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/pom.xml b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/pom.xml index 15706b2c0..b6c82279e 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/pom.xml +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/pom.xml @@ -58,7 +58,7 @@ javax.xml.bind.*, javax.naming, javax.sql, - javax.xml.parsers, + javax.xml.parsers; version=0.0.0, org.w3c.dom, org.wso2.carbon.context, org.wso2.carbon.utils.*, diff --git a/pom.xml b/pom.xml index 7c8444626..3c998c4af 100644 --- a/pom.xml +++ b/pom.xml @@ -623,10 +623,10 @@ org.wso2.carbon org.wso2.carbon.identity.oauth - - org.wso2.carbon - org.wso2.carbon.apimgt.keymgt.client - + + + + org.apache.poi poi-ooxml @@ -1077,6 +1077,11 @@ hibernate-validator ${hibernate-validator.version} + + org.wso2.carbon.apimgt + org.wso2.carbon.apimgt.keymgt.client + ${carbon.api.mgt.version} + From 2a0b5009353b7afb56d57c1dcde3f85d48219d4c Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 14 Sep 2016 17:23:33 +0530 Subject: [PATCH 5/8] Updating to latest appm/apim/identity dependencies --- .../pom.xml | 12 +++++++++++ .../pom.xml | 16 +++++++++------ pom.xml | 20 +++++++++---------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/pom.xml b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/pom.xml index 25f928cff..e49cc981d 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/pom.xml +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/pom.xml @@ -176,6 +176,12 @@ org.wso2.carbon.devicemgt org.wso2.carbon.device.mgt.analytics.data.publisher provided + + + org.slf4j + slf4j-api + + org.wso2.carbon.analytics @@ -199,6 +205,12 @@ io.swagger swagger-jaxrs + + + org.slf4j + slf4j-api + + javax.servlet diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml index 9e8559a17..dcb03745d 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml @@ -173,13 +173,13 @@ - org.apache.ws.commons.axiom - axiom-api + org.apache.ws.commons.axiom.wso2 + axiom - + log4j log4j @@ -206,11 +206,11 @@ saaj-impl - org.bouncycastle + org.bouncycastle.wso2 bcpkix-jdk15on - org.bouncycastle + org.wso2.orbit.org.bouncycastle bcprov-jdk15on @@ -269,6 +269,10 @@ org.wso2.carbon.identity org.wso2.carbon.identity.base + + org.slf4j + slf4j-api + diff --git a/pom.xml b/pom.xml index 3c998c4af..27d0be33e 100644 --- a/pom.xml +++ b/pom.xml @@ -912,15 +912,15 @@ ${wss4j.security.common.version} - org.apache.ws.commons.axiom - axiom-api + org.apache.ws.commons.axiom.wso2 + axiom ${axiom-api.version} - + log4j log4j @@ -952,14 +952,14 @@ ${saaj-impl.version} - org.bouncycastle + org.bouncycastle.wso2 bcpkix-jdk15on ${bcpkix-jdk15on.version} - org.bouncycastle + org.wso2.orbit.org.bouncycastle bcprov-jdk15on - ${bcpkix-jdk15on.version} + 1.52.0.wso2v1 org.codehaus.plexus @@ -1092,7 +1092,7 @@ 1.7 - 4.4.7 + 4.4.9 [4.4.0, 4.5.0) 1.5.4 @@ -1186,13 +1186,13 @@ 6.0 - 1.2.14 + 1.2.11.wso2v10 1.2.17 3.0.5.RELEASE 2.1.0.RELEASE 2.2.8 1.3.18 - 1.49 + 1.52.0.wso2v1 3.0.21 2.2 1.6.17 From 03c0108db5e5682b3c19f273c0edc4d4b008a63e Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 20 Sep 2016 10:39:34 +0530 Subject: [PATCH 6/8] Removing unwanted dependencies from windows api --- .../pom.xml | 12 ++++++++++++ pom.xml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml index 7e95730a3..9b4fabc76 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml @@ -175,6 +175,7 @@ org.apache.ws.commons.axiom.wso2 axiom + provided @@ -311,10 +319,12 @@ org.wso2.tomcat tomcat-servlet-api + provided com.google.code.gson gson + provided org.wso2.carbon.devicemgt @@ -335,11 +345,13 @@ org.codehaus.jettison.wso2 jettison 1.1.wso2v1 + provided org.json.wso2 json 2.0.0.wso2v1 + provided io.swagger diff --git a/pom.xml b/pom.xml index 99edcd28c..62174b774 100644 --- a/pom.xml +++ b/pom.xml @@ -955,7 +955,7 @@ org.wso2.orbit.org.bouncycastle bcprov-jdk15on - 1.52.0.wso2v1 + ${bcpkix-jdk15on.version} org.codehaus.plexus From 282fe25b4749152b57f5e173db27cece18af1298 Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 21 Sep 2016 12:57:03 +0530 Subject: [PATCH 7/8] Fixing dependency related issues --- .../org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml index 9b4fabc76..3285a76d1 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml @@ -208,7 +208,7 @@ saaj-impl - org.bouncycastle.wso2 + org.wso2.orbit.org.bouncycastle bcpkix-jdk15on provided diff --git a/pom.xml b/pom.xml index 62174b774..35fbda17b 100644 --- a/pom.xml +++ b/pom.xml @@ -948,7 +948,7 @@ ${saaj-impl.version} - org.bouncycastle.wso2 + org.wso2.orbit.org.bouncycastle bcpkix-jdk15on ${bcpkix-jdk15on.version} @@ -1149,7 +1149,7 @@ 4.6.4 - 6.0.4 + 6.0.5-SNAPSHOT 3.0.4.wso2v1 From 2565de82e53b8ecf850235513af17b012f898edd Mon Sep 17 00:00:00 2001 From: Ace Date: Fri, 23 Sep 2016 11:25:56 +0530 Subject: [PATCH 8/8] Synching with master and updating jscep and bcpkix dependencies --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 61f72e066..80af5aba4 100644 --- a/pom.xml +++ b/pom.xml @@ -955,7 +955,7 @@ org.wso2.orbit.org.bouncycastle bcprov-jdk15on - ${bcpkix-jdk15on.version} + ${bcprov-jdk15on.version} org.codehaus.plexus @@ -1149,7 +1149,7 @@ 4.6.4 - 6.0.5-SNAPSHOT + 6.0.5 3.0.4.wso2v1 @@ -1188,7 +1188,8 @@ 2.1.0.RELEASE 2.2.8 1.3.18 - 1.52.0.wso2v1 + 1.52.0.wso2v2 + 1.52.0.wso2v1 3.0.21 2.2 1.6.17