zmq-service-suite-broker-tokenized
v0.1.4
Published
0MQ Service oriented Suite - Broker
Downloads
1
Maintainers
Readme
ZMQ Service Oriented Suite - Node-js Broker
This project is a node-js broker implementation for Micro toolkit and it respects with the zss specification.
The broker is slipt in three main components:
- backend: Receives requests and replies from services;
- frontend: Receives requests and replies from clients;
- smi: Service management interface, it handles service lifecycle with smi requests: up, down, heartbeat.
Running Broker
ZeroMQ Install
You need to have 0MQ installed.
If you use MacOS just do
$ brew install zeromq
ZSS Broker Execution
$ npm install
$ npm start
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Bump versioning
We use grunt bump package to control package versioning.
Bump Patch version
$ grunt bump
Bump Minor version
$ grunt bump:minor
Bump Major version
$ grunt bump:major
Running Specs
$ npm test
Coverage Report
We aim for 100% coverage and we hope it keeps that way! :) We use pre-commit and pre-push hooks and CI to accomplish this, so don't mess with our build! :P
Check the report after running npm test.
$ open ./coverage/lcov-report/index.html