You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2019. It is now read-only.
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:
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.
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.