From 2c1f6446f71c37760b1f79c4bc43320d687d3c9d Mon Sep 17 00:00:00 2001 From: KaveeshaPiumini Date: Wed, 16 Oct 2024 14:35:19 +0530 Subject: [PATCH] [Spring Cleanup] Remove Spring dependencies in the User Organization Management API --- .../pom.xml | 7 +- .../common/UserOrganizationServiceHolder.java | 65 ++++++++----------- ...plicationManagementOSGIServiceFactory.java | 54 --------------- ...anizationManagementOSGIServiceFactory.java | 53 --------------- ...serResidentResolverOSGIServiceFactory.java | 56 ---------------- .../pom.xml | 7 +- .../rest/api/user/organization/v1/MeApi.java | 13 ++-- .../api/user/organization/v1/RootApi.java | 13 ++-- .../v1/factories/MeApiServiceFactory.java | 6 +- .../v1/factories/RootApiServiceFactory.java | 6 +- .../v1/core/UserOrganizationService.java | 22 +++++-- .../UserOrganizationServiceFactory.java | 64 ++++++++++++++++++ .../v1/impl/MeApiServiceImpl.java | 15 +++-- .../v1/impl/RootApiServiceImpl.java | 15 +++-- .../META-INF/cxf/user-organization-v1-cxf.xml | 38 ----------- 15 files changed, 153 insertions(+), 281 deletions(-) delete mode 100644 components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/src/main/java/org/wso2/carbon/identity/api/user/organization/common/factory/ApplicationManagementOSGIServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/src/main/java/org/wso2/carbon/identity/api/user/organization/common/factory/OrganizationManagementOSGIServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/src/main/java/org/wso2/carbon/identity/api/user/organization/common/factory/OrganizationUserResidentResolverOSGIServiceFactory.java create mode 100644 components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/src/main/java/org/wso2/carbon/identity/rest/api/user/organization/v1/factories/UserOrganizationServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/src/main/resources/META-INF/cxf/user-organization-v1-cxf.xml diff --git a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml index c4abaa797..ee94d24a4 100644 --- a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml +++ b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml @@ -1,6 +1,6 @@ - - - - - - - - - - - - - - -