commit | 38231226fc1ae450046f44c30a1f8b9be1a5ef03 | [log] [tgz] |
---|---|---|
author | Morgan Johnson <johnsolm@us.ibm.com> | Fri Dec 09 14:24:41 2016 -0500 |
committer | Morgan Johnson <johnsolm@us.ibm.com> | Fri Dec 09 14:24:41 2016 -0500 |
tree | aa7cf0d6697d853df650135ad15b58ae26495bc3 | |
parent | ee733d9c060e783a35b2c3f623b40a8a28b6902f [diff] |
adding proper package spec to persistency test cases
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.