samvera-deprecated / curation_concerns

A Hydra-based Rails Engine that extends an application, adding the ability to Create, Read, Update and Destroy (CRUD) objects (based on Hydra::Works) and providing a generator for defining object types with custom workflows, views, access controls, etc.
Other
15 stars 27 forks source link

Allow full redis urls #1172

Closed nestorw closed 7 years ago

nestorw commented 7 years ago

Descriptive summary

The current implementation of the redis.yml parser does not support a full redis url. This prevents the usage of a password and alternate redis dbs.

Expected behavior

allow config/redis.yml with the format:

default: &default
  url: "redis://:password@redis.example.com:6379/2"

Actual behavior

config/redis.yml currently requires the following:

default: &default
  scheme: redis
  host: redis.example.com
  port: 6379

PR incoming...