node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org ยป

wf-client

sdc-wf-client

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 is a Node.js client library for the Triton core Workflow API service.

Documentation

See the wf-client docs here.

Testing

make test

Currently this assumes a Workflow API endpoint at https://10.99.99.19, the common IP for a CoaL setup. To test a workflow API at a different IP run:

make test WORKFLOW_IP=...

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 version in package.json and CHANGES.md.

  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 wf-client
    

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