OpenSearch/test/fixtures
Tanguy Leroux ca4f55f2e4
Add docker-compose fixtures for S3 integration tests (#49107) (#49229)
Similarly to what has been done for Azure (#48636) and GCS (#48762),
this committ removes the existing Ant fixture that emulates a S3 storage
service in favor of multiple docker-compose based fixtures.

The goals here are multiple: be able to reuse a s3-fixture outside of the
repository-s3 plugin; allow parallel execution of integration tests; removes
the existing AmazonS3Fixture that has evolved in a weird beast in
dedicated, more maintainable fixtures.

The server side logic that emulates S3 mostly comes from the latest
HttpHandler made for S3 blob store repository tests, with additional
features extracted from the (now removed) AmazonS3Fixture:
authentication checks, session token checks and improved response
errors. Chunked upload request support for S3 object has been added
too.

The server side logic of all tests now reside in a single S3HttpHandler class.

Whereas AmazonS3Fixture contained logic for basic tests, session token
tests, EC2 tests or ECS tests, the S3 fixtures are now dedicated to each
kind of test. Fixtures are inheriting from each other, making things easier
to maintain.
2019-11-18 05:56:59 -05:00
..
azure-fixture Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
gcs-fixture Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
hdfs-fixture fix and enable repository-hdfs secure tests (#44044) (#44199) 2019-07-12 12:44:01 +10:00
krb5kdc-fixture Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
minio-fixture Move MinIO fixture in its own project (#49036) 2019-11-13 10:03:59 -05:00
old-elasticsearch [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
s3-fixture Add docker-compose fixtures for S3 integration tests (#49107) (#49229) 2019-11-18 05:56:59 -05:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00