Skip to content

Commit

Permalink
Update Google SDK to version 1.23 (#27381)
Browse files Browse the repository at this point in the history
This commit updates the google-api-client library to version 1.23.0.

Related to #26636
  • Loading branch information
tlrx authored Nov 15, 2017
1 parent 7b71cdd commit 50a2459
Show file tree
Hide file tree
Showing 23 changed files with 21 additions and 16 deletions.
4 changes: 2 additions & 2 deletions plugins/discovery-gce/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ esplugin {
}

versions << [
'google': '1.20.0'
'google': '1.23.0'
]

dependencies {
compile "com.google.apis:google-api-services-compute:v1-rev71-${versions.google}"
compile "com.google.apis:google-api-services-compute:v1-rev160-${versions.google}"
compile "com.google.api-client:google-api-client:${versions.google}"
compile "com.google.oauth-client:google-oauth-client:${versions.google}"
compile "com.google.http-client:google-http-client:${versions.google}"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
522ea860eb48dee71dfe2c61a1fd09663539f556
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
004169bfe1cf0e8b2013c9c479e43b731958bc64

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e86c84ff3c98eca6423e97780325b299133d858

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd6761f4046a8cb0455e6fa5f58e12b061e9826e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e57ea1e2220bda5a2bd24ff17860212861f3c5cf
4 changes: 2 additions & 2 deletions plugins/repository-gcs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ esplugin {
}

versions << [
'google': '1.21.0',
'google': '1.23.0',
]

dependencies {
compile "com.google.apis:google-api-services-storage:v1-rev66-${versions.google}"
compile "com.google.apis:google-api-services-storage:v1-rev115-${versions.google}"
compile "com.google.api-client:google-api-client:${versions.google}"
compile "com.google.oauth-client:google-oauth-client:${versions.google}"
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
522ea860eb48dee71dfe2c61a1fd09663539f556
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ba4fb6c5dc8d5ad94dedd9927ceee10a31a59abd

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e86c84ff3c98eca6423e97780325b299133d858

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd6761f4046a8cb0455e6fa5f58e12b061e9826e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e57ea1e2220bda5a2bd24ff17860212861f3c5cf
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public MockHttpTransport(String bucket) {
// content-id: 1
// content-transfer-encoding: binary
//
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/foo%2Ftest
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/foo%2Ftest HTTP/1.1
//
//
// --__END_OF_PART__
Expand All @@ -280,7 +280,7 @@ public MockHttpTransport(String bucket) {
// content-id: 2
// content-transfer-encoding: binary
//
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/bar%2Ftest
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/bar%2Ftest HTTP/1.1
//
//
// --__END_OF_PART__--
Expand All @@ -291,6 +291,11 @@ public MockHttpTransport(String bucket) {
req.getStreamingContent().writeTo(os);

Streams.readAllLines(new ByteArrayInputStream(os.toByteArray()), line -> {
final int indexOfHttp = line.indexOf(" HTTP/1.1");
if (indexOfHttp > 0) {
line = line.substring(0, indexOfHttp);
}

Handler handler = handlers.retrieve(line, params);
if (handler != null) {
try {
Expand Down

0 comments on commit 50a2459

Please sign in to comment.