findify / s3mock

Embedded S3 server for easy mocking
MIT License
386 stars 107 forks source link

Add InMemoryVersionedBackend #170

Open furkilic opened 4 years ago

furkilic commented 4 years ago

Hello

Quick PR to be able to do some Versioning (only for InMemory usage) by simply enabling the InMemoryVersionedBackend like this : S3Mock api = new S3Mock.Builder().withPort(8001).withInMemoryVersionedBackend().build();

InMemoryVersionedProvider was really close to InMemoryProvider so AbstractInMemoryProvider was added for abstraction Also written some test cases

It's my first time doing Scala so do not hesitate to share your input.

I really appreciate this project really helpfull in for tests, however versioning will be a big plus for us as it's really needed in my current project.

Thanks in advance

furkilic

Linked to #155

furkilic commented 3 years ago

Hi @shuttie @romangrebennikov

Is it possible to have a feedback please?

Thanks in advance

ghost commented 3 years ago

Would love to see this merged

ifs-medardegue commented 3 years ago

Definitely need this.