Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Storage
Commits
ea0563ec
Commit
ea0563ec
authored
Jul 13, 2021
by
Spencer Sutton
Browse files
Reverting some more
parent
660e5d32
Pipeline
#51941
failed with stages
in 42 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
provider/storage-aws-mongodb/src/main/java/org/opengroup/osdu/storage/provider/mongodb/cache/SchemaCache.java
View file @
ea0563ec
...
...
@@ -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
);
}
...
...
provider/storage-aws-mongodb/src/main/resources/application.properties
View file @
ea0563ec
...
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment