Convert bierman02 from web.xml to programmtic web API 61/71061/2
authorTom Pantelis <tompantelis@gmail.com>
Wed, 18 Apr 2018 01:39:22 +0000 (21:39 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 18 Apr 2018 02:26:15 +0000 (22:26 -0400)
commite7a2fe98883583c39f7b98945e91aa9bd5d0edb4
tree918bf8580ab0987970d1458b7d875125919e12e1
parent26910f0052a4ac3022067f33ceccf4b056004691
Convert bierman02 from web.xml to programmtic web API

To handle auth vs noauth, 2 new bundles were added that
import a new Bierman02WebRegistrar service advertised by
the restconf-nb-bierman02 bundle and simply invoke the
appropriate register*Authentication method.

The odl-restconf no longer installs odl-restconf-noauth nor
the aaa-shiro-act bundle. Both bundles install a new
odl-restconf-base feature and their respective
restconf-nb-bierman02-auth/restconf-nb-bierman02-noauth
bundle.

Change-Id: I93f58e791d8b9666083bd379c99a548bff6e8971
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
22 files changed:
features/restconf/odl-restconf-base/pom.xml [new file with mode: 0644]
features/restconf/odl-restconf-noauth/pom.xml
features/restconf/odl-restconf/pom.xml
features/restconf/pom.xml
restconf/pom.xml
restconf/restconf-common/pom.xml
restconf/restconf-nb-bierman02-auth/pom.xml [new file with mode: 0644]
restconf/restconf-nb-bierman02-auth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/auth/WebInitializer.java [new file with mode: 0644]
restconf/restconf-nb-bierman02-auth/src/main/resources/org/opendaylight/blueprint/bierman02-auth.xml [new file with mode: 0644]
restconf/restconf-nb-bierman02-noauth/pom.xml [new file with mode: 0644]
restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java [new file with mode: 0644]
restconf/restconf-nb-bierman02-noauth/src/main/resources/org/opendaylight/blueprint/bierman02-noauth.xml [new file with mode: 0644]
restconf/restconf-nb-bierman02/pom.xml
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfApplication.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/BrokerFacade.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/StatisticsRestconfServiceWrapper.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/web/Bierman02WebRegistrar.java [new file with mode: 0644]
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/web/Bierman02WebRegistrarImpl.java [new file with mode: 0644]
restconf/restconf-nb-bierman02/src/main/resources/WEB-INF/web.xml [deleted file]
restconf/restconf-nb-bierman02/src/main/resources/org/opendaylight/blueprint/restconf-config.xml
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/BrokerFacadeTest.java