Skip to content
This repository was archived by the owner on Sep 28, 2019. It is now read-only.
This repository was archived by the owner on Sep 28, 2019. It is now read-only.

Write a localhost storage backend and unit tests #5

@jhford

Description

@jhford

Right now we don't have any sort of no-op storage backend for unit tests. We could mock out the AWS api, but that's not great because we really need a real HTTP backed service.

It would be great if we had a basic 'cloud' server which has a PUT, GET and DELETE end point. These are the routes I would see:

GET http://localhost/artifact/:key
PUT http://localhost/artifact/:key
DELETE http://localhost/artifact/:key

This server should be written in node and able to run concurrently in the same process as the unit tests.

Then a backend implementation which knows how to insert and retrieve files from this basic service would be great because we could write integration tests which require no credentials. We could also theoretically use this service to provide cloud-mirror support in on-premises data centers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions