Skip to content

Commit

Permalink
Add changes for wso2/api-manager#2943
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Jul 3, 2024
1 parent c96d4f8 commit 8ad0483
Show file tree
Hide file tree
Showing 17 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@
org.wso2.carbon.utils.*,
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.service.mgt.ServiceAdmin,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
org.osgi.service.component.*;version="${imp.package.version.osgi.services}",
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
org.osgi.framework,
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
8 changes: 8 additions & 0 deletions components/mediation-admin/org.wso2.carbon.endpoint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
8 changes: 8 additions & 0 deletions components/mediation-admin/org.wso2.carbon.localentry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@
javax.xml.soap; version="${javax.xml.soap.imp.pkg.version}",
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.base.api.ServerConfigurationService,
osgi.service;objectClass=org.wso2.carbon.securevault.SecretCallbackHandlerService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@
org.wso2.carbon.registry.core.service; version="${carbon.kernel.registry.imp.pkg.version}",
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
org.wso2.carbon.registry.core.service; version="${carbon.kernel.registry.imp.pkg.version}",
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.mediator.service.MediatorService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
org.osgi.service.component.*;version="${imp.package.version.osgi.services}",
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.service.mgt.ServiceAdmin,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@
org.wso2.carbon.message.store.service.*,
org.wso2.carbon.message.store.util.*
</Private-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.service.mgt.ServiceAdmin,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@
org.apache.commons.logging.*; version="${import.package.version.commons.logging}",
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
6 changes: 6 additions & 0 deletions components/mediation-admin/org.wso2.carbon.task/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.task.services.JobMetaDataProviderService,
osgi.service;objectClass=org.wso2.carbon.task.services.TaskDescriptionRepositoryService,
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.apache.synapse.task.service.TaskManagementService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,19 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.application.deployer.service.ApplicationManagerService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.mediation.registry.services.SynapseRegistryService,
osgi.service;objectClass=org.wso2.carbon.task.services.TaskDescriptionRepositoryService,
osgi.service;objectClass=org.wso2.carbon.task.services.TaskSchedulerService,
osgi.service;objectClass=org.wso2.carbon.securevault.SecretCallbackHandlerService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.ConfigurationTrackingService,
osgi.service;objectClass=org.wso2.carbon.event.core.EventBroker,
osgi.service;objectClass=org.wso2.carbon.mediation.ntask.internal.NtaskService,
osgi.service;objectClass=org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Fragment-Host>synapse-core</Fragment-Host>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.event.core.EventBroker
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down

0 comments on commit 8ad0483

Please sign in to comment.