removing nano auth logic and associated cookie usage, commenting out
code for now
2 files changed
tree: 10a60d67fdc476667ae5af85637eb9b3b0f021cd
  1. .gitignore
  2. Dockerfile
  3. Logger.js
  5. app.js
  6. build.gradle
  7. lib/
  8. package.json
  9. scripts/


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.

Testing the Cloudant trigger service

The following commands will test the Cloudant trigger service:


cd <bluewhisk_home> gradle distDocker


Follow the instructions in [ansible/][../../../ansible/]

Register an action and listen for changes to a test Cloudant database.

./bin/wsk create HELLOCLOUDANT ./actions/hellocloudant.js ./catalog/providers/cloudantTrigger/scripts/

Insert a new document to the test Cloudant database.


You should see the output from invoking the HELLOCLOUDANT action in the ELK logs.