0.1.7 • Published 7 years ago

cloud-foundry-service-discovery v0.1.7

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

cloud-foundry-service-discovery

Axios based cloud foundry service discovery client for node.js.

Enable nodejs application dynamically discover and resolve url of other regiesterd apps through cloud foundry service registry

Installing

Note: axios is a peer dependency.

npm install axios cloud-foundry-service-discovery

Example

import {resolveAppId} from 'cloud-foundry-service-discovery'

resolveAppId("appId").then(response=>console.log(appInstanceUrl)).catch(error=>console.log(error))

Reference

Pivotal Cloud Foundry Service Registry

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago