zmq-service-suite-broker-tokenized

0.1.4 • Public • Published

Build Status Code Climate Coverage Issue Count Dependency Status Grunt

ZMQ Service Oriented Suite - Node-js Broker

NPM version

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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

Package Sidebar

Install

npm i zmq-service-suite-broker-tokenized

Weekly Downloads

1

Version

0.1.4

License

MIT

Last publish

Collaborators

  • mpasierbski