Clean up Root Resource Discovery implementation 90/96190/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 14 May 2021 18:05:04 +0000 (20:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 14 May 2021 18:07:24 +0000 (20:07 +0200)
commitc7943b8ca32b668d1999175d54da044ad784bb24
treecd42492b9f69c661517554e0fa6512a1a8eb2605
parent262dccf3fcadbcf4c3563d9d17301b4597270421
Clean up Root Resource Discovery implementation

Move the implementation to other service implementations and make sure
it has configurable root -- which should be coming from WebInitializer.

JIRA: NETCONF-773
Change-Id: I1fd8936d622c0ee51bd151a0ebd34b05dd76d2b0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/RootFoundApplication.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RootResourceDiscoveryServiceImpl.java [new file with mode: 0644]
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/services/wrapper/RootResourceDiscoveryServiceImpl.java [deleted file]
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/web/WebInitializer.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RootResourceDiscoveryServiceTest.java [new file with mode: 0644]
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/wrapper/RRDSImplTest.java [deleted file]