[bs-28] Add /shutdown endpoint to service apps

Disabled by default use container.allow_shutdown=true to switch
it on.  Then POST to /shutdown to shut down the app.

[#48059059]
This commit is contained in:
Dave Syer
2013-04-30 10:17:39 +01:00
parent c4028656ef
commit 361f500ed5
8 changed files with 160 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
<profile>
<id>tomcat</id>
<activation>
<activeByDefault>false</activeByDefault>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
@@ -33,7 +33,7 @@
<profile>
<id>jetty</id>
<activation>
<activeByDefault>true</activeByDefault>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>