This repository was archived by the owner on Sep 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +16
-14
lines changed
src/main/java/com/google/cloud/trace/guice/auth
services/trace-grpc-api-service Expand file tree Collapse file tree 10 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1616
1717import static com .google .common .base .Preconditions .checkNotNull ;
1818
19- import com .google .api .client .http .HttpTransport ;
2019import com .google .auth .Credentials ;
20+ import com .google .auth .http .HttpTransportFactory ;
2121import com .google .auth .oauth2 .GoogleCredentials ;
2222import com .google .cloud .trace .guice .auth .Scopes ;
2323import 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 }
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments