@opuscapita/config
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -309,2 +309,7 @@ const EventEmitter = require('events'); | ||
{ | ||
if (process.env.KUBERNETES_SERVICE_DISCOVERY) | ||
{ | ||
return [{host: serviceName, port: 80}]; | ||
} | ||
const cacheName = this.serviceName + '.ep.' + serviceName; | ||
@@ -311,0 +316,0 @@ const results = await this.cache.get(cacheName); |
{ | ||
"name": "@opuscapita/config", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Configuration API connector module for OpusCapita Business Network Portal.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# @opuscapita/config | ||
[![Coverage Status](https://coveralls.io/repos/github/OpusCapita/config/badge.svg?branch=master)](https://coveralls.io/github/OpusCapita/config?branch=master) | ||
[![Build status](https://circleci.com/gh/OpusCapita/config.svg?style=svg&circle-token=8b82878859f78a2de1f56a8921d76ecdd93377d5)](https://circleci.com/gh/OpusCapita/config) | ||
This library is automatically build and published to npmjs after commit to the `master` branch | ||
@@ -5,0 +4,0 @@ This module provides easy access to instances of the **consul** service registry. It helps with accessing **key-value** stored configuration data, local data **encryption** and service **endpoint discovery** with health checking and change notifications. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
693
39432
159
2