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 7bd4849 commit 5474ff7
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@
!org.wso2.carbon.identity.application.mgt.internal,
org.wso2.carbon.identity.application.mgt.*; version="${carbon.identity.package.export.version}"
</Export-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.identity.organization.management.service.OrganizationUserResidentResolverService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<artifactId>org.wso2.carbon.identity.user.profile</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down Expand Up @@ -232,7 +232,6 @@
<Import-Package>
javax.xml.namespace,
javax.xml.stream,
org.eclipse.equinox.http.helper,

javax.servlet.*; version="${imp.pkg.version.javax.servlet}",
org.apache.axiom.*; version="${axiom.osgi.version.range}",
Expand Down Expand Up @@ -284,6 +283,14 @@
<ListenerManager-RequiredServices>
org.wso2.carbon.identity.application.authentication.framework.ApplicationAuthenticationService
</ListenerManager-RequiredServices>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.consent.mgt.core.ConsentManager,
osgi.service;objectClass=org.wso2.carbon.identity.application.authentication.framework.ApplicationAuthenticator,
osgi.service;objectClass=org.wso2.carbon.identity.claim.metadata.mgt.ClaimMetadataManagementService,
osgi.service;objectClass=org.wso2.carbon.identity.functions.library.mgt.FunctionLibraryManagementService,
osgi.service;objectClass=org.wso2.carbon.identity.user.profile.mgt.association.federation.FederatedAssociationManager,
osgi.service;objectClass=org.wso2.carbon.idp.mgt.IdpManager
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
org.apache.commons.collections; version="${commons-collections.wso2.osgi.version.range}",
org.slf4j; version="${org.slf4j.imp.pkg.version.range}",
</Import-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.identity.event.services.IdentityEventService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
3 changes: 3 additions & 0 deletions components/claim-mgt/org.wso2.carbon.claim.mgt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
!org.wso2.carbon.claim.mgt.internal,
org.wso2.carbon.claim.mgt.*;version="${carbon.identity.package.export.version}",
</Export-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.identity.core.util.IdentityCoreInitializedEvent
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<artifactId>org.wso2.carbon.tenant.common</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<artifactId>org.wso2.carbon.identity.configuration.mgt.core</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
4 changes: 3 additions & 1 deletion components/identity-mgt/org.wso2.carbon.identity.mgt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
javax.xml.stream; version="${equinox.osgi.stax-api.imp.pkg.version.range}",

org.apache.axiom.*; version="${axiom.osgi.version.range}",
org.apache.axis2.transport.mail; version="${org.apache.axis2.transport.mail.version.range}",
org.apache.axis2.*; version="${axis2.osgi.version.range}",
org.apache.neethi; version="${neethi.osgi.version.range}",
org.apache.commons.logging; version="${import.package.version.commons.logging}",
Expand All @@ -170,6 +169,9 @@
org.wso2.carbon.identity.application.authentication.framework.*; version="${carbon.identity.package.import.version.range}"
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.identity.notification.mgt.NotificationSender
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<dependencies>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<artifactId>org.wso2.carbon.user.core</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<artifactId>org.wso2.carbon.identity.central.log.mgt</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<dependencies>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
</build>
<dependencies>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
</build>
<dependencies>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@
org.wso2.carbon.identity.user.profile.mgt.*;
version="${carbon.identity.package.export.version}"
</Export-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.user.core.UserRealm
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
<Import-Package>
javax.xml.namespace,
javax.xml.stream,
org.eclipse.equinox.http.helper,

javax.servlet.*; version="${imp.pkg.version.javax.servlet}",
org.apache.axiom.*; version="${axiom.osgi.version.range}",
Expand Down
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@
<version>${encoder-jsp.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
<version>${equinox.osgi.services.version}</version>
</dependency>
Expand Down Expand Up @@ -1787,7 +1787,7 @@
<osgi.service.http.imp.pkg.version.range>[1.2.1, 2.0.0)</osgi.service.http.imp.pkg.version.range>
<osgi.framework.imp.pkg.version.range>[1.7.0, 2.0.0)</osgi.framework.imp.pkg.version.range>
<osgi.util.tracker.imp.pkg.version.range>[1.5.1, 2.0.0)</osgi.util.tracker.imp.pkg.version.range>
<equinox.osgi.services.version>3.5.100.v20160504-1419</equinox.osgi.services.version>
<equinox.osgi.services.version>3.12.0</equinox.osgi.services.version>
<apache.felix.scr.ds.annotations.version>1.2.8</apache.felix.scr.ds.annotations.version>

<!--Carbon commons version-->
Expand Down Expand Up @@ -1821,9 +1821,8 @@
<axis2.osgi.version.range>[1.6.1.wso2v38, 2.0.0)</axis2.osgi.version.range>
<orbit.version.wsdl4j>1.6.2.wso2v4</orbit.version.wsdl4j>
<orbit.version.neethi>2.0.4.wso2v5</orbit.version.neethi>
<axis2-transports.version>2.0.0-wso2v42</axis2-transports.version>
<axis2-transports.version>2.0.0-wso2v70-SNAPSHOT</axis2-transports.version>
<axis2-transports.version.range>[2.0.0-wso2v38,3.0.0)</axis2-transports.version.range>
<org.apache.axis2.transport.mail.version.range>[0.0.0,1.0.0)</org.apache.axis2.transport.mail.version.range>

<!-- Axiom Version -->
<axiom.version>1.2.11-wso2v16</axiom.version>
Expand All @@ -1845,7 +1844,7 @@

<!-- Servlet API -->
<exp.pkg.version.javax.servlet>2.6.0</exp.pkg.version.javax.servlet>
<imp.pkg.version.javax.servlet>[2.6.0, 3.0.0)</imp.pkg.version.javax.servlet>
<imp.pkg.version.javax.servlet>[2.6.0, 5.0.0)</imp.pkg.version.javax.servlet>

<!-- Misc -->
<carbon.p2.plugin.version>5.1.2</carbon.p2.plugin.version>
Expand Down

0 comments on commit 5474ff7

Please sign in to comment.