commit | 1a7ed620a42a8965c287c62fc64db67b3b249fdc | [log] [tgz] |
---|---|---|
author | Jason Peterson <jasonpet@us.ibm.com> | Tue Nov 01 15:08:42 2016 -0400 |
committer | Jason Peterson <jasonpet@us.ibm.com> | Tue Nov 01 15:08:42 2016 -0400 |
tree | 884733146b2b3a33937c7dbd6152f3cb06523633 | |
parent | d7ecda92e39f9c7853853c498edc7dac00509180 [diff] | |
parent | e4b50aa33f0a9cb34a4539e5ed25e80ab77bd40d [diff] |
Merge branch 'master' of https://github.com/openwhisk/openwhisk-cloudant-trigger
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.