Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon S3/OpenStack Swift API skeleton

I would like to implement a cloud storage service with the same interface of OpenStack Swift or Amazon S3. In other words, my cloud storage service should expose the same API of the above-mentioned services but with a custom implementation. This way, a client will be able to interoperate with my service without changing its implementation.

I was wondering if there is an easier approach than manually implementing such interfaces starting from the documentation: http://docs.openstack.org/api/openstack-object-storage/1.0/content/ http://docs.aws.amazon.com/AmazonS3/latest/API/APIRest.html

For instance, it would be nice if there was a "skeleton" of OpenStack Swift or Amazon S3 APIs from which I can start implementing my service.

Thanks

like image 392
pAkY88 Avatar asked Jan 22 '14 10:01

pAkY88


1 Answers

I found exactly what I was looking for:

  • https://github.com/jubos/fake-s3
  • https://github.com/scireum/s3ninja

These tools emulate most of Amazon S3 API. They are meant for development and test purposes but in my case I can use them as a starting point for implementing my cloud storage service.

like image 122
pAkY88 Avatar answered Oct 05 '22 09:10

pAkY88