commit | 567fdc9e0c228bf4be017c408acb25348385faf3 | [log] [tgz] |
---|---|---|
author | Jason Peterson <jasonpet@us.ibm.com> | Tue Dec 06 11:22:58 2016 -0500 |
committer | Jason Peterson <jasonpet@us.ibm.com> | Tue Dec 06 11:28:44 2016 -0500 |
tree | 0002ebddad73228a9d907d37aab7557d5d41235a | |
parent | 80725001c2d086ed1808c8a221ff70619d5e0311 [diff] |
return error if includeDoc parameter is found
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.