replace web.xml with programmatic registration 39/70339/2
authorMichael Vorburger <vorburger@redhat.com>
Mon, 26 Feb 2018 13:45:53 +0000 (14:45 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 4 Apr 2018 18:30:48 +0000 (18:30 +0000)
commit775169809fb4b3f05f164a104c93cd8d7257c7c9
treee920b57da0b0d840a4177398a20b98bcbe319712
parent9452a8615d898e38eee80d803bdab3ba69fbe9ed
replace web.xml with programmatic registration

this is just the first step; once this is in,
we can replace much of the static etc. and directly
wire the web components and the OSGi beans and services.

The blueprint.xml is needed because of the weird AAA-170
issue with the pax-cdi-api @OsgiService annotation.

Using change Ia3a16df71384610a75acf3d28205c973c554d477
in AAA, we directly use the WebContextSecurer instead of
relying on aaa-shiro in code because that makes Neutron
code de-coupled from AAA (as it should be) and prevents
the KarafIniWebEnvironment dead-lock, see AAA-171.

Change-Id: I1dc13069b7e0ec456941f523e9dd4d560841f3e6
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
northbound-api/pom.xml
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/WebInitializer.java [new file with mode: 0644]
northbound-api/src/main/resources/WEB-INF/web.xml [deleted file]
northbound-api/src/main/resources/org/opendaylight/blueprint/blueprint.xml [new file with mode: 0644]
transcriber/pom.xml