Sample Google App Engine (standard) application using :
To deploy on App Engine, run mvn appengine:update -Dappengine.app.id=your_appengine_application_id
.
You can also add -Dappengine.app.version=X
to override the default version (1).
If you only have one environment, you can set these properties directly in pom.xml
or appengine-web.xml
.
The home page is dull, it just proves Java 8 + Spring Boot + JSPs work.
You can also hit /aliens
to see a dumb HTTP API example.
You can also curl the hell out of the actuator endpoints :
curl -i "https://your_appengine_application_id.appspot.com/health
application.yml
) : curl -i "https://your_appengine_application_id.appspot.com/env --user "administrator:M4rSuP1aL-EsTh3T1qUE"
mvn appengine:devserver
because the maven plugin has unresolved issues with the Java 8 runtime (should be fixed by next version)DispatcherServlet
in web.xml
. This should not be necessary because the Spring Boot application class extends SpringBootServletInitializer
.web.xml