OpenSearch/plugins/repository-s3
Tanguy Leroux b526309fbd Replace MockAmazonS3 usage in S3BlobStoreRepositoryTests by a HTTP server (#46081)
This commit removes the usage of MockAmazonS3 in S3BlobStoreRepositoryTests 
and replaces it by a HttpServer that emulates the S3 service. This allows the 
repository tests to use the real Amazon's S3 client under the hood in tests and will 
allow to test the behavior of the snapshot/restore feature for S3 repositories by 
simulating random server-side internal errors.

The HTTP server used to emulate the S3 service is intentionally simple and minimal 
to keep things understandable and maintainable. Testing full client options on the 
server side (like authentication, chunked encoding etc) remains the responsibility 
of the AmazonS3Fixture.
2019-08-29 13:16:59 +02:00
..
config/repository-s3 Fix logging configuration for AwsSdkMetrics logger 2016-10-14 23:44:39 -04:00
licenses Remove Unused AWS KMS Dependency (#43671) (#43679) 2019-06-27 16:51:11 +02:00
src Replace MockAmazonS3 usage in S3BlobStoreRepositoryTests by a HTTP server (#46081) 2019-08-29 13:16:59 +02:00
build.gradle Refactor RepositoryCredentialsTests (#45919) 2019-08-26 15:14:43 +02:00
docker-compose.yml Make sure the clean task doesn't break test fixtures (#43641) 2019-07-08 17:58:27 +03:00