commit | ad9b1da4e534a9fe56d5b6c50068d89f9f4f4fd0 | [log] [tgz] |
---|---|---|
author | Jason Peterson <jasonpet@us.ibm.com> | Thu Nov 17 15:13:43 2016 -0500 |
committer | Jason Peterson <jasonpet@us.ibm.com> | Thu Nov 17 15:13:43 2016 -0500 |
tree | 11126371b41c5edf5d0dc5961c00c052cd83d0d7 | |
parent | 0c69b683ae907643933529eabcabd30a3686dd01 [diff] |
minor code cleanup
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.