Open karlmdavis opened 10 years ago
So here's the deal:
As part of this task, then, I'm going to go through and rip out all usage of EmbeddedServer
and its like in tests. (It's still possibly useful for Docker-type deployment scenarios.)
So this was in-progress when I went back and picked up this project again a few days ago. After thinking about it for a while, here are my thoughts:
bluebutton-data-server
by running HSQL's server mode).-webapp
project already doesn't use EmbeddedServer
.-service-app
project does use EmbeddedServer
, but doesn't currently have any webapp resources.So. Conclusions:
As documented in Issue #35,
EmbeddedServer
is handlingsrc/main/webapp
resources incorrectly. Worse still, there really isn't any way that those resources can be handled correctly, besides using the fully packaged WAR.Two options:
EmbeddedServer
.src/main/webapp
usage fortarget/test-classes/webapp-test
, instead (which doesn't currently exist).