Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit 1a4fa7c

Browse files
japgollyBogdan Drutu
authored andcommitted
Dependency upgrades (#88)
* Upgrade grpc to 1.5.0 * Upgrade netty-boringssl to 2.0.5 * Upgrade google-auth to 0.7.1
1 parent 967ed61 commit 1a4fa7c

File tree

10 files changed

+16
-14
lines changed

10 files changed

+16
-14
lines changed

guice/google-auth/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
<dependency>
2626
<groupId>com.google.auth</groupId>
2727
<artifactId>google-auth-library-credentials</artifactId>
28-
<version>0.4.0</version>
28+
<version>${google-auth-library-credentials.version}</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>com.google.auth</groupId>
3232
<artifactId>google-auth-library-oauth2-http</artifactId>
33-
<version>0.4.0</version>
33+
<version>${google-auth-library-oauth2-http.version}</version>
3434
</dependency>
3535
</dependencies>
3636
</project>

guice/google-auth/src/main/java/com/google/cloud/trace/guice/auth/DefaultCredentialsModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
import static com.google.common.base.Preconditions.checkNotNull;
1818

19-
import com.google.api.client.http.HttpTransport;
2019
import com.google.auth.Credentials;
20+
import com.google.auth.http.HttpTransportFactory;
2121
import com.google.auth.oauth2.GoogleCredentials;
2222
import com.google.cloud.trace.guice.auth.Scopes;
2323
import com.google.inject.AbstractModule;
@@ -39,13 +39,13 @@ public final class DefaultCredentialsModule extends AbstractModule {
3939

4040
@Override
4141
protected final void configure() {
42-
requireBinding(HttpTransport.class);
42+
requireBinding(HttpTransportFactory.class);
4343
requireBinding(Key.get(new TypeLiteral<List<String>>() {}, Scopes.class));
4444
}
4545

4646
@Provides
4747
@Singleton
48-
final Credentials provideCredentials(HttpTransport transport, @Scopes List<String> scopes)
48+
final Credentials provideCredentials(HttpTransportFactory transport, @Scopes List<String> scopes)
4949
throws IOException {
5050
return GoogleCredentials.getApplicationDefault(checkNotNull(transport)).createScoped(scopes);
5151
}

guice/grpc-sink/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>com.google.auth</groupId>
4242
<artifactId>google-auth-library-credentials</artifactId>
43-
<version>0.4.0</version>
43+
<version>${google-auth-library-credentials.version}</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>com.google.inject</groupId>

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@
3131

3232
<properties>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34-
<grpc.version>1.0.2</grpc.version>
35-
<netty-boringssl.version>1.1.33.Fork23</netty-boringssl.version>
34+
<grpc.version>1.5.0</grpc.version>
35+
<netty-boringssl.version>2.0.5.Final</netty-boringssl.version>
3636
<grpc-google-devtools-cloudtrace-v1.version>0.1.1</grpc-google-devtools-cloudtrace-v1.version>
37+
<google-auth-library-credentials.version>0.7.1</google-auth-library-credentials.version>
38+
<google-auth-library-oauth2-http.version>0.7.1</google-auth-library-oauth2-http.version>
3739
</properties>
3840

3941
<modules>

samples/buffering-grpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.google.auth</groupId>
4646
<artifactId>google-auth-library-oauth2-http</artifactId>
47-
<version>0.4.0</version>
47+
<version>${google-auth-library-oauth2-http.version}</version>
4848
</dependency>
4949

5050
<dependency>

samples/managed-grpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.google.auth</groupId>
4646
<artifactId>google-auth-library-oauth2-http</artifactId>
47-
<version>0.4.0</version>
47+
<version>${google-auth-library-oauth2-http.version}</version>
4848
</dependency>
4949
<dependency>
5050
<groupId>io.grpc</groupId>

samples/stackdriver-trace-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.google.auth</groupId>
2828
<artifactId>google-auth-library-oauth2-http</artifactId>
29-
<version>0.4.0</version>
29+
<version>${google-auth-library-oauth2-http.version}</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>io.grpc</groupId>

services/trace-grpc-api-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.google.auth</groupId>
4646
<artifactId>google-auth-library-oauth2-http</artifactId>
47-
<version>0.4.0</version>
47+
<version>${google-auth-library-oauth2-http.version}</version>
4848
</dependency>
4949
</dependencies>
5050
</project>

sinks/v1/grpc-consumer/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>com.google.auth</groupId>
3030
<artifactId>google-auth-library-credentials</artifactId>
31-
<version>0.4.0</version>
31+
<version>${google-auth-library-credentials.version}</version>
3232
</dependency>
3333
<dependency>
3434
<groupId>io.grpc</groupId>

sinks/v1/http-consumer/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>com.google.auth</groupId>
3636
<artifactId>google-auth-library-oauth2-http</artifactId>
37-
<version>0.4.0</version>
37+
<version>${google-auth-library-oauth2-http.version}</version>
3838
</dependency>
3939
<dependency>
4040
<groupId>com.google.guava</groupId>

0 commit comments

Comments
 (0)