Expose Provide-Capability from aaa-cert 51/109951/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 24 Jan 2024 12:23:50 +0000 (13:23 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 24 Jan 2024 12:24:20 +0000 (13:24 +0100)
Downstreams are interested in using ICertificateManager via OSGi DS.
Make sure we expose Provide-Capability to satisfy the Require-Capability
such use generates.

JIRA: AAA-268
Change-Id: Ibae9e6e19ec470c20c9c7a886db0b07af6556dfa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-cert/pom.xml

index 07e799b03dd619d2dc2faf5febd661bcefd78f00..dec156e178dfa006e5fde1a26845469824fefe3c 100644 (file)
@@ -57,6 +57,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
               org.opendaylight.aaa.cert.impl.*,
               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
             </Export-Package>
+            <Provide-Capability>
+              osgi.service;objectClass:List&lt;String&gt;="org.opendaylight.aaa.cert.api.ICertificateManager";uses:="org.opendaylight.aaa.cert.api"
+            </Provide-Capability>
           </instructions>
         </configuration>
       </plugin>