@capsulajs/capsulahub-service-environment-registry
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Environment Registry service extension

This service allows to register and load different versions of a project/service environment.
This is the bootstrapped service ready to use for CapsulaHub.
More detailed info are available here.

Install

NPM

To install the package from NPM registry you should run

yarn add @capsulajs/capsulahub-service-environment-registry

or

npm install @capsulajs/capsulahub-service-environment-registry

CDN

You can get the default export from the link

https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-environment-registry/index.js

WorkspaceConfiguration example

{
  "services": [
    {
      "serviceName": "EnvironmentRegistryService",
      "path": "https://capsulajs.s3.amazonaws.com/develop/capsulahub-service-environment-registry/index.js",
      "definition": {
        "serviceName": "EnvironmentRegistryService",
        "methods": {
          "register": { "asyncModel": "requestResponse" },
          "environments$": { "asyncModel": "requestStream" }
        }
      },
      "config": { 
        "serviceName": "EnvironmentRegistryService",
        "token": "someToken"
      }
    }
  ]
}

Exports

Default

Bootstrap function of the extension.

Named (API)

The public API of the extension.

Usage

See here

API

CDN

The documentation about public API.

Local

Run

yarn doc

And open doc/index.html in browser.

Tests

Run

  1. yarn test
  2. yarn test:debug

Licence

CapsulaHub and related services are released under MIT Licence.

Back to the Main Page

Readme

Keywords

none

Package Sidebar

Install

npm i @capsulajs/capsulahub-service-environment-registry

Weekly Downloads

69

Version

0.0.3

License

MIT

Unpacked Size

821 kB

Total Files

56

Last publish

Collaborators

  • 95kach
  • capsulajsbot
  • capsulajsci
  • idanilt
  • mikesquall