From 765b7185c1a9411aa2c49bf736e0b480b690b963 Mon Sep 17 00:00:00 2001 From: NipuniBhagya Date: Sat, 26 Oct 2024 14:23:31 +0530 Subject: [PATCH] Remove Spring dependencies in user organization API --- .../pom.xml | 7 +- .../common/UserOrganizationServiceHolder.java | 66 ++++++------- ...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 | 20 ++-- .../v1/factories/RootApiServiceFactory.java | 20 ++-- .../v1/core/UserOrganizationService.java | 43 ++++----- .../UserOrganizationServiceFactory.java | 93 +++++++++++++++++++ .../v1/impl/MeApiServiceImpl.java | 16 +++- .../v1/impl/RootApiServiceImpl.java | 16 +++- .../META-INF/cxf/user-organization-v1-cxf.xml | 38 -------- 15 files changed, 209 insertions(+), 306 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 @@ - - - - - - - - - - - - - - -