From ebd5681331a1e33c7859e82e2691894a7ea1822e Mon Sep 17 00:00:00 2001 From: Nipuni Paaris Date: Mon, 9 Dec 2024 15:41:36 +0530 Subject: [PATCH] [Spring Cleanup] Remove Spring dependencies in the input validation rules API (#701) * Remove Spring dependencies in the input validation API * Resolve PR comments --- .../pom.xml | 7 +-- .../common/InputValidationServiceHolder.java | 23 ++++---- .../InputValidationOSGiServiceFactory.java | 54 ------------------- .../pom.xml | 7 +-- .../validation/v1/ValidationRulesApi.java | 13 +++-- .../ValidationRulesApiServiceFactory.java | 6 +-- .../ValidationRulesManagementApiService.java | 42 ++++++++------- ...ationRulesManagementApiServiceFactory.java | 52 ++++++++++++++++++ .../impl/ValidationRulesApiServiceImpl.java | 32 +++++++---- .../cxf/input-validation-server-v1-cxf.xml | 29 ---------- 10 files changed, 120 insertions(+), 145 deletions(-) delete mode 100644 components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.common/src/main/java/org/wso2/carbon/identity/api/server/input/validation/common/factory/InputValidationOSGiServiceFactory.java create mode 100644 components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.v1/src/main/java/org/wso2/carbon/identity/api/server/input/validation/v1/factories/ValidationRulesManagementApiServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.v1/src/main/resources/META-INF/cxf/input-validation-server-v1-cxf.xml diff --git a/components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.common/pom.xml b/components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.common/pom.xml index a890d91028..9d4e68bbef 100644 --- a/components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.common/pom.xml +++ b/components/org.wso2.carbon.identity.api.server.input.validation/org.wso2.carbon.identity.api.server.input.validation.common/pom.xml @@ -1,6 +1,6 @@ - - - - - - - - - - - -