Faulty Storage is an awful file storage, but it's the only one we have in our Faulty Inc., so you'll have face the reality and work with what you have.
The link above contains the jar with the storage server. It uses java 8, so you'll have to install at least jre somewhere to run it:
# java -jar faulty-server.jar
after start, it listens for http requests on http://localhost:8080
.
It also has some OpenAPI docs which you can get from the link, but for convenience,
You need to also support the storage in S3 without changing the server code.
The most convenient way to submit the solutuon is to fork the repo and create pull-request. The solution should have adequate set of tests, including E2E and it would be nice if we could build it ourselves and run it without any errors.
- You can use minio for storage, it's fully S3 compatible
- Running E2E tests without errors might mean that S3 should somehow be available during tests