A IBM Bluemix Object Storage dependency for nameko, enabling services to interface with object storage containers and objects. Future improvements are full support for open stack object storage in general.
from nameko_objectstorage import ObjectStorage
class Service:
storage = ObjectStorage()
@event_handler("dispatcher", "topic")
def handler(self, payload):
obj = self.storage.get_object(container, object_name)
# Do stuff with object
...
- Write tests!
- Implement support for native open stack.