From 7c60510794ddd2424d4363f6a057b95020939512 Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Thu, 6 Jul 2017 13:22:43 -0700 Subject: [PATCH] all,interop-testing: update google-auth-library-oauth2-http (#3188) --- build.gradle | 2 +- .../java/io/grpc/testing/integration/AbstractInteropTest.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0ce4390046..cdfe623863 100644 --- a/build.gradle +++ b/build.gradle @@ -179,7 +179,7 @@ subprojects { guava: "com.google.guava:guava:${guavaVersion}", hpack: 'com.twitter:hpack:0.10.1', jsr305: 'com.google.code.findbugs:jsr305:3.0.0', - oauth_client: 'com.google.auth:google-auth-library-oauth2-http:0.4.0', + oauth_client: 'com.google.auth:google-auth-library-oauth2-http:0.7.0', google_api_protos: 'com.google.api.grpc:proto-google-common-protos:0.1.9', google_auth_credentials: 'com.google.auth:google-auth-library-credentials:0.4.0', okhttp: 'com.squareup.okhttp:okhttp:2.5.0', diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java index 40b2a605d8..c3d2391295 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java @@ -1324,6 +1324,8 @@ public abstract class AbstractInteropTest { // TODO(madongfly): The Auth library may have something like AccessTokenCredentials in the // future, change to the official implementation then. OAuth2Credentials credentials = new OAuth2Credentials(accessToken) { + private static final long serialVersionUID = 0; + @Override public AccessToken refreshAccessToken() throws IOException { throw new IOException("This credential is based on a certain AccessToken, "