beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] beam git commit: [BEAM-1387] DatastoreV1: use batch-datastore.googleapis.com endpoint
Date Sun, 05 Feb 2017 22:31:46 GMT
Repository: beam
Updated Branches:
  refs/heads/master c442ef81a -> 4d0e8ecf1


[BEAM-1387] DatastoreV1: use batch-datastore.googleapis.com endpoint

If localhost is not set.


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/62dab951
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/62dab951
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/62dab951

Branch: refs/heads/master
Commit: 62dab951009a4df69dd05b281e0e47cc97bc42a9
Parents: c442ef8
Author: Dan Halperin <dhalperi@google.com>
Authored: Fri Feb 3 14:58:19 2017 -0800
Committer: Dan Halperin <dhalperi@google.com>
Committed: Sun Feb 5 14:31:31 2017 -0800

----------------------------------------------------------------------
 pom.xml                                                          | 4 ++--
 .../java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java   | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/62dab951/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6776db1..4ed676e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,8 +109,8 @@
     <clouddebugger.version>v2-rev8-1.22.0</clouddebugger.version>
     <dataflow.version>v1b3-rev43-1.22.0</dataflow.version>
     <dataflow.proto.version>0.5.160222</dataflow.proto.version>
-    <datastore.client.version>1.2.0</datastore.client.version>
-    <datastore.proto.version>1.2.0</datastore.proto.version>
+    <datastore.client.version>1.4.0</datastore.client.version>
+    <datastore.proto.version>1.3.0</datastore.proto.version>
     <google-auto-service.version>1.0-rc2</google-auto-service.version>
     <google-auto-value.version>1.3</google-auto-value.version>
     <google-auth.version>0.6.0</google-auth.version>

http://git-wip-us.apache.org/repos/asf/beam/blob/62dab951/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
----------------------------------------------------------------------
diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
index 4a219aa..85c0744 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
+++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
@@ -1067,6 +1067,8 @@ public class DatastoreV1 {
 
       if (localhost != null) {
         builder.localHost(localhost);
+      } else {
+        builder.host("batch-datastore.googleapis.com");
       }
 
       return DatastoreFactory.get().create(builder.build());


Mime
View raw message