1
- # Hello World Google Cloud Endpoints for App Engine with a discovery document
1
+ # Hello World Google Cloud Endpoints for App Engine
2
2
3
3
This sample provides an example of a [ migration] [ 7 ] from the prior version of
4
4
[ Google Cloud Endpoints Frameworks] [ 3 ] to new [ Google Cloud Endpoints Frameworks for App Engine] [ 8 ] .
@@ -7,7 +7,7 @@ For clarity, the prior Endpoints Frameworks and the new Endpoints Frameworks are
7
7
denoted as Endpoints Frameworks v1.0 and Endpoints Frameworks v2.0 respectively.
8
8
9
9
Google Cloud Endpoints Frameworks v2.0 provides new functionality which may
10
- require payment and uses an OpenAPI specification instead of the discovery document .
10
+ require payment and uses an OpenAPI specification.
11
11
The OpenAPI development process is explained [ here] [ 8 ] and a quickstart is
12
12
provided [ here] [ 9 ] .
13
13
@@ -61,37 +61,39 @@ provided [here][9].
61
61
62
62
### Maven
63
63
64
- 1. Build a fresh binary with
64
+ 1. Build a fresh binary by using:
65
65
66
66
`mvn clean compile`
67
67
68
- 1. Run the application locally at [localhost:8080][5] with
68
+ 1. Run the application locally at [localhost:8080][5] by using:
69
69
70
70
`mvn appengine:run`
71
71
72
- 1. Generate the client library in a zip file named `helloworld-v1-java.zip` with
72
+ 1. Generate the client library located at `target/client-libs/helloworld-v1-java.zip`
73
+ by using:
73
74
74
75
`mvn endpoints-framework:clientLibs`
75
76
76
- 1. Deploy your application to Google App Engine with
77
+ 1. Deploy your application to Google App Engine by using:
77
78
78
79
`mvn appengine:deploy`
79
80
80
81
### Gradle
81
82
82
- 1. Build a fresh binary with
83
+ 1. Build a fresh binary by using:
83
84
84
85
`gradle clean compileJava`
85
86
86
- 1. Run the application locally at [localhost:8080][5] with
87
+ 1. Run the application locally at [localhost:8080][5] by using:
87
88
88
89
`gradle appengineRun`
89
90
90
- 1. Generate the client library in a zip file named `helloworld-v1-java.zip` with
91
+ 1. Generate the client library located at `build/endpointsClientLibs/helloworld-v1-java.zip`
92
+ by using:
91
93
92
94
`gradle endpointsClientLibs`
93
95
94
- 1. Deploy your application to Google App Engine with
96
+ 1. Deploy your application to Google App Engine by using:
95
97
96
98
`gradle appengineDeploy`
97
99
0 commit comments