@jenius2/j2-service-status
Jenius 2 microservice overview
Last updated 3 years ago by j2techlead .
ISC · Original npm · Tarball · package.json
$ cnpm install @jenius2/j2-service-status 
SYNC missed versions from official npm registry.

node-j2-service-status

Usage:


const serviceStatus = require('@jenius2/j2-service-status');

const options = {
  gitlab: {
    url: 'https://git.ecommchannels.com',
    token: 'CT1GxWgK..'
  },
  openshift: {
    url: 'https://masters.dev.corp.btpn.co.id:8443',
    token: '6tWGYLN3f9pDyr76OEAc3VJ5-I...',
    environments: ['dev', 'sit']
  }
};


serviceStatus(options)
.then(res => console.log(res))
.catch(err => console.log(err));

Output:

[
  {
    id: 184,
    name: 'microservice-otp',
    description: 'microservice to send OTP via SMS and validate OTP.',
    webUrl: 'https://git.ecommchannels.com/jenius2/microservice-otp',
    buildBadgeUrl: 'https://git.ecommchannels.com/jenius2/microservice-otp/badges/master/build.svg',
    coverBadgeUrl: 'https://git.ecommchannels.com/jenius2/microservice-otp/badges/master/coverage.svg',
    buildStatus: 'success',
    coverage: 63,
    tag: 'v0.1.0-rc.4'
    environments: {
      dev: {
        hostname: 'http://ms-cards-jenius2-dev.devops.dev.corp.btpn.co.id',
        name: 'ms-cards',
        env: 'jenius2-dev',
        dependencies: {},
        version: '0.1.0-rc.4',
        status: 'ok'
      },
      sit: {
        hostname: 'http://ms-cards-jenius2-sit.devops.dev.corp.btpn.co.id',
        name: 'ms-cards',
        env: 'jenius2-sit',
        dependencies: {},
        version: '0.1.0-rc.4',
        status: 'ok'
      }
    }
  }
]

Current Tags

  • 1.7.1                                ...           latest (3 years ago)

12 Versions

  • 1.7.1                                ...           3 years ago
  • 1.7.0                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.3.1                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |