Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

sdc-clients

11.3.1 • Public • Published

node-sdc-clients

This repository is part of the Joyent Triton project. See the contribution guidelines -- Triton does not use GitHub PRs -- and general documentation at the main Triton project page.

This repository holds Node.js client libraries for many of the core Triton REST APIs: Amon, CA, CNS, CNAPI, FWAPI, IMGAPI, NAPI, PAPI, SAPI, VMAPI.

Node.js client libraries for other Triton APIs are in other repos. For example see:

Testing

To run the tests from a Triton DataCenter global zone:

./test/runtests

Or to run the test suite remotely (say you are developing on Mac and want to test against your CoaL):

./test/runtests -H root@10.99.99.7

To run a single one of the files use the -f FILTER option, e.g.

./test/runtests -H root@10.99.99.7 -f ./test/napi.test.js

Development

Before commit, ensure that the following checks are clean:

make prepush

Also see the note at the top that cr.joyent.us is used for code review for this repo.

Releases

Changes with possible user impact should:

  1. Add a note to the changelog (CHANGES.md).

  2. Bump the package version appropriately.

  3. Once merged to master, the new version should be tagged and published to npm via:

     make cutarelease
    

    To list to npm accounts that have publish access:

     npm owner ls sdc-clients
    

The desire is that users of this package use published versions in their package.json dependencies, rather than depending on git shas.

Keywords

none

install

npm i sdc-clients

Downloadsweekly downloads

11

version

11.3.1

license

MPL-2.0

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability