deconst / content-service

An API for storing, indexing and retrieving documentation
MIT License
4 stars 9 forks source link

Support in-memory storage #46

Closed smashwilson closed 9 years ago

smashwilson commented 9 years ago

Local builds shouldn't need to use Cloud Files containers or a MongoDB instance just to perform a transient render. This introduces a STORAGE configuration parameter that allows storage operations to delegate to a "remote" implementation, that actually reaches Cloud Files, Mongo, and so on, or a "memory" one that just uses in-memory data structures.

smashwilson commented 9 years ago

:boom: Tests are now green again :+1:

I still need to put RemoteStorage through its paces, though, since the tests all use MemoryStorage.

smashwilson commented 9 years ago

:shipit: