Giter Site home page Giter Site logo

faultystorage's Introduction

Data Migration in Faulty Storage

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.

API Faulty Storage

It also has some OpenAPI docs which you can get from the link, but for convenience,

API

GET /storage/files lists all files

GET /storage/files/{filename} returns the content of {filename}

DELETE /storage/files/{filename} deletes the file {filename}

POST /storage/files multipart/form-data creates new file (it's awful, I told you)

Task

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.

Hint

  • 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

faultystorage's People

Contributors

undimmable avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Forkers

childofjustice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.