From 7abd4a479efc17ed12f9c465105f4a6fb70d2822 Mon Sep 17 00:00:00 2001 From: Madhavi Gayathri Date: Mon, 16 Dec 2024 19:08:18 +0530 Subject: [PATCH 1/6] Remove Entitlements dependency. --- components/org.wso2.carbon.identity.oauth/pom.xml | 7 ++----- pom.xml | 6 +----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/components/org.wso2.carbon.identity.oauth/pom.xml b/components/org.wso2.carbon.identity.oauth/pom.xml index e6aea6f7cc..c6bee043c7 100644 --- a/components/org.wso2.carbon.identity.oauth/pom.xml +++ b/components/org.wso2.carbon.identity.oauth/pom.xml @@ -176,10 +176,6 @@ org.wso2.carbon.identity.framework org.wso2.carbon.identity.application.common - - org.wso2.carbon.identity.framework - org.wso2.carbon.identity.entitlement - @@ -421,7 +417,8 @@ org.osgi.framework; version="${osgi.framework.imp.pkg.version.range}", org.osgi.service.component; version="${osgi.service.component.imp.pkg.version.range}", - org.wso2.carbon.identity.entitlement; version="${carbon.identity.framework.imp.pkg.version.range}"; resolution:=optional, + org.wso2.carbon.identity.entitlement; + version="${identity.oauth.xacml.version.range}"; resolution:=optional, org.wso2.carbon.idp.mgt; version="${carbon.identity.framework.imp.pkg.version.range}", org.wso2.carbon.identity.base; version="${carbon.identity.framework.imp.pkg.version.range}", org.wso2.carbon.identity.core.*; version="${carbon.identity.framework.imp.pkg.version.range}", diff --git a/pom.xml b/pom.xml index e0ef233657..e2217589d7 100644 --- a/pom.xml +++ b/pom.xml @@ -209,11 +209,6 @@ org.wso2.carbon.identity.application.common ${carbon.identity.framework.version} - - org.wso2.carbon.identity.framework - org.wso2.carbon.identity.entitlement - ${carbon.identity.framework.version} - org.wso2.carbon.identity.framework org.wso2.carbon.identity.application.authentication.framework @@ -942,6 +937,7 @@ 7.6.0 [5.25.234, 8.0.0) + [2.0.0, 3.0.0) 1.4.7 From 24293c1093e85d2435dc1b281d9f38090e3d5fcd Mon Sep 17 00:00:00 2001 From: Madhavi Gayathri Date: Mon, 16 Dec 2024 19:11:28 +0530 Subject: [PATCH 2/6] Bump framework version. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e2217589d7..1d560ff057 100644 --- a/pom.xml +++ b/pom.xml @@ -934,7 +934,7 @@ [1.0.1, 2.0.0) - 7.6.0 + 7.7.39 [5.25.234, 8.0.0) [2.0.0, 3.0.0) From 59efd440805e15cc1cd1bd01482283eff75df2e8 Mon Sep 17 00:00:00 2001 From: Madhavi Gayathri Date: Wed, 18 Dec 2024 14:18:03 +0530 Subject: [PATCH 3/6] Add wso2 httpcore dependency. --- components/org.wso2.carbon.identity.oauth.endpoint/pom.xml | 4 ++++ pom.xml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml index 739b016905..6303308183 100644 --- a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml +++ b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml @@ -146,6 +146,10 @@ org.wso2.carbon.identity.oidc.session provided + + org.apache.httpcomponents.wso2 + httpcore + com.google.code.gson gson diff --git a/pom.xml b/pom.xml index 1d560ff057..0489985d8f 100644 --- a/pom.xml +++ b/pom.xml @@ -665,6 +665,11 @@ tomcat-coyote ${tomcat.version} + + org.apache.httpcomponents.wso2 + httpcore + ${httpcore.version} + javax.ws.rs javax.ws.rs-api @@ -1016,6 +1021,7 @@ 9.0.96 [9.0.0, 9.5.0) + 4.3.3.wso2v1 3.5.9 1.2.0.wso2v1 1.1.wso2v1 From dec992ca6738c756311bc318a66e82b1c45968fd Mon Sep 17 00:00:00 2001 From: Madhavi Gayathri Date: Wed, 18 Dec 2024 14:30:53 +0530 Subject: [PATCH 4/6] Import httpcore. --- .../pom.xml | 15 +++++++++++++++ pom.xml | 1 + 2 files changed, 16 insertions(+) diff --git a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml index 6303308183..e84316ef6e 100644 --- a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml +++ b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml @@ -235,6 +235,21 @@ + + org.apache.felix + maven-bundle-plugin + true + + + + ${project.artifactId} + + + org.apache.http.*;version="${httpcore.version.osgi.import.range}", + + + + maven-compiler-plugin diff --git a/pom.xml b/pom.xml index 0489985d8f..b5fd3362ce 100644 --- a/pom.xml +++ b/pom.xml @@ -1022,6 +1022,7 @@ [9.0.0, 9.5.0) 4.3.3.wso2v1 + [4.3.0, 5.0.0) 3.5.9 1.2.0.wso2v1 1.1.wso2v1 From 0d6a562c361f6006dfd2e16b33a2976c1257fcdb Mon Sep 17 00:00:00 2001 From: Thilina Shashimal Senarath <43197743+shashimalcse@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:04:59 +0530 Subject: [PATCH 5/6] Update pom.xml --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index b5fd3362ce..46abd30244 100644 --- a/pom.xml +++ b/pom.xml @@ -670,6 +670,11 @@ httpcore ${httpcore.version} + + org.wso2.orbit.org.apache.httpcomponents + httpclient + ${httpcomponents-httpclient.wso2.version} + javax.ws.rs javax.ws.rs-api @@ -1023,6 +1028,7 @@ 4.3.3.wso2v1 [4.3.0, 5.0.0) + 4.3.6.wso2v2 3.5.9 1.2.0.wso2v1 1.1.wso2v1 From 2a942ed7e212765dbad78ddb48d38236baba7f02 Mon Sep 17 00:00:00 2001 From: Thilina Shashimal Senarath <43197743+shashimalcse@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:11:11 +0530 Subject: [PATCH 6/6] Update pom.xml --- .../pom.xml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml index e84316ef6e..6f1e4b5d74 100644 --- a/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml +++ b/components/org.wso2.carbon.identity.oauth.endpoint/pom.xml @@ -150,6 +150,10 @@ org.apache.httpcomponents.wso2 httpcore + + org.wso2.orbit.org.apache.httpcomponents + httpclient + com.google.code.gson gson @@ -235,21 +239,6 @@ - - org.apache.felix - maven-bundle-plugin - true - - - - ${project.artifactId} - - - org.apache.http.*;version="${httpcore.version.osgi.import.range}", - - - - maven-compiler-plugin