Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 39A8B200BDE for ; Tue, 8 Nov 2016 04:41:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 386D6160B10; Tue, 8 Nov 2016 03:41:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6EAA1160B12 for ; Tue, 8 Nov 2016 04:41:06 +0100 (CET) Received: (qmail 79531 invoked by uid 500); 8 Nov 2016 03:41:05 -0000 Mailing-List: contact commits-help@beam.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.incubator.apache.org Delivered-To: mailing list commits@beam.incubator.apache.org Received: (qmail 79413 invoked by uid 99); 8 Nov 2016 03:41:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2016 03:41:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 42496189B56 for ; Tue, 8 Nov 2016 03:41:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sRgECllBfT3X for ; Tue, 8 Nov 2016 03:41:03 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 4DF9A5F306 for ; Tue, 8 Nov 2016 03:41:02 +0000 (UTC) Received: (qmail 78452 invoked by uid 99); 8 Nov 2016 03:41:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2016 03:41:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3B621F159A; Tue, 8 Nov 2016 03:41:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kenn@apache.org To: commits@beam.incubator.apache.org Date: Tue, 08 Nov 2016 03:41:25 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [26/50] incubator-beam git commit: [BEAM-725] Migrate to use the generic Google credentials library archived-at: Tue, 08 Nov 2016 03:41:07 -0000 [BEAM-725] Migrate to use the generic Google credentials library This closes #1294 Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/baa7fb03 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/baa7fb03 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/baa7fb03 Branch: refs/heads/gearpump-runner Commit: baa7fb0317afa4a18462ed66ab0a7ba1e8eb2c89 Parents: b5f8473 bb260ec Author: Luke Cwik Authored: Mon Nov 7 13:09:19 2016 -0800 Committer: Luke Cwik Committed: Mon Nov 7 13:09:19 2016 -0800 ---------------------------------------------------------------------- pom.xml | 21 ++ runners/google-cloud-dataflow-java/pom.xml | 15 +- .../dataflow/util/DataflowTransport.java | 9 +- sdks/java/core/pom.xml | 19 +- .../org/apache/beam/sdk/options/GcpOptions.java | 136 ++----------- .../beam/sdk/testing/BigqueryMatcher.java | 15 +- .../apache/beam/sdk/util/CredentialFactory.java | 4 +- .../org/apache/beam/sdk/util/Credentials.java | 192 ------------------- .../beam/sdk/util/GcpCredentialFactory.java | 41 +++- .../beam/sdk/util/NoopCredentialFactory.java | 9 +- .../apache/beam/sdk/util/PubsubGrpcClient.java | 18 +- .../apache/beam/sdk/util/PubsubJsonClient.java | 9 +- .../apache/beam/sdk/util/TestCredential.java | 44 +++-- .../org/apache/beam/sdk/util/Transport.java | 9 +- .../beam/sdk/util/PubsubGrpcClientTest.java | 9 +- sdks/java/io/google-cloud-platform/pom.xml | 9 +- .../beam/sdk/io/gcp/datastore/DatastoreV1.java | 25 ++- .../beam/sdk/io/gcp/datastore/V1TestUtil.java | 25 ++- 18 files changed, 186 insertions(+), 423 deletions(-) ----------------------------------------------------------------------