Convert AAAEncryptionServiceImpl to OSGi DS 54/104254/2
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 5 Feb 2023 16:01:12 +0000 (17:01 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Feb 2023 09:20:27 +0000 (10:20 +0100)
commit977b2fc98c180bdb142db4cce5c0bd6fa377b1fc
tree20f467f4b17f9e5735e61d188584f2a65f0aa2be
parent9328fafd20f2a093d835f6496d7a652ff71ee008
Convert AAAEncryptionServiceImpl to OSGi DS

Inject the intended configuration to Service Registry and pick it up
from there, allowing users to rely on the service being provided by OSGi
DS.

Since the configuration is provided by Blueprint, we need to explicitly
mention it in Provide-Capability.

JIRA: AAA-250
Change-Id: Id6b33f8b0aa75e72321022ebf085bf89659cca42
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-encrypt-service/impl/pom.xml
aaa-encrypt-service/impl/src/main/java/org/opendaylight/aaa/encrypt/impl/AAAEncryptionServiceConfigurator.java
aaa-encrypt-service/impl/src/main/java/org/opendaylight/aaa/encrypt/impl/AAAEncryptionServiceImpl.java
aaa-encrypt-service/impl/src/main/java/org/opendaylight/aaa/encrypt/impl/EncryptServiceConfigSupplier.java [new file with mode: 0644]
aaa-encrypt-service/impl/src/main/resources/OSGI-INF/blueprint/encryptservice.xml