@micro-fleet/service-communication
Provides methods for microservices to communicate with each other.
Last updated 6 months ago by hirikarate .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @micro-fleet/service-communication 
SYNC missed versions from official npm registry.

Micro Fleet - Backend Service Communication library

Belongs to Micro Fleet framework, provides methods for microservices to communicate with each other.

See more examples and usage guide in unit tests.

INSTALLATION

  • Stable version: npm i @micro-fleet/service-communication
  • Edge (development) version: npm i git://github.com/gennovative/micro-fleet-service-communication.git

DEVELOPMENT

  • Install packages in peerDependencies section with command npm i --no-save {package name}@{version}. Or if you want to use directly neighbor packages, excute npm run linkPackages.
  • npm run build to transpile TypeScript then run unit tests (if any) (equiv. npm run compile + npm run test (if any)).
  • npm run compile: To transpile TypeScript into JavaScript.
  • npm run watch: To transpile without running unit tests, then watch for changes in *.ts files and re-transpile on save.
  • npm run test: To run unit tests.
    • One of the quickest way to set up the test environment is to use Docker:

      docker run -d --name rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:3.6-management-alpine

    • After tests finish, open file /coverage/index.html with a web browser to see the code coverage report which is mapped to TypeScript code.

RELEASE

  • npm run release: To transpile and create app.d.ts definition file.
  • Note: Please commit transpiled code in folder dist and definition file app.d.ts relevant to the TypeScript version.

Current Tags

  • 2.4.0-rc1                                ...           latest (6 months ago)

15 Versions

  • 2.4.0-rc1                                ...           6 months ago
  • 2.3.0-rc6                                ...           8 months ago
  • 2.3.0-rc5                                ...           8 months ago
  • 2.3.0-rc4                                ...           9 months ago
  • 2.3.0-rc3                                ...           9 months ago
  • 2.3.0-rc1                                ...           9 months ago
  • 0.3.0                                ...           9 months ago
  • 0.3.1-rc3                                ...           10 months ago
  • 0.3.1-rc2                                ...           a year ago
  • 0.3.1-rc1                                ...           a year ago
  • 0.2.4                                ...           a year ago
  • 0.2.3 [deprecated]           ...           a year ago
  • 0.2.2-rc1                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.2-rc.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |