itv-services

0.2.0 • Public • Published

itv-services

We have lots of services of i.TV and have run into problems where we have a version mismatch. This module checks versions, LIKE A BOSS

How it works

put a services.json file in the root of your project like so:

{
  "service1" : "0.1.x",
  "service2" : "0.2.x"
}
// or with url predefined
{
  "service1": {
    "version" : "0.1.x",
    "url" : "http://myhost"
  }
}

It checks your endpoints /version and if it doesn't match, you can get an error!

More?

Look at the code for now, its pretty simple! docs forcoming

Readme

Keywords

none

Package Sidebar

Install

npm i itv-services

Weekly Downloads

1

Version

0.2.0

License

none

Last publish

Collaborators

  • addisonj