sdc-clients
v13.0.6
Published
node.js client libraries for Triton core REST APIs.
Downloads
31
Keywords
Readme
node-sdc-clients
This repository is part of the Triton project. See the contribution guidelines 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:
- node-ufds: client for Triton's core UFDS service
- node-moray: client for Triton's core Moray service
- node-triton: Triton CloudAPI client and CLI
- node-manta: Manta client and CLI
- wf-client: client for Triton's core Workflow API service
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 [email protected]
To run a single one of the files use the -f FILTER
option, e.g.
./test/runtests -H [email protected] -f ./test/napi.test.js
Development
Before commit, ensure that the following checks are clean:
make prepush
Releases
Changes with possible user impact should:
Add a note to the changelog (CHANGES.md).
Bump the package version appropriately.
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.