Skip to content

Commit 0e5d72c

Browse files
authored
Merge branch 'master' into vision-v1p1beta1-samples
2 parents 761d76d + 23a9b03 commit 0e5d72c

File tree

54 files changed

+578
-483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+578
-483
lines changed

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
# java-docs-samples
22

3-
[![Circle-CI Build Status](https://circleci.com/gh/GoogleCloudPlatform/java-docs-samples.svg?style=shield&circle-token=117b41ead030b212fc7d519519ee9262c4f3480b)](https://circleci.com/gh/GoogleCloudPlatform/java-docs-samples)
4-
[![ghit.me](https://ghit.me/badge.svg?repo=GoogleCloudPlatform/java-docs-samples)](https://ghit.me/repo/GoogleCloudPlatform/java-docs-samples)
3+
![Kokoro Build Status](https://storage.googleapis.com/cloud-devrel-kokoro-resources/java/badges/java-docs-samples.png)
54
[![Coverage Status](https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples/branch/master/graph/badge.svg)](https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples)
65

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

89
While this library is still supported, we suggest trying the newer [Cloud Client Library](https://developers.google.com/api-client-library/java/apis/vision/v1) for Google Cloud Vision, especially for new projects. For more information, please see the notice on the [API Client Library Page](https://developers.google.com/api-client-library/java/apis/vision/v1).
910

1011
This is a repository that contains java code snippets on [Cloud Platform Documentation](https://cloud.google.com/docs/).
1112

12-
The repo is organized as follows:
13-
14-
* [App Engine Standard](appengine)
15-
* [TaskQueue](taskqueue) <!-- shouldn't this be in appengien ?? -->
16-
* [Unit Tests](unittests)
17-
* [App Engine Flexible](flexible)
18-
* [Compute Engine](compute)
19-
2013
Technology Samples:
2114

2215
* [Bigquery](bigquery)

appengine-java8/analytics/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>org.apache.httpcomponents</groupId>
5353
<artifactId>httpclient</artifactId>
54-
<version>4.5.3</version>
54+
<version>4.5.4</version>
5555
</dependency>
5656

5757
<dependency>
@@ -85,7 +85,7 @@
8585
<dependency>
8686
<groupId>org.mockito</groupId>
8787
<artifactId>mockito-core</artifactId>
88-
<version>2.12.0</version>
88+
<version>2.13.0</version>
8989
<scope>test</scope>
9090
</dependency>
9191
<dependency>

appengine-java8/datastore/src/test/java/com/example/appengine/TransactionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public void transactionalTaskEnqueuing() throws Exception {
298298
Transaction txn = datastore.beginTransaction();
299299
// ...
300300

301-
queue.add(TaskOptions.Builder.withUrl("/path/to/handler"));
301+
queue.add(txn, TaskOptions.Builder.withUrl("/path/to/handler"));
302302

303303
// ...
304304

appengine-java8/endpoints-v2-migration/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ buildscript { // Configuration for building
2020
}
2121
dependencies {
2222
// App Engine Gradle plugin
23-
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.0.2'
23+
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
2424

2525
// Endpoints Frameworks Gradle plugin
26-
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.3.3'
26+
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.2'
2727
}
2828
}
2929
// [END buildscript]

appengine-java8/remote-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>org.apache.httpcomponents</groupId>
3838
<artifactId>httpclient</artifactId>
39-
<version>4.5.3</version>
39+
<version>4.5.4</version>
4040
</dependency>
4141

4242
<dependency>

appengine-java8/taskqueues-deferred/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<dependency>
6666
<groupId>org.mockito</groupId>
6767
<artifactId>mockito-core</artifactId>
68-
<version>2.12.0</version>
68+
<version>2.13.0</version>
6969
</dependency>
7070
<dependency>
7171
<groupId>com.google.appengine</groupId>

appengine/analytics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>org.apache.httpcomponents</groupId>
4343
<artifactId>httpclient</artifactId>
44-
<version>4.5.3</version>
44+
<version>4.5.4</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>javax.servlet</groupId>

appengine/endpoints-frameworks-v2/migration-example/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ buildscript { // Configuration for building
2020
}
2121
dependencies {
2222
// App Engine Gradle plugin
23-
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.0.2'
23+
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
2424

2525
// Endpoints Frameworks Gradle plugin
26-
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.3.3'
26+
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.2'
2727
}
2828
}
2929
// [END buildscript]

appengine/firebase-tictactoe/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<dependency>
5656
<groupId>org.mockito</groupId>
5757
<artifactId>mockito-core</artifactId>
58-
<version>2.12.0</version>
58+
<version>2.13.0</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>com.google.appengine</groupId>

appengine/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@
8282
<module>sockets</module>
8383

8484
<module>static-files</module>
85-
86-
<module>taskqueue-push</module>
85+
<module>taskqueue</module>
8786
<module>twilio</module>
8887
<module>urlfetch</module>
8988
<module>users</module>
@@ -114,7 +113,7 @@
114113
<dependency>
115114
<groupId>org.mockito</groupId>
116115
<artifactId>mockito-core</artifactId>
117-
<version>2.12.0</version>
116+
<version>2.13.0</version>
118117
<scope>test</scope>
119118
</dependency>
120119
<dependency>

0 commit comments

Comments
 (0)