Commit ea0563ec authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Reverting some more

parent 660e5d32
Pipeline #51941 failed with stages
in 42 minutes and 57 seconds
......@@ -22,8 +22,8 @@ import org.springframework.stereotype.Component;
@Component
public class SchemaCache extends RedisCache<String, Schema> {
public SchemaCache(@Value("${aws.elasticache.cluster.endpoint}") final String REDIS_SCHEMA_HOST, @Value("${aws.elasticache.cluster.port}") final String REDIS_SCHEMA_PORT, @Value("${aws.elasticache.cluster.key}") final String REDIS_SCHEMA_KEY) {
super(REDIS_SCHEMA_HOST, Integer.parseInt(REDIS_SCHEMA_PORT), REDIS_SCHEMA_KEY, 60 * 60, String.class,
public SchemaCache(@Value("${aws.elasticache.cluster.endpoint}") final String REDIS_SCHEMA_HOST, @Value("${aws.elasticache.cluster.port}") final String REDIS_SCHEMA_PORT) {
super(REDIS_SCHEMA_HOST, Integer.parseInt(REDIS_SCHEMA_PORT), 60 * 60, String.class,
Schema.class);
}
......
......@@ -25,6 +25,7 @@ S3_DATA_BUCKET=""
aws.elasticache.cluster.endpoint=${CACHE_CLUSTER_ENDPOINT}
aws.elasticache.cluster.port=${CACHE_CLUSTER_PORT}
aws.ssm=${SSM_ENABLED}
aws.parameter.prefix=/osdu/${ENVIRONMENT}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment