From 8dcc10928ebb423d5dd09d416aa60d1148c49ee8 Mon Sep 17 00:00:00 2001 From: YasasRangika Date: Wed, 3 Jul 2024 10:26:33 +0530 Subject: [PATCH] Add changes for https://github.com/wso2/api-manager/issues/2943 --- components/email-mgt/org.wso2.carbon.email.mgt/pom.xml | 5 +++++ .../pom.xml | 9 +++++++++ .../pom.xml | 5 +++++ 3 files changed, 19 insertions(+) diff --git a/components/email-mgt/org.wso2.carbon.email.mgt/pom.xml b/components/email-mgt/org.wso2.carbon.email.mgt/pom.xml index 63c01611..3cdfa817 100644 --- a/components/email-mgt/org.wso2.carbon.email.mgt/pom.xml +++ b/components/email-mgt/org.wso2.carbon.email.mgt/pom.xml @@ -144,6 +144,11 @@ org.wso2.carbon.identity.base; version="${carbon.identity.framework.imp.pkg.version.range}", org.wso2.carbon.identity.governance.*;version="${identity.governance.imp.pkg.version.range}" + + osgi.service;objectClass=org.wso2.carbon.identity.core.persistence.registry.RegistryResourceMgtService, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService + diff --git a/components/event-handler-notification/org.wso2.carbon.identity.event.handler.notification/pom.xml b/components/event-handler-notification/org.wso2.carbon.identity.event.handler.notification/pom.xml index ad54a4b0..1d78a60b 100644 --- a/components/event-handler-notification/org.wso2.carbon.identity.event.handler.notification/pom.xml +++ b/components/event-handler-notification/org.wso2.carbon.identity.event.handler.notification/pom.xml @@ -181,6 +181,15 @@ org.wso2.carbon.identity.organization.management.service.constant;version="${org.wso2.identity.organization.mgt.core.imp.pkg.version.range}", org.wso2.carbon.identity.organization.management.service.exception;version="${org.wso2.identity.organization.mgt.core.imp.pkg.version.range}", + + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService, + osgi.service;objectClass=org.wso2.carbon.event.stream.core.EventStreamService, + osgi.service;objectClass=org.wso2.carbon.event.publisher.core.EventPublisherService, + osgi.service;objectClass=org.wso2.carbon.email.mgt.EmailTemplateManager, + osgi.service;objectClass=org.wso2.carbon.identity.governance.service.notification.NotificationTemplateManager, + osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationManager + diff --git a/components/notification-sender-config/org.wso2.carbon.identity.notification.sender.tenant.config/pom.xml b/components/notification-sender-config/org.wso2.carbon.identity.notification.sender.tenant.config/pom.xml index 5fa8a1ae..deb7fdca 100644 --- a/components/notification-sender-config/org.wso2.carbon.identity.notification.sender.tenant.config/pom.xml +++ b/components/notification-sender-config/org.wso2.carbon.identity.notification.sender.tenant.config/pom.xml @@ -113,6 +113,11 @@ org.wso2.carbon.identity.tenant.resource.manager.util; version="${identity.governance.imp.pkg.version.range}", org.wso2.carbon.utils; version="${carbon.kernel.imp.pkg.version.range}" + + osgi.service;objectClass=org.wso2.carbon.event.publisher.core.EventPublisherService, + osgi.service;objectClass=org.wso2.carbon.identity.configuration.mgt.core.ConfigurationManager, + osgi.service;objectClass=org.wso2.carbon.identity.notification.sender.tenant.config.handlers.ChannelConfigurationHandler +