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
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions appengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
December 13, 2017 and will be shut down entirely on January 16, 2019. It is replaced by the
[Java 8 Runtime Environment](https://cloud.google.com/appengine/docs/standard/java/runtime-java8).**

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


Samples for the Java 8 runtime can be found [here](/appengine-java8).


Expand Down
16 changes: 9 additions & 7 deletions appengine/analytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
<groupId>com.example.appengine</groupId>
<artifactId>appengine-analytics</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.8</version>
</parent>
<!-- Parent POM defines ${appengine.sdk.version} (updates frequently). -->

<properties>
<maven.compiler.target>1.7</maven.compiler.target>
Expand All @@ -37,6 +39,7 @@
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>1.9.59</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand All @@ -55,11 +58,10 @@
<!-- for hot reload of the web application -->
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
<plugins>
<!-- Parent POM defines ${appengine.sdk.version} (updates frequently). -->
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>${appengine.sdk.version}</version>
<version>1.9.59</version>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,18 +18,15 @@

import com.google.appengine.api.urlfetch.URLFetchService;
import com.google.appengine.api.urlfetch.URLFetchServiceFactory;

import org.apache.http.client.utils.URIBuilder;

import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.http.client.utils.URIBuilder;

// [START example]
@SuppressWarnings("serial")
Expand Down
3 changes: 3 additions & 0 deletions appengine/appidentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Samples for the Java 8 runtime can be found [here](/appengine-java8).
This sample demonstrates how to use the [App Identity API][appid] on [Google App
Engine][ae-docs].

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

[appid]: https://cloud.google.com/appengine/docs/java/appidentity/
[ae-docs]: https://cloud.google.com/appengine/docs/java/

Expand Down
22 changes: 13 additions & 9 deletions appengine/appidentity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,26 @@
<groupId>com.example.appengine</groupId>
<artifactId>appengine-appidentity</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>
<groupId>com.google.cloud</groupId>
<artifactId>appengine-doc-samples</artifactId>
<version>1.0.0</version>
<relativePath>..</relativePath>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.8</version>
</parent>

<properties>
<appengine.sdk.version>1.9.60</appengine.sdk.version>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
</properties>

<dependencies>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>${appengine.sdk.version}</version>
<version>1.9.59</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down Expand Up @@ -71,19 +75,19 @@
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-testing</artifactId>
<version>${appengine.sdk.version}</version>
<version>1.9.59</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-stubs</artifactId>
<version>${appengine.sdk.version}</version>
<version>1.9.59</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-tools-sdk</artifactId>
<version>${appengine.sdk.version}</version>
<version>1.9.59</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package com.example.appengine.appidentity;

import com.google.apphosting.api.ApiProxy;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.google.appengine.api.appidentity.AppIdentityService;
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
import com.google.appengine.api.appidentity.PublicCertificate;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
Expand All @@ -34,7 +33,6 @@
import java.security.cert.CertificateFactory;
import java.util.Arrays;
import java.util.Collection;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@
import com.google.appengine.api.appidentity.AppIdentityService;
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
import com.google.common.io.CharStreams;

import org.json.JSONObject;
import org.json.JSONTokener;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import org.json.JSONObject;
import org.json.JSONTokener;

@SuppressWarnings("serial")
class UrlShortener {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
import static org.mockito.Mockito.when;

import com.google.appengine.tools.development.testing.LocalServiceTestHelper;

import java.io.PrintWriter;
import java.io.StringWriter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
Expand All @@ -29,12 +32,6 @@
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

import java.io.PrintWriter;
import java.io.StringWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* Unit tests for {@link IdentityServlet}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
import static org.mockito.Mockito.when;

import com.google.appengine.tools.development.testing.LocalServiceTestHelper;

import java.io.PrintWriter;
import java.io.StringWriter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
Expand All @@ -29,12 +32,6 @@
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

import java.io.PrintWriter;
import java.io.StringWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* Unit tests for {@link SignForAppServlet}.
*/
Expand Down
5 changes: 0 additions & 5 deletions appengine/channel/README.md

This file was deleted.

108 changes: 0 additions & 108 deletions appengine/channel/pom.xml

This file was deleted.

Loading