OpenSearch/plugins
Tanguy Leroux 4db37801d0 Add resumable uploads support to GCS repository integration tests (#46562)
This commit adds support for resumable uploads to the internal HTTP 
server used in GoogleCloudStorageBlobStoreRepositoryTests. This 
way we can also test the behavior of the Google's client when the 
service returns server errors in response to resumable upload requests.

The BlobStore implementation for GCS has the choice between 2 
methods to upload a blob: resumable and multipart. In the current 
implementation, the client executes a resumable upload if the blob 
size is larger than LARGE_BLOB_THRESHOLD_BYTE_SIZE, 
otherwise it executes a multipart upload. This commit makes this 
logic overridable in tests, allowing to randomize the decision of 
using one method or the other.

The commit add support for single request resumable uploads 
and chunked resumable uploads (the blob is uploaded into multiple 
2Mb chunks; each chunk being a resumable upload). For this last 
case, this PR also adds a test testSnapshotWithLargeSegmentFiles 
which makes it more probable that a chunked resumable upload is 
executed.
2019-09-18 09:33:05 +02:00
..
analysis-icu Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-kuromoji Add support for inlined user dictionary in the Kuromoji plugin (#45489) 2019-08-21 16:28:30 +02:00
analysis-nori Add support for inlined user dictionary in the Kuromoji plugin (#45489) 2019-08-21 16:28:30 +02:00
analysis-phonetic Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-smartcn Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-stempel Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-ukrainian Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
discovery-azure-classic Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
discovery-ec2 Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
discovery-gce Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
examples Update the schema for the REST API specification (#42346) 2019-08-16 14:40:00 +02:00
ingest-attachment Ingest Attachment: Upgrade tika to v1.22 (#45575) 2019-08-19 18:17:16 -04:00
mapper-annotated-text Simplify handling of keyword field normalizers (#42002) 2019-05-10 14:38:46 +01:00
mapper-murmur3 Small refactorings to analysis components (#40745) 2019-04-03 14:22:16 +02:00
mapper-size Remove -Xlint exclusions in all plugins. (#40721) 2019-04-04 08:30:34 +02:00
repository-azure Ensure SAS Tokens in Test Use Minimal Permissions (#46112) (#46628) 2019-09-17 15:40:11 +02:00
repository-gcs Add resumable uploads support to GCS repository integration tests (#46562) 2019-09-18 09:33:05 +02:00
repository-hdfs Repository plugin test cacheability fixes (#46572) 2019-09-11 08:24:55 -07:00
repository-s3 Resume partial download from S3 on connection drop (#46589) 2019-09-17 13:11:36 +01:00
store-smb Remove usage of FileSwitchDirectory (#42937) 2019-06-12 19:35:27 +02:00
transport-nio Upgrade to Netty 4.1.38 (#45132) (#45364) 2019-08-09 03:38:14 +02:00
build.gradle Testclsuters: convert plugins qa projects (#41496) 2019-04-26 08:57:52 -07:00