@halkeye/atlassian-connect-express-redis

0.1.5 • Public • Published

Atlassian Connect Express Redis Adapter

This is a basic Redis adapter for Atlassian Connect Express. You can use it in place of the default JugglingDB adapter. Using this will allow you to store your Connect client information into Redis. JugglingDB provides a Redis adapter, but the problem is that your data will be stored in JugglingDB's format which is more complicated than it should be inside of Redis.

To use, simply add the following dependency in your package.json:

"atlassian-connect-express-redis": "~0.1.0"

Then, in your config.json, specify your datastore:

"store": {
  "adapter": "redis",
  "url": "redis://user:password@localhost:6379"
}

Lastly, you'll need to register the adapter in your app.js:

ac.store.register('redis', require('atlassian-connect-express-redis'));

That's it.

Bugs?

File 'em or send me a PR.

Package Sidebar

Install

npm i @halkeye/atlassian-connect-express-redis

Weekly Downloads

1

Version

0.1.5

License

Apache 2.0

Last publish

Collaborators

  • halkeye