-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
CfEnv correctly sets redis credentials such as host, port and password in auto configuration but it doesn't set username, in my case it was required for connection to a9s redis 7 instance.
Reproduction steps
...
Expected behavior
CfEnv populates all available spring data redis properties:
spring
data:
redis:
host:
password:
port:
username:
Additional context
As a work-around I configured them manually:
spring:
data:
redis:
host: ${vcap.services.redis.credentials.host}
password: ${vcap.services.redis.credentials.redis.password}
port: ${vcap.services.redis.credentials.redis.port}
username: ${vcap.services.redis.credentials.redis.username}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working