Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

IBM/hubot-cloudant-brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published