eventric-store-remote v0.0.1
eventric Remote Store Adapter 
API
initialize(contextName, options, callback)
contextName String Name of the context for which the store is responsible
options{} Object with options
remoteClientWhich remoteClient to use (default: inmemory)
callback(error)
errornull or Error if one happened
saveDomainEvent(domainEvent, callback)
domainEvent The DomainEvent to be stored
callback(error, domainEvents)
errornull or Error if one happeneddomainEventsThe stored domainEvents in an array
findAllDomainEvents(callback)
Finds all DomainEvents in the Store
callback(error, domainEvents)
errornull or Error if one happeneddomainEventsThe domainEvents found
findDomainEventsByName(domainEventName, callback)
Finds DomainEvents with the given Name in Store
name String|Array Name, or array of names, of the DomainEvent
callback(error, domainEvents)
errornull or Error if one happeneddomainEventsThe domainEvents found
findDomainEventsByAggregateId(aggregateId, callback)
Finds DomainEvents with the given AggregateId in Store
aggregateId String|Array Id, or array of ids, of the Aggregate
callback(error, domainEvents)
errornull or Error if one happeneddomainEventsThe domainEvents found
findDomainEventsByAggregateName(aggregateName, callback)
Finds DomainEvents with the given AggregateName in the Store
aggregateName String|Array Name, or array of names, of the Aggregate
callback(error, domainEvents)
errornull or Error if one happeneddomainEventsThe domainEvents found
getProjectionStore(projectionName, callback)
callbacks with a object which can be used for a projection
projectionName Name of the Projection for which a projectionStore should be returned
callback(error, projectionStore)
errornull or Error if one happenedprojectionStoreMongoDb Collection Projection Store
clearProjectionStore(projectionName, callback) ->
clears the projectionStore with the given name
projectionName Name of the Projection which should be cleared
callback(error, result)
errornull or Error if one happenedresultResult of the dropCollection call
Running Tests
Install dependencies
npm installExecute specs and watcher
gulp