diff --git a/managed_vms/endpoints/README.md b/managed_vms/endpoints/README.md index 429f50d9691..8ff97e71bde 100644 --- a/managed_vms/endpoints/README.md +++ b/managed_vms/endpoints/README.md @@ -1,8 +1,16 @@ # Google Cloud Endpoints on App Engine flexible environment This sample demonstrates how to use Google Cloud Endpoints on Google App Engine Flexible Environment using Java. +## Edit the Swagger API specification + +Open the [src/main/appengine/swagger.yaml](src/main/appengine/swagger.yaml) file in your favorite editor, and replace the YOUR-PROJECT-ID `host` line with your actual Google Cloud Platform project Id. + ## Running locally $ mvn jetty:run ## Deploying $ mvn gcloud:deploy + +## Calling your API + +Please refer to the Google Cloud Endpoints [documentation](https://cloud.google.com/endpoints/docs/app-engine/) for App Engine Flexible Environment to learn about creating an API Key and calling your API. diff --git a/managed_vms/endpoints/pom.xml b/managed_vms/endpoints/pom.xml index 2e43b6307ef..fefb3acde20 100644 --- a/managed_vms/endpoints/pom.xml +++ b/managed_vms/endpoints/pom.xml @@ -39,7 +39,10 @@ com.google.appengine gcloud-maven-plugin - 2.0.9.111.v20160527 + 2.0.9.121.v20160815 + + beta + org.apache.maven.plugins diff --git a/managed_vms/endpoints/src/main/appengine/Dockerfile b/managed_vms/endpoints/src/main/appengine/Dockerfile index 62ccde6e3f4..49864ba44c8 100644 --- a/managed_vms/endpoints/src/main/appengine/Dockerfile +++ b/managed_vms/endpoints/src/main/appengine/Dockerfile @@ -1,3 +1,4 @@ FROM gcr.io/google_appengine/jetty9 +ADD managed-vms-endpoints-1.0-SNAPSHOT.war $JETTY_BASE/webapps/root.war ADD . /app