commit | 3e00428a2b1b15cf2814f50c42c01d202daa94cd | [log] [tgz] |
---|---|---|
author | Morgan Johnson <johnsolm@us.ibm.com> | Wed Dec 21 15:27:37 2016 -0500 |
committer | Morgan Johnson <johnsolm@us.ibm.com> | Wed Dec 21 15:27:37 2016 -0500 |
tree | fe8ec043a0cb5672f3963b72352b0e53a19c75e2 | |
parent | 50ba98f2e878b233d92fd3015c543d4c831f48bc [diff] |
add ignore flag to test already running in blue.
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.