commit | 1e3d7faba7e20ea3087887a85b1d35dc11fb3669 | [log] [tgz] |
---|---|---|
author | Jason Peterson <jasonpet@us.ibm.com> | Sat Dec 17 00:03:40 2016 -0500 |
committer | Jason Peterson <jasonpet@us.ibm.com> | Sat Dec 17 00:17:17 2016 -0500 |
tree | ade2a8470b422dd5825a2c76dd0a41dc3202dcf1 | |
parent | 4b143299c0ca56ad49ebb73a385af6156e7c11aa [diff] |
do not use default namespace
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.