apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.54k stars 1.17k forks source link

Object Storage package #396

Closed csantanapr closed 7 years ago

csantanapr commented 8 years ago

Object Storage pacakge provides an unstructured cloud data store.

User can read and write files on object storage service like bluemix

object storage in bluemix currently doesn't support change feeds, and pooling feed/provider implementation would be suboptimal. So this issue should only cover read and write.

tareqmamari commented 8 years ago

I will be working on that as a part of my master thesis

csantanapr commented 8 years ago

Hi @tareqmamari please coordinate with @jasonpet he has some code working and maybe you two can work together or split the work.

tareqmamari commented 8 years ago

Sure, will do that Thanks

JacopoMangiavacchi commented 8 years ago

Definitely ObjectStorage is the best repository for blob storage but what about using Cloudant attachment as a front end to ObjectStorage?

We already have excellent cloudant package supporting feed and it should be possible to use Cloudant as a blob storage frontend, automatically exporting the attachment writing the blob on ObjectStorage with a simple whisk action and then remove it from Cloudant. It should be nice to deliver a sample for that.

csantanapr commented 8 years ago

@JacopoMangiavacchi Thanks for posting a comment, Once there is a simple objectstore write and read actions, then is open to be use to compose solutions, like you describe. to take out the attachment (i.e. photo, mp3, pdf, etc..) and write it to object store with the action.

The action can be invoke directly or indirectly thru an event, or just have a single action that does multiple things on a single cloudant change event, it can process the doc including transferring the attachment to objectstore using the objectstore api, and adding a reference to the file in objectstore item back in the cloudant doc.

starpit commented 7 years ago

was progress ever made on this? if not, i can take it up

markusthoemmes commented 7 years ago

@csantanapr move to catalog?

csantanapr commented 7 years ago

Issue moved to openwhisk/openwhisk-catalog #198 via ZenHub