1.3.0 • Published 6 years ago

hubot-ibmcloudant-brain v1.3.0

Weekly downloads
1
License
Apache v2
Repository
github
Last release
6 years ago

hubot-ibmcloudant-brain

Cloudant brain for Hubot. Inspired by hubot-mongodb-brain.

Installation

  1. Install this script:
npm install hubot-ibmcloudant-brain --save
  1. Add this script to external-scripts.json:
[
  "hubot-ibmcloudant-brain"
]

Configuration

Set your cloudant URL in env var CLOUDANT_URL.

Design

  • Each record (as an unqiue key of robot.brain.set()) is saved as a document in cloudant.
  • Records with null or undefined value are deleted from cloudant.
  • Currently does NOT handle revision conflicts, i.e. if you changed data in cloudant, you'll see revision conflict errors when hubot tries to save its brain.
1.3.0

6 years ago

1.2.0

7 years ago

1.1.0

7 years ago