0.0.15 • Published 4 years ago

@vidaxl/microservice-status-handler v0.0.15

Weekly downloads
19
License
ISC
Repository
-
Last release
4 years ago

motivation

To avoid typing the same boring lines per microservice. You use it like this in the status handler:

const statusAggregator = require('status-aggregator');
const configGetter = require('./helpers/config');
const statusHandler = require('@vidaxl/microservice-status-handler');

module.exports = statusHandler
  .name('product-catalog-service')
  .configGetter(configGetter)
  .statusAggregator(statusAggregator)();

dependencies

@vidaxl/status-aggregator-vidaxl-config-bridge Please note, that this library dependes on @vidaxl/config-getter-for-microservices, if you want to use it please add that to your package.json like:

    "@vidaxl/config-getter-for-microservices": "latest",
    "@vidaxl/microservice-status-handler": "latest"

Also this piece of software has a dependency, the @vidaxl/status-aggregator-vidaxl-config-bridge.

Please always install the latest from all as those will be backward compatible.

If you are implementing this library, please make sure that you copy/overwrite the .npmrc file with the one you find in the MICRO-49 branch of the product-catalog-service soon it will be in the master too.

0.0.15

4 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.1

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago