From eb11036b6ccf7549fd220b03a1579ce64eacb2ee Mon Sep 17 00:00:00 2001 From: pasindu Date: Wed, 26 Apr 2023 10:02:40 +0530 Subject: [PATCH] Change version snd remove unwanted dependencies --- .../pom.xml | 43 ++++++++----------- .../rest/api/APIApplicationServicesImpl.java | 2 +- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/pom.xml b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/pom.xml index 7ecbdf7900..2dca4947db 100644 --- a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/pom.xml +++ b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/pom.xml @@ -22,7 +22,7 @@ apimgt-extensions org.wso2.carbon.devicemgt - 5.0.25-SNAPSHOT + 5.0.26-SNAPSHOT ../pom.xml @@ -37,43 +37,29 @@ org.wso2.carbon org.wso2.carbon.logging + provided org.wso2.carbon org.wso2.carbon.utils - - - org.eclipse.osgi - org.eclipse.osgi - - - org.eclipse.osgi - org.eclipse.osgi.services + provided org.wso2.carbon org.wso2.carbon.core + provided - com.googlecode.json-simple.wso2 - json-simple - - - org.wso2.carbon.apimgt - org.wso2.carbon.apimgt.api - - - com.squareup.okhttp3 - okhttp - - - io.github.openfeign - feign-okhttp + org.eclipse.osgi + org.eclipse.osgi + provided - org.wso2.carbon.apimgt - org.wso2.carbon.apimgt.api + org.eclipse.osgi + org.eclipse.osgi.services + provided + org.json.wso2 json @@ -81,12 +67,18 @@ com.google.code.gson gson + provided org.wso2.carbon.apimgt org.wso2.carbon.apimgt.impl provided + + com.squareup.okhttp3 + okhttp + compile + @@ -114,7 +106,6 @@ io.entgra.device.mgt.core.apimgt.extension.rest.api.* - javax.net.ssl, org.osgi.framework.*;version="${imp.package.version.osgi.framework}", org.osgi.service.*;version="${imp.package.version.osgi.service}", org.wso2.carbon.core;version="4.6", diff --git a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/APIApplicationServicesImpl.java b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/APIApplicationServicesImpl.java index 210a710455..0fc1f4792e 100644 --- a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/APIApplicationServicesImpl.java +++ b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/APIApplicationServicesImpl.java @@ -19,8 +19,8 @@ package io.entgra.device.mgt.core.apimgt.extension.rest.api; import com.google.gson.Gson; -import io.entgra.device.mgt.core.apimgt.extension.rest.api.dto.APIApplicationKey; import org.json.JSONObject; +import io.entgra.device.mgt.core.apimgt.extension.rest.api.dto.APIApplicationKey; import io.entgra.device.mgt.core.apimgt.extension.rest.api.constants.Constants; import io.entgra.device.mgt.core.apimgt.extension.rest.api.dto.AccessTokenInfo; import io.entgra.device.mgt.core.apimgt.extension.rest.api.exceptions.APIServicesException;