FLOE-206: Create local persistence using PouchDB

Metadata

Source
FLOE-206
Type
Task
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2014-07-24T14:07:49.397-0400
Updated
2014-07-31T09:15:17.956-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Feedback Tool

Description

As a first step for persisting the requests data form the feedback tool, we should implement a local data storage scheme using PouchDB.

Individual user data will be stored in a documents with the following structure.

{
_id: <user_id>,
match: boolean,
not_interesetd: boolean,
other: string
requests: {
<request_type>: boolean
...
},
votes: {
<vote_type>: boolean
}
}

Note that other than the _id field, the rest are optional.

Comments

  • Justin Obara commented 2014-07-28T13:53:06.492-0400

    Submitted a pull request:
    https://github.com/fluid-project/metadata/pull/31

  • Cindy Li commented 2014-07-31T09:15:12.893-0400

    Merged into the master branch @ 9fdf2da750ca74358bb41779e7018ee3a3e75807