mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
Update Google SDK to version 1.23 (#27381)
This commit updates the google-api-client library to version 1.23.0. Related to #26636
This commit is contained in:
parent
7b71cdd34e
commit
50a2459adf
@ -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}"
|
||||
|
@ -1 +0,0 @@
|
||||
d3e66209ae9e749b2d6833761e7885f60f285564
|
@ -0,0 +1 @@
|
||||
522ea860eb48dee71dfe2c61a1fd09663539f556
|
@ -0,0 +1 @@
|
||||
004169bfe1cf0e8b2013c9c479e43b731958bc64
|
@ -1 +0,0 @@
|
||||
2fa36fff3b5bf59a63c4f2bbfac1f88251cd7986
|
@ -1 +0,0 @@
|
||||
93d82db2bca534960253f43424b2ba9d7638b4d2
|
@ -0,0 +1 @@
|
||||
8e86c84ff3c98eca6423e97780325b299133d858
|
@ -1 +0,0 @@
|
||||
2408070b2abec043624d35b35e30450f1b663858
|
@ -0,0 +1 @@
|
||||
fd6761f4046a8cb0455e6fa5f58e12b061e9826e
|
@ -1 +0,0 @@
|
||||
1d086ac5756475ddf451af2e2df6e288d18608ca
|
@ -0,0 +1 @@
|
||||
e57ea1e2220bda5a2bd24ff17860212861f3c5cf
|
@ -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}"
|
||||
|
@ -1 +0,0 @@
|
||||
16a6b3c680f3bf7b81bb42790ff5c1b72c5bbedc
|
@ -0,0 +1 @@
|
||||
522ea860eb48dee71dfe2c61a1fd09663539f556
|
@ -0,0 +1 @@
|
||||
ba4fb6c5dc8d5ad94dedd9927ceee10a31a59abd
|
@ -1 +0,0 @@
|
||||
eb753d716e4f8dec203deb0f8fdca86913a79029
|
@ -1 +0,0 @@
|
||||
42631630fe1276d4d6d6397bb07d53a4e4fec278
|
@ -0,0 +1 @@
|
||||
8e86c84ff3c98eca6423e97780325b299133d858
|
@ -1 +0,0 @@
|
||||
8ce17bdd15fff0fd8cf359757f29e778fc7191ad
|
@ -0,0 +1 @@
|
||||
fd6761f4046a8cb0455e6fa5f58e12b061e9826e
|
@ -1 +0,0 @@
|
||||
61ec42bbfc51aafde5eb8b4923c602c5b5965bc2
|
@ -0,0 +1 @@
|
||||
e57ea1e2220bda5a2bd24ff17860212861f3c5cf
|
@ -271,7 +271,7 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
|
||||
// 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__
|
||||
@ -280,7 +280,7 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
|
||||
// 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__--
|
||||
@ -291,6 +291,11 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user