abacus-plan-tester

1.1.5 • Public • Published

abacus-plan-tester

Prerequisites:

  • Node.js >= 8.10.0
  • Yarn >= 1.3.2
# Clone Abacus
git clone https://github.com/cloudfoundry-incubator/cf-abacus.git

# Install dependencies
cd cf-abacus/lib/config/plan-tester
yarn install

# Test your plan
export TEST_PLAN=path_to_your_plan
yarn test

To submit usage to remote Abacus you have to:

# export remote URLs
export COLLECTOR=https://abacus-usage-collector.<domain>:443
export REPORTING=https://abacus-usage-reporting.<domain>:443
export AUTH_SERVER=https://uaa.<domain>:443

# provide credentials
export SECURED=true
export RESOURCE_ID=<resource_id (generated by broker)>
export CLIENT_ID=<resource client id>
export CLIENT_SECRET=<resource client secret>

# path to json file containing array of usage docs
export USAGE=<path to usage file>

Readme

Keywords

Package Sidebar

Install

npm i abacus-plan-tester

Weekly Downloads

1

Version

1.1.5

License

Apache-2.0

Unpacked Size

14.9 kB

Total Files

10

Last publish

Collaborators

  • hsiliev