Skip to content

Commit a9ba257

Browse files
authored
Merge pull request GoogleCloudPlatform#303 from sepehre/master
Make Endpoints Java sample work end to end
2 parents b0fda6e + 068e773 commit a9ba257

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

managed_vms/endpoints/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Google Cloud Endpoints on App Engine flexible environment
22
This sample demonstrates how to use Google Cloud Endpoints on Google App Engine Flexible Environment using Java.
33

4+
## Edit the Swagger API specification
5+
6+
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.
7+
48
## Running locally
59
$ mvn jetty:run
610

711
## Deploying
812
$ mvn gcloud:deploy
13+
14+
## Calling your API
15+
16+
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.

managed_vms/endpoints/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
<plugin>
4040
<groupId>com.google.appengine</groupId>
4141
<artifactId>gcloud-maven-plugin</artifactId>
42-
<version>2.0.9.111.v20160527</version>
42+
<version>2.0.9.121.v20160815</version>
43+
<configuration>
44+
<gcloud_app_prefix>beta</gcloud_app_prefix>
45+
</configuration>
4346
</plugin>
4447
<plugin>
4548
<groupId>org.apache.maven.plugins</groupId>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM gcr.io/google_appengine/jetty9
22

3+
ADD managed-vms-endpoints-1.0-SNAPSHOT.war $JETTY_BASE/webapps/root.war
34
ADD . /app

0 commit comments

Comments
 (0)