commit | 0b5c21de4ef6e1eb694ec7f2787c037293d3b6e9 | [log] [tgz] |
---|---|---|
author | Morgan L Johnson <johnsolm@us.ibm.com> | Fri Jan 06 11:24:13 2017 -0500 |
committer | Justin Berstler <bjustin-ibm@users.noreply.github.com> | Fri Jan 06 16:24:13 2017 +0000 |
tree | 3c8e29553b3f78487f1e38df4da53dc63d684109 | |
parent | 3e00428a2b1b15cf2814f50c42c01d202daa94cd [diff] |
jshint cleanup - pipeline was updated to scan the code (#51)
This is still very much a work-in-progress.
RESTful service to listen for changes to a Cloudant database.
Changes to a Cloudant database can trigger the invocation of an action, passing the action the body of the updated document.
See the scripts directory for examples on how to register a new Cloudant trigger.
The following commands will test the Cloudant trigger service:
cd <bluewhisk_home> gradle distDocker
Follow the instructions in [ansible/README.md][../../../ansible/README.md]
./bin/wsk create HELLOCLOUDANT ./actions/hellocloudant.js ./catalog/providers/cloudantTrigger/scripts/addTestTriggers.sh
./catalog/providers/cloudantTrigger/scripts/addNewDocument.sh
You should see the output from invoking the HELLOCLOUDANT action in the ELK logs.