commit | 53e99be02970d418c06bcb2f3ab9772ef098e536 | [log] [tgz] |
---|---|---|
author | Matt Rutkowski <mrutkows@us.ibm.com> | Wed Jan 25 10:30:30 2017 -0600 |
committer | GitHub <noreply@github.com> | Wed Jan 25 10:30:30 2017 -0600 |
tree | 54b93669092199ad84f669e8523b08cdf0d643d2 | |
parent | dfc99f655f5810a0b98f62f0f7e967ad0d43d4ba [diff] |
Create CONTRIBUTING.md
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.