commit | b11e386664f4adec7a931680d502036aa33c6c17 | [log] [tgz] |
---|---|---|
author | Carlos Santana <csantana23@gmail.com> | Thu Feb 02 10:26:12 2017 -0500 |
committer | GitHub <noreply@github.com> | Thu Feb 02 10:26:12 2017 -0500 |
tree | bf163209ddadc170838ca51b9a5d8432cbe67688 | |
parent | 53e99be02970d418c06bcb2f3ab9772ef098e536 [diff] | |
parent | 7f948942600043831621c9611cb9d9f240535b62 [diff] |
Merge pull request #58 from jasonpet/scancode Add travis scancode support
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.