38 lines
756 B
Java
38 lines
756 B
Java
package eu.dnetlib.dnetrolemanagement.config.properties;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
@ConfigurationProperties("redis")
|
|
public class RedisProperties {
|
|
private String host = "localhost";
|
|
private String port = "6379";
|
|
private String password;
|
|
|
|
public RedisProperties() {
|
|
}
|
|
|
|
public String getHost() {
|
|
return host;
|
|
}
|
|
|
|
public void setHost(String host) {
|
|
this.host = host;
|
|
}
|
|
|
|
public String getPort() {
|
|
return port;
|
|
}
|
|
|
|
public void setPort(String port) {
|
|
this.port = port;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
}
|