commit | dfc99f655f5810a0b98f62f0f7e967ad0d43d4ba | [log] [tgz] |
---|---|---|
author | Jason Peterson <jasonpet@us.ibm.com> | Tue Jan 24 18:59:02 2017 -0500 |
committer | Jason Peterson <jasonpet@us.ibm.com> | Tue Jan 24 18:59:02 2017 -0500 |
tree | 07d2cbe7618511df95a31265fa6aa8ad31f883ad | |
parent | 502cc82ac4c806e8b1660b181f63113fbfec36c9 [diff] |
fix for failing tests
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.