From d2b59367d1204b7459baaf5b57de6d3e2eeb0992 Mon Sep 17 00:00:00 2001 From: YasasRangika Date: Wed, 3 Jul 2024 15:51:22 +0530 Subject: [PATCH] Add changes for https://github.com/wso2/api-manager/issues/2943 --- .../pom.xml | 9 +++++++++ .../pom.xml | 3 +++ .../pom.xml | 3 +++ .../pom.xml | 7 +++++++ .../pom.xml | 4 ++++ .../pom.xml | 4 ++++ 6 files changed, 30 insertions(+) diff --git a/components/org.wso2.carbon.identity.organization.management.application/pom.xml b/components/org.wso2.carbon.identity.organization.management.application/pom.xml index 2ba312638..3840a991e 100644 --- a/components/org.wso2.carbon.identity.organization.management.application/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.application/pom.xml @@ -169,6 +169,15 @@ org.wso2.carbon.identity.event.event; version="${carbon.identity.package.import.version.range}", org.wso2.carbon.identity.event; version="${carbon.identity.package.import.version.range}", + + osgi.service;objectClass=org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService, + osgi.service;objectClass=org.wso2.carbon.identity.application.mgt.ApplicationManagementService, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationManage, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationUserResidentResolverService, + osgi.service;objectClass=org.wso2.carbon.idp.mgt.IdpManager, + osgi.service;objectClass=org.wso2.carbon.identity.claim.metadata.mgt.ClaimMetadataManagementService + diff --git a/components/org.wso2.carbon.identity.organization.management.authz.service/pom.xml b/components/org.wso2.carbon.identity.organization.management.authz.service/pom.xml index cdb7ab6f6..3dcc98072 100644 --- a/components/org.wso2.carbon.identity.organization.management.authz.service/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.authz.service/pom.xml @@ -108,6 +108,9 @@ org.wso2.carbon.user.core.tenant;version="${carbon.kernel.package.import.version.range}", org.wso2.carbon.context;version="${carbon.kernel.package.import.version.range}", + + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService + diff --git a/components/org.wso2.carbon.identity.organization.management.ext/pom.xml b/components/org.wso2.carbon.identity.organization.management.ext/pom.xml index 329410094..de3153289 100644 --- a/components/org.wso2.carbon.identity.organization.management.ext/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.ext/pom.xml @@ -100,6 +100,9 @@ org.wso2.carbon.identity.organization.management.service.listener; version="${org.wso2.identity.organization.mgt.core.imp.pkg.version.range}", org.wso2.carbon.identity.event.*; version="${carbon.identity.package.import.version.range}" + + osgi.service;objectClass=org.wso2.carbon.identity.event.services.IdentityEventService + diff --git a/components/org.wso2.carbon.identity.organization.management.role.management.service/pom.xml b/components/org.wso2.carbon.identity.organization.management.role.management.service/pom.xml index 4fbd8e29b..c7a0f898e 100644 --- a/components/org.wso2.carbon.identity.organization.management.role.management.service/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.role.management.service/pom.xml @@ -93,6 +93,13 @@ org.wso2.carbon.user.core.common; version="${carbon.user.core.imp.pkg.version.range}", org.wso2.carbon.user.core.service; version="${carbon.user.core.imp.pkg.version.range}", + + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationManager, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.listener.OrganizationManagerListener, + osgi.service;objectClass=org.wso2.carbon.tenant.mgt.services.TenantMgtService, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationUserResidentResolverServic + diff --git a/components/org.wso2.carbon.identity.organization.management.tenant.association/pom.xml b/components/org.wso2.carbon.identity.organization.management.tenant.association/pom.xml index 20ca8ec92..8b2880f6f 100644 --- a/components/org.wso2.carbon.identity.organization.management.tenant.association/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.tenant.association/pom.xml @@ -80,6 +80,10 @@ org.wso2.carbon.identity.organization.management.service.exception;version="${org.wso2.identity.organization.mgt.core.imp.pkg.version.range}", org.wso2.carbon.identity.organization.management.service.util;version="${org.wso2.identity.organization.mgt.core.imp.pkg.version.range}", + + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.role.management.service.RoleManager, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService + diff --git a/components/org.wso2.carbon.identity.organization.management.tomcat.ext.tenant.resolver/pom.xml b/components/org.wso2.carbon.identity.organization.management.tomcat.ext.tenant.resolver/pom.xml index aa6e685e9..e0925d0e7 100644 --- a/components/org.wso2.carbon.identity.organization.management.tomcat.ext.tenant.resolver/pom.xml +++ b/components/org.wso2.carbon.identity.organization.management.tomcat.ext.tenant.resolver/pom.xml @@ -103,6 +103,10 @@ org.wso2.carbon.tomcat.ext.utils;version="${carbon.kernel.package.import.version.range}", org.wso2.carbon.tomcat.ext.valves;version="${carbon.kernel.package.import.version.range}", + + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationManager, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationManagementInitializ +