Convert yanglib to OSGi DS 19/103919/18
authorOleksandrZharov <Oleksandr.Zharov@pantheon.tech>
Wed, 4 Jan 2023 09:05:07 +0000 (10:05 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 4 Jul 2023 21:42:48 +0000 (23:42 +0200)
commit1754e90a9c72ab400ac15ad2d44ba31eeab317ef
tree766c5b5724c58ee9bcfc67b809cded63745d8afd
parent1c4471b5db537d4c492f50df9e4532269c89291a
Convert yanglib to OSGi DS

This is a rather simple component, convert it to OSGi DS, along with
configuration in Config Admin. This means we are removing an initial
configuration XML and replacing it with defaults in
ObjectClassDefinition.

Further changes entail:
- renaming WebInitialized to JaxRsYangLib to make it clear the component
  is a JAX-RS specific thing
- fixing up pom.xml dependency declarations to eliminate maven warnings

Finally we update the documetation to make sure we do not have stale
references.

JIRA: NETCONF-772
Change-Id: I1ef32510c7acf134d8d548003fc607e2800d235e
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 files changed:
artifacts/pom.xml
docs/user-guide.rst
features/odl-yanglib/pom.xml
features/odl-yanglib/src/main/feature/feature.xml
netconf/yanglib/pom.xml
netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/JaxRsYangLib.java [moved from netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/WebInitializer.java with 62% similarity]
netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java
netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibRestApp.java
netconf/yanglib/src/main/resources/OSGI-INF/blueprint/yanglib.xml [deleted file]
netconf/yanglib/src/main/resources/initial/yanglib-config.xml [deleted file]
netconf/yanglib/src/main/yang/yanglib.yang [deleted file]
netconf/yanglib/src/test/java/org/opendaylight/yanglib/impl/YangLibProviderTest.java