0.1.0 • Published 8 years ago

mumba-microservice-sourced v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
8 years ago

build status

Mumba Microservice Sourced

A Mumba Microservice module that provides Event Sourcing (via mateodelnorte/sourced and mateodelnorte/sourced-repo-mongo) support.

Configuration

This module requires that a Config object has been registered as config.

PropertyTypeDescription
mongoobjectA dictionary of options required for RabbitMQ.
mongo:urlstringThe URL of the MongoDB server (for example mongodb://mongo:27017/local).

DI Container

This module adds the following container artifacts if they don't already exist.

NameTypeDescription
mongoobjectAn instance of a Node.js mongo driver.

Installation

$ npm install --save mumba-microservice-sourced
$ typings install --save dicontainer=npm:mumba-typedef-dicontainer
$ typings install --save sourced=npm:mumba-typedef-sourced

Examples

TODO

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm run docker:up
$ npm install
$ npm test
$ npm docker:down

People

The original author of Mumba Microservice Service Bus is Andrew Eddie.

List of all contributors

License

Apache 2.0


© 2016 Mumba Pty Ltd. All rights reserved.