From 8ea711537bf6ab20fc967442c82ac4b67476b261 Mon Sep 17 00:00:00 2001 From: Piumini Kaveesha Ranasinghe <62582918+KaveeshaPiumini@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:45:12 +0530 Subject: [PATCH] [Spring Cleanup] Remove Spring dependencies in the Me API (#206) --- .../pom.xml | 9 +-- .../common/ApplicationServiceHolder.java | 46 +++++++-------- .../common/factory/OSGIServiceFactory.java | 54 ----------------- ...anizationManagementOSGIServiceFactory.java | 55 ----------------- .../pom.xml | 9 +-- .../rest/api/user/application/v1/MeApi.java | 41 +++++++------ .../v1/factories/MeApiServiceFactory.java | 42 ++++++++----- .../v1/core/ApplicationService.java | 29 +++++---- .../factories/ApplicationServiceFactory.java | 59 +++++++++++++++++++ .../application/v1/impl/MeApiServiceImpl.java | 31 ++++++---- .../META-INF/cxf/application-user-v1-cxf.xml | 33 ----------- 11 files changed, 171 insertions(+), 237 deletions(-) delete mode 100644 components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/src/main/java/org/wso2/carbon/identity/api/user/application/common/factory/OSGIServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/src/main/java/org/wso2/carbon/identity/api/user/application/common/factory/OrganizationManagementOSGIServiceFactory.java create mode 100644 components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/src/main/java/org/wso2/carbon/identity/rest/api/user/application/v1/factories/ApplicationServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/src/main/resources/META-INF/cxf/application-user-v1-cxf.xml diff --git a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml index 9dd2d72b8..83f1e12ac 100644 --- a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml +++ b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml @@ -1,8 +1,8 @@ - - - - - - - - - - -