Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codefresh-io/internal-service-config

Package Overview
Dependencies
Maintainers
32
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codefresh-io/internal-service-config

This package provides all internal services names and their configurations.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
93
increased by1760%
Maintainers
32
Weekly downloads
 
Created
Source

Internal Service Config

This package provides all internal services names and their configurations.

Available services names

Note: DO NOT FORGET TO UPDATE THIS LIST AFTER ADDING NEW SERVICE CONFIGS.
account-refferals
api
charts-manager
cluster-provider
context-manager
dind-provider
kube-integration
payments
pipeline-manager
runtime-environment-manager
hermes

Services configs resolution

Services configs are resolved from file names in camel case inside the ./services dir.

For example, these files:

api.js
charts-manager.js
pipeline-manager.js
trigger-manager.js

Will become:

{ 
    services: { 
        api: { uri: 'local.codefresh.io', port: 9007, protocol: 'http' },
        chartsManager: { uri: 'local.codefresh.io', port: 9009, protocol: 'http' },
        pipelineManager: { uri: 'local.codefresh.io', port: 9010, protocol: 'http' },
        triggerManager: { uri: 'local.codefresh.io', port: 9011, protocol: 'http' } 
    } 
}

Usage

Retrieving service config

Using @codefresh-io/internal-service-config:

const { services } = require('@codefresh-io/internal-service-config');

const pipelineManagerConfig = services.pipelineManager

FAQs

Package last updated on 24 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc