1
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
- [ Google Cloud Endpoints Frameworks] [ 3 ] to new [ Google Cloud Endpoints Frameworks for App Engine] [ 8 ] .
4
+ [ Google Cloud Endpoints Frameworks] [ 3 ] to new
5
+ [ Google Cloud Endpoints Frameworks for App Engine] [ 8 ] using a
6
+ ** Discovery Document** . Additionally, this sample provides an example of using
7
+ the new App Engine Maven and Gradle plugins for deploying your Google App Engine
8
+ Standard applications.
9
+
5
10
This sample contains comments of how to use the prior Endpoints Frameworks as
6
11
well. For clarity, the prior Endpoints Frameworks and the new Endpoints
7
12
Frameworks are denoted as Endpoints Frameworks v1.0 and Endpoints Frameworks
@@ -22,6 +27,10 @@ process is explained [here][8] and a quickstart is provided [here][9].
22
27
- [ Google Cloud Endpoints Frameworks v1.0] [ 3 ]
23
28
24
29
## Build and Deployment Plugins
30
+ - [ Google App Engine Maven plugin] [ 14 ]
31
+ - [ Google App Engine Gradle plugin] [ 15 ]
32
+
33
+ ## Discovery Document and Client Library Generation Plugins
25
34
- [ Google Cloud Endpoints Frameworks Maven Plugin] [ 10 ]
26
35
- [ Google Cloud Endpoints Frameworks Gradle Plugin] [ 11 ]
27
36
@@ -37,10 +46,12 @@ process is explained [here][8] and a quickstart is provided [here][9].
37
46
have registered in the
38
47
[ Credentials on Developers Console for OAuth 2.0 client IDs] [ 6 ] .
39
48
40
- 1 . [ Optional] : User Authenticating with Google Accounts in other Applications Types
49
+ 1 . [ Optional] : User Authenticating with Google Accounts in other Applications
50
+ Types
41
51
42
- - Inside [ Constants.java] ( src/main/java/com/example/helloendpoints/Constants.java ) you will find placeholders for Android
43
- applications using Google Accounts client IDs registered in the
52
+ - Inside [ Constants.java] ( src/main/java/com/example/helloendpoints/Constants.java )
53
+ you will find placeholders for Android applications using Google Accounts
54
+ client IDs registered in the
44
55
[ Credentials on Developers Console for OAuth 2.0 client IDs] [ 6 ] .
45
56
46
57
- These client IDs are used when defining annotation for this sample API
@@ -77,8 +88,8 @@ process is explained [here][8] and a quickstart is provided [here][9].
77
88
78
89
[http://localhost:8080/_ah/api/explorer][13]
79
90
80
- 1. Generate the client library located at `target/client-libs/helloworld-v1-java.zip`
81
- by using:
91
+ 1. Generate the client library located at
92
+ `target/client-libs/helloworld-v1-java.zip` by using:
82
93
83
94
`mvn endpoints-framework:clientLibs`
84
95
@@ -100,8 +111,8 @@ process is explained [here][8] and a quickstart is provided [here][9].
100
111
101
112
[http://localhost:8080/_ah/api/explorer][13]
102
113
103
- 1. Generate the client library located at `build/endpointsClientLibs/helloworld-v1-java.zip`
104
- by using:
114
+ 1. Generate the client library located at
115
+ `build/endpointsClientLibs/helloworld-v1-java.zip` by using:
105
116
106
117
`gradle endpointsClientLibs`
107
118
@@ -112,14 +123,16 @@ process is explained [here][8] and a quickstart is provided [here][9].
112
123
113
124
[1]: https://cloud.google.com/appengine/docs/java/
114
125
[2]: http://java.com/en/
115
- [3]: https://cloud.google.com/appengine /docs/java/endpoints/
126
+ [3]: https://cloud.google.com/endpoints /docs/frameworks/legacy/v1/java
116
127
[4]: https://cloud.google.com/appengine/docs/java/tools/maven
117
128
[5]: http://localhost:8080/
118
129
[6]: https://console.developers.google.com/project/_/apiui/credential
119
- [7]: https://cloud.google.com/appengine /docs/java/endpoints /migrating
130
+ [7]: https://cloud.google.com/endpoints /docs/frameworks/legacy/v1/java /migrating
120
131
[8]: https://cloud.google.com/endpoints/docs/frameworks/java/about-cloud-endpoints-frameworks
121
132
[9]: https://cloud.google.com/endpoints/docs/frameworks/java/quickstart-frameworks-java
122
133
[10]: https://github.com/GoogleCloudPlatform/endpoints-framework-maven-plugin
123
134
[11]: https://github.com/GoogleCloudPlatform/endpoints-framework-gradle-plugin
124
135
[12]: https://cloud.google.com/endpoints/docs/authenticating-users-frameworks
125
136
[13]: http://localhost:8080/_ah/api/explorer
137
+ [14]: https://github.com/GoogleCloudPlatform/app-maven-plugin
138
+ [15]: https://github.com/GoogleCloudPlatform/app-gradle-plugin
0 commit comments