Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Dependency Cleanup - Appengine #969

Merged
merged 38 commits into from
Jan 3, 2018
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c964195
Cleaned appengine/analytics.
kurtisvg Dec 7, 2017
de70cfd
Cleaned appengeine/appidenity
kurtisvg Dec 7, 2017
b000023
Removed 'channel' samples - (service disabled)
kurtisvg Dec 7, 2017
b4e80c2
Cleaned up appengine/cloudsql.
kurtisvg Dec 7, 2017
df2271c
Cleaned appengine/datastore.
kurtisvg Dec 7, 2017
fce720d
Cleaned appengine/endpoints-frameworks-v2/backend
kurtisvg Dec 18, 2017
32d2a0f
Cleaned appengine/endpoints-frameworks-v2/guice
kurtisvg Dec 18, 2017
a4946b9
Cleaned appengine/endpoints-frameworks-v2/migration-example
kurtisvg Dec 19, 2017
eea2e4e
Cleaned appengine/endpoints-v1-helloworld.
kurtisvg Dec 19, 2017
51ce2f6
Cleaned firebase-event-proxy.
kurtisvg Dec 19, 2017
1de5404
Updated Appengine/Firebase.
kurtisvg Dec 19, 2017
604fbc7
Cleaned appengine/gaeinfo.
kurtisvg Dec 19, 2017
2f32ee0
Cleaned appengine/guestbook-cloud-datastore.
kurtisvg Dec 19, 2017
6bff2ab
Cleaned appengine/appengine-guestbook-objectify.
kurtisvg Dec 19, 2017
5b095fc
Cleaned appengine/helloworld.
kurtisvg Dec 20, 2017
173509f
Cleaned appengine/helloworld-new-plugins.
kurtisvg Dec 20, 2017
b534793
Cleaned appengine/iap.
kurtisvg Dec 20, 2017
7cd6252
Cleaned appengine/images.
kurtisvg Dec 20, 2017
34e7d72
Cleaned appengine/logs.
kurtisvg Dec 20, 2017
5122905
Cleaned appengine/mail.
kurtisvg Dec 20, 2017
33d67e1
Cleaned appengine/mailgun.
kurtisvg Dec 20, 2017
7eb89fe
Cleaned appengine/mailjet
kurtisvg Dec 20, 2017
7d6bd04
Cleaned appengine/memchache
kurtisvg Dec 20, 2017
4588ba9
Cleaned appengine/multitenancy
kurtisvg Dec 20, 2017
e8a299e
Cleaned appengine/oauth2
kurtisvg Dec 20, 2017
8d8554e
Cleaned appengine/push-chat
kurtisvg Dec 20, 2017
572f8b7
Cleaned appengine/remote
kurtisvg Dec 20, 2017
aaa6db2
Cleaned appengine/requests
kurtisvg Dec 20, 2017
d4692d3
Cleaned appengine/search
kurtisvg Dec 20, 2017
63ad906
Cleaned appengine/sendgrid
kurtisvg Dec 20, 2017
be40183
Cleaned appengine/sockets
kurtisvg Dec 20, 2017
935d714
Cleaned appengine/static-files
kurtisvg Dec 20, 2017
b537512
Cleaned appengine/taskqueue
kurtisvg Dec 21, 2017
8cf76ac
Cleaned appengine/twilio
kurtisvg Dec 21, 2017
c8e30b4
Cleaned appengine/urlfetch
kurtisvg Dec 21, 2017
df17b18
Cleaned appengine/users
kurtisvg Dec 21, 2017
211b9b6
Cleaned root pom and other minor fixes.
kurtisvg Dec 21, 2017
8bad202
Updated to 1.0.8
kurtisvg Jan 3, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleaned appengine/endpoints-frameworks-v2/guice
kurtisvg committed Jan 3, 2018
commit 32d2a0fd1fc79d28dd2c03d5adb28e72686ef5b7
4 changes: 4 additions & 0 deletions appengine/endpoints-frameworks-v2/guice-example/README.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,10 @@
This sample demonstrates how to use Google Cloud Endpoints Frameworks with Guice
on App Engine Standard.

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=appengine/endpoints-frameworks-v2/guice-example/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>


## Build with Maven

### Adding the project ID to the sample API code
12 changes: 8 additions & 4 deletions appengine/endpoints-frameworks-v2/guice-example/pom.xml
Original file line number Diff line number Diff line change
@@ -21,13 +21,17 @@
<groupId>com.example.echo</groupId>
<artifactId>echo-guice</artifactId>

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not effect the execution of the samples in anyway.
-->
<parent>
<artifactId>appengine-doc-samples</artifactId>
<groupId>com.google.cloud</groupId>
<version>1.0.0</version>
<relativePath>../..</relativePath>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.7</version>
</parent>


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2017 Google Inc.
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.example.echo;
@@ -54,10 +54,10 @@ public class Echo {
* Echoes the received message back. If n is a non-negative integer, the message is copied that
* many times in the returned message.
*
* Note that name is specified and will override the default name of "{class name}.{method
* <p>Note that name is specified and will override the default name of "{class name}.{method
* name}". For example, the default is "echo.echo".
*
* Note that httpMethod is not specified. This will default to a reasonable HTTP method
* <p>Note that httpMethod is not specified. This will default to a reasonable HTTP method
* depending on the API method name. In this case, the HTTP method will default to POST.
*/
// [START echo_method]
@@ -71,10 +71,10 @@ public Message echo(Message message, @Named("n") @Nullable Integer n) {
* Echoes the received message back. If n is a non-negative integer, the message is copied that
* many times in the returned message.
*
* Note that name is specified and will override the default name of "{class name}.{method
* <p>Note that name is specified and will override the default name of "{class name}.{method
* name}". For example, the default is "echo.echo".
*
* Note that httpMethod is not specified. This will default to a reasonable HTTP method
* <p>Note that httpMethod is not specified. This will default to a reasonable HTTP method
* depending on the API method name. In this case, the HTTP method will default to POST.
*/
// [START echo_path]
@@ -88,10 +88,10 @@ public Message echoPathParameter(Message message, @Named("n") int n) {
* Echoes the received message back. If n is a non-negative integer, the message is copied that
* many times in the returned message.
*
* Note that name is specified and will override the default name of "{class name}.{method
* <p>Note that name is specified and will override the default name of "{class name}.{method
* name}". For example, the default is "echo.echo".
*
* Note that httpMethod is not specified. This will default to a reasonable HTTP method
* <p>Note that httpMethod is not specified. This will default to a reasonable HTTP method
* depending on the API method name. In this case, the HTTP method will default to POST.
*/
// [START echo_api_key]
@@ -119,10 +119,10 @@ private Message doEcho(Message message, Integer n) {
* Gets the authenticated user's email. If the user is not authenticated, this will return an HTTP
* 401.
*
* Note that name is not specified. This will default to "{class name}.{method name}". For
* <p>Note that name is not specified. This will default to "{class name}.{method name}". For
* example, the default is "echo.getUserEmail".
*
* Note that httpMethod is not required here. Without httpMethod, this will default to GET due
* <p>Note that httpMethod is not required here. Without httpMethod, this will default to GET due
* to the API method name. httpMethod is added here for example purposes.
*/
// [START google_id_token_auth]
@@ -147,10 +147,10 @@ public Email getUserEmail(User user) throws UnauthorizedException {
* Gets the authenticated user's email. If the user is not authenticated, this will return an HTTP
* 401.
*
* Note that name is not specified. This will default to "{class name}.{method name}". For
* <p>Note that name is not specified. This will default to "{class name}.{method name}". For
* example, the default is "echo.getUserEmail".
*
* Note that httpMethod is not required here. Without httpMethod, this will default to GET due
* <p>Note that httpMethod is not required here. Without httpMethod, this will default to GET due
* to the API method name. httpMethod is added here for example purposes.
*/
// [START firebase_auth]
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2017 Google Inc.
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.example.echo;
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2017 Google Inc.
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.example.echo;
@@ -22,9 +22,9 @@

// [START injector]
public class EchoGuiceListener extends GuiceServletContextListener {
@Override
protected Injector getInjector() {
return Guice.createInjector(new EchoEndpointModule());
}
@Override
protected Injector getInjector() {
return Guice.createInjector(new EchoEndpointModule());
}
}
// [END injector]
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2017 Google Inc.
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.example.echo;
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2017 Google Inc.
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.example.echo;