summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Michael Vorburger [Wed, 25 Apr 2018 15:09:48 +0000 (17:09 +0200)]
deactivate AAA related test and comment out code to pass build
I've now lost interest in AAA. We don't need it, for now, for this.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 25 Apr 2018 14:36:38 +0000 (16:36 +0200)]
bump ODL versions (still NOK)
Needs clean up, because a lot re. this has meanwhile gone in upstream!
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 22 Mar 2018 18:17:20 +0000 (19:17 +0100)]
link to recent simple-dist_web
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger ⛑️ [Tue, 20 Feb 2018 03:39:42 +0000 (04:39 +0100)]
Update README.md
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 15 Feb 2018 21:52:48 +0000 (22:52 +0100)]
add NeutronE2ETest {failing, WIP}
at the time of committing this, it requires a series of not yet merged
changes proposed to the Neutron project to extract the test logic from
its Karaf IT.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 15 Feb 2018 21:51:18 +0000 (22:51 +0100)]
fix minor issues found by error-prone
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 15 Feb 2018 18:49:57 +0000 (19:49 +0100)]
add getBaseURL() to WebContextProvider
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 15 Feb 2018 00:14:03 +0000 (01:14 +0100)]
add WebContextProviderOSGiImplTest {WIP}
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 15 Feb 2018 00:08:13 +0000 (01:08 +0100)]
split JettyLauncherTest extends WebContextTest
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 23:51:54 +0000 (00:51 +0100)]
WebContextProviderOSGiImpl using WebContainer instead of HttpService
This will later have to tested with an IT ..
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 23:16:16 +0000 (00:16 +0100)]
comment out WebContext getServletContext()
because it's probably never really needed, and it could not be
implemented when we delegate to OSGi HttpService / Pax Web Container.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 22:37:39 +0000 (23:37 +0100)]
add TODO to WebContext re. re-writing it using Immutables.org Builder
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 22:36:54 +0000 (23:36 +0100)]
minor tweak in WebWiringTest
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 22:36:33 +0000 (23:36 +0100)]
fix registerListener(), with @Test testRegisterListener
similar to registerFilter() before
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 20:45:28 +0000 (21:45 +0100)]
test addContextParam() - it was right, but made it consistent
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 20:36:06 +0000 (21:36 +0100)]
fix registerFilter() and now use CrossOriginFilter in NeutronWiring
It turns out that handler.getServletContext().addFilter() throws an
IllegalStateException once that we have start()'ed once, so that's no
good - it's best NOT to use the Servlet API but directly Jetty's native
API.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 19:22:04 +0000 (20:22 +0100)]
fixed registerFilter() incl. testAddFilter()
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 19:18:19 +0000 (20:18 +0100)]
duh... we need @Singleton on *ALL* @Provides to avoid double starts!
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 18:58:58 +0000 (19:58 +0100)]
using @Singleton @Provides avoids having to @Inject
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 16:02:51 +0000 (17:02 +0100)]
add NeutronSimpleDistributionTest
TODO: Get filter working (easy), get Neutron IT to pass this! (...)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 15:52:23 +0000 (16:52 +0100)]
made WebContext registerXYZ() methods return this for nice chaining
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 15:17:36 +0000 (16:17 +0100)]
rename package simple.jetty.test to simple.web.test
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 15:07:04 +0000 (16:07 +0100)]
JettyLauncher implements WebContextProvider
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 13:59:31 +0000 (14:59 +0100)]
move JettyLauncher from simple.jetty to simple.web.impl
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 13:55:39 +0000 (14:55 +0100)]
adapt HttpServiceWebContextImpl (not sure if this will be useful)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 11:59:47 +0000 (12:59 +0100)]
move simple.osgi.HttpServiceImpl to web.osgi.impl.*WebContextImpl
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 11:57:50 +0000 (12:57 +0100)]
add WebContextProviderOSGiImpl (not sure if this will be useful)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 11:55:56 +0000 (12:55 +0100)]
outline new WebContext API (without implementation, yet)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 02:17:59 +0000 (03:17 +0100)]
add working WebWiringTest illustrating ServletContextProvider in Guice
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 01:42:04 +0000 (02:42 +0100)]
fix JettyLauncher single handler problem, with new test
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 14 Feb 2018 01:18:37 +0000 (02:18 +0100)]
ServletContextProvider and JettyLauncher now with OPTIONAL web.xml
the JettyLauncher can now EITHER scan for web.xml on classpath, OR it
can be programmatically configured via the new ServletContextProvider
service API (similar to OSGi's HttpService)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 13 Feb 2018 21:51:18 +0000 (22:51 +0100)]
{WIP} AAAWiring incl. Test
but it gets stuck (dead locked) in
org.opendaylight.aaa.shiro.web.env.KarafIniWebEnvironment.init()
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 13 Feb 2018 21:50:51 +0000 (22:50 +0100)]
OsgiServicesWiring for HttpService (with throws TODO)
used in currently still broken AAA; may remove this again later
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 13 Feb 2018 21:47:51 +0000 (22:47 +0100)]
WebWiring
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 7 Feb 2018 21:12:14 +0000 (22:12 +0100)]
make JettyLauncher able to handle multiple web.xml and contexts
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 7 Feb 2018 20:32:29 +0000 (21:32 +0100)]
simplify Jetty related code by removing web fragment content support
the WEB_TAG_FILE thing for static web content in JARs which I
implemented many (many) moons ago is not required anymore for what I'm
after here, so remove that and simplify.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 7 Feb 2018 20:17:39 +0000 (21:17 +0100)]
minor first clean up of Jetty related code
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 7 Feb 2018 14:56:41 +0000 (15:56 +0100)]
working POC for embedding Jetty!!
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 15:51:40 +0000 (16:51 +0100)]
use SimpleDOMEntityOwnershipService (TX tpantelis)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 01:13:34 +0000 (02:13 +0100)]
fix DiagStatusWiringTest; but DiagStatusWiring will likely evolve
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 01:12:47 +0000 (02:12 +0100)]
fix MainTest now needs ReadyWiring
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 01:07:47 +0000 (02:07 +0100)]
@Ignore Netvirt; for now, let's focus on genius
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 01:07:27 +0000 (02:07 +0100)]
suppress dumb FindBugs in ControllerWiring
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 01:02:44 +0000 (02:02 +0100)]
POM stuff to make it build on mvn CLI and not just in Eclipse
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 00:44:55 +0000 (01:44 +0100)]
<duplicate-finder.skip>true, for now (until odlparent is sorted)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 31 Jan 2018 00:44:09 +0000 (01:44 +0100)]
for now, NoPacketProcessingService; figure out openflowplugin later..
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 30 Jan 2018 22:24:50 +0000 (23:24 +0100)]
wiring for EntityOwnershipService in MdsalWiring
also MdsalWiring now implicitly installs ControllerWiring
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 30 Jan 2018 21:23:09 +0000 (22:23 +0100)]
AbstractCloseableModule does not implements AutoCloseable
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 18 Jan 2018 02:15:51 +0000 (03:15 +0100)]
ControllerWiringTest OK (with patched DataBrokerTestModule)
requires https://git.opendaylight.org/gerrit/#/c/67266/
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 18 Jan 2018 01:44:01 +0000 (02:44 +0100)]
ControllerWiring extends AbstractCloseableModule
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 18 Jan 2018 01:43:31 +0000 (02:43 +0100)]
intro. AbstractCloseableModule
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 18 Jan 2018 00:58:31 +0000 (01:58 +0100)]
add ModuleWithPreDestroyTest
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Thu, 18 Jan 2018 00:34:46 +0000 (01:34 +0100)]
controller, mdsal, openflowplugin wiring tests (not yet passing)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 17 Jan 2018 23:56:37 +0000 (00:56 +0100)]
GeniusWiring 0.1; now we first have to sort dependant projects..
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 17 Jan 2018 23:11:06 +0000 (00:11 +0100)]
intro AbstractSimpleDistributionTest; netvirt's and new genius extend it
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 17 Jan 2018 23:10:40 +0000 (00:10 +0100)]
ReadyWiring & Co.
not sure if a better way to do the same with Guice, but this works..
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Wed, 17 Jan 2018 23:07:56 +0000 (00:07 +0100)]
extend AbstractModule instead of AbstractGuiceJsr250Module
and rename some *Module to *Wiring
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 16 Jan 2018 02:27:48 +0000 (03:27 +0100)]
exclude osgi.core and osgi.compendium
as well as leveldb-api (until that is merged in odlparent)
to fix (justified) complaints from ClasspathHellDuplicatesCheckRule
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 16 Jan 2018 01:19:29 +0000 (02:19 +0100)]
exclude jsr250-api from enunciate-core-annotations
to fix this (justified) complaint from ClasspathHellDuplicatesCheckRule:
file:/home/vorburger/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
overlaps with
file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc26.x86_64/jre/lib/rt.jar
- total overlapping classes: 6 - different classloaders.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 16 Jan 2018 00:43:42 +0000 (01:43 +0100)]
exclude AAA shiro which seems to be a mess with several CP dupes
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Tue, 16 Jan 2018 00:12:29 +0000 (01:12 +0100)]
exclude org.apache.karaf.shell.console avoids a ton of CP dupes
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 23:20:32 +0000 (00:20 +0100)]
add ControllerModule to GeniusModule for DataBrokerTestModule
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 23:12:58 +0000 (00:12 +0100)]
remove useless because obvious JavaDoc header (incl. my @author tag)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 23:12:33 +0000 (00:12 +0100)]
WIP... and now it's, obviously, completely broken. TODO FIXIT! ;)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 22:22:44 +0000 (23:22 +0100)]
add Main
TODO new infrautils.guice (non .test) with proper classpath
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 22:02:46 +0000 (23:02 +0100)]
add skeleton
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger [Mon, 15 Jan 2018 22:02:25 +0000 (23:02 +0100)]
add .gitignore
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger ⛑️ [Mon, 15 Jan 2018 21:28:10 +0000 (22:28 +0100)]
Create README.md
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
Michael Vorburger ⛑️ [Mon, 15 Jan 2018 21:25:18 +0000 (22:25 +0100)]
Initial commit
Signed-off-by: Michael Vorburger <mike@vorburger.ch>