S3Mock
S3Mock copied to clipboard
A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener
## Description First step: Extract BucketStore from FileStore. Extract all methods handling CRUD for Buckets. Leave public methods in FileStore for now, unfortunately most of them are public API for...
Bumps `aws-v2.version` from 2.17.248 to 2.17.250. Updates `aws-query-protocol` from 2.17.248 to 2.17.250 Updates `aws-xml-protocol` from 2.17.248 to 2.17.250 Updates `s3` from 2.17.248 to 2.17.250 Updates `url-connection-client` from 2.17.248 to 2.17.250...
Bucket lifecycle configuration doesn't seem to be supported with the version 2.1.28. would it be possible to support it? This is the code snippet: ``` var lifeCycleConfig = s3Client.getBucketLifecycleConfiguration(bucketName); lifeCycleConfig.getRules().add(new...
I'm trying to test an AWS lambda function written in python using s3 mock. I'm using the `boto3` library. I am getting differing behavior between real s3 and s3mock that...
Hi, I am running S3Mock in a container. I try uploading a file there using pre-signed URL with `boto3`. In order to do so, I literally copy paste from the...
This is a bit of a niche one, but it caused a discrepancy in our tests vs reality, so still worth flagging up. `curl -I https://s3-mock/bucket/file?X-Amz-Algorithm=xxx&X-Amz-Credential=xxx&X-Amz-Date=xxx&X-Amz-Expires=xxx&X-Amz-Security-Token=xxx&X-Amz-Signature=xxx&X-Amz-SignedHeaders=host ` Actual: `200` Expected:...
👋 I suspect this feature might not be implemented, but wanted to raise here, in case I'm missing something! https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html I tried to retrieve object attributes manually using S3mock and...
Calling PutObjectLegalHold and PutObjectRetention changes underlying S3 file for dockerized s3 mock. Steps to reproduce: 1. Put any object in S3. 2. Call PutObjectRetention or PutObjectLegalHold on the object. 3....
Currently, s3 client can access s3mock with any access_key & region config. Is it possible to configure these props for mock?
We're currently enforcing every file to contain a copyright header, which is mandatory for Adobe OpenSource projects. Using the https://github.com/mycila/license-maven-plugin/, we're enforcing every header to contain a date in the...