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 8, 2024
1 parent 8ad0483 commit 08bd70d
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
*;resolution:=optional
</Import-Package>
<WSO2-Application-Deployer>Synapse App Deployer</WSO2-Application-Deployer>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
org.wso2.carbon.application.mgt.synapse
</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService,
osgi.service;objectClass=org.wso2.carbon.application.deployer.service.ApplicationManagerService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,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 @@ -28,6 +28,9 @@
</Import-Package>
<DynamicImport-Package>*
</DynamicImport-Package> <!-- TODO: remove this after adding all imports-->
<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 @@ -55,6 +55,10 @@
</Import-Package>
<DynamicImport-Package>*
</DynamicImport-Package> <!-- TODO: remove this after adding all imports-->
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
6 changes: 6 additions & 0 deletions components/mediation-admin/org.wso2.carbon.proxyadmin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@
<!--<Private-Package>-->
<!--org.wso2.carbon.proxyadmin.*-->
<!--</Private-Package>-->
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
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.registry.core.service.RegistryService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
8 changes: 8 additions & 0 deletions components/mediation-admin/org.wso2.carbon.rest.api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,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.sequences/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,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 @@ -103,6 +103,10 @@
<Private-Package>
org.wso2.carbon.mediation.configadmin.*
</Private-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService,
osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.ConfigurationTrackingService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,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.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.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 @@ -40,6 +40,12 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
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
5 changes: 5 additions & 0 deletions components/mediation-ntask/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.ntask.core.service.TaskService,
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService,
osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
4 changes: 4 additions & 0 deletions components/mediation-throttle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService,
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 @@ -52,6 +52,9 @@
org.osgi.service.component.*;version="${imp.package.version.osgi.services}",
*;resolution:=optional
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
4 changes: 4 additions & 0 deletions components/org.wso2.carbon.integrator.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
org.wso2.carbon.utils;version="${carbon.kernel.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.tomcat.api.CarbonTomcatService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down

0 comments on commit 08bd70d

Please sign in to comment.