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
Indexer
Commits
01d424ef
Commit
01d424ef
authored
Aug 26, 2021
by
Bill Wang
Browse files
update
parent
48077a66
Changes
2
Hide whitespace changes
Inline
Side-by-side
provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/IndexCacheImpl.java
View file @
01d424ef
...
...
@@ -32,11 +32,11 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab
private
ICache
<
String
,
Boolean
>
cache
;
private
Boolean
local
;
@Value
(
"${aws.elasticache.cluster.endpoint
:null
}"
)
@Value
(
"${aws.elasticache.cluster.endpoint}"
)
String
REDIS_SEARCH_HOST
;
@Value
(
"${aws.elasticache.cluster.port
:null
}"
)
@Value
(
"${aws.elasticache.cluster.port}"
)
String
REDIS_SEARCH_PORT
;
@Value
(
"${aws.elasticache.cluster.key
:null
}"
)
@Value
(
"${aws.elasticache.cluster.key}"
)
String
REDIS_SEARCH_KEY
;
@Value
(
"${aws.elasticache.cluster.index.expiration}"
)
String
INDEX_CACHE_EXPIRATION
;
...
...
provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java
View file @
01d424ef
...
...
@@ -29,11 +29,11 @@ import java.util.Map;
@Component
public
class
SchemaCacheImpl
implements
ISchemaCache
<
String
,
String
>,
AutoCloseable
{
@Value
(
"${aws.elasticache.cluster.endpoint
:null
}"
)
@Value
(
"${aws.elasticache.cluster.endpoint}"
)
String
REDIS_SEARCH_HOST
;
@Value
(
"${aws.elasticache.cluster.port
:null
}"
)
@Value
(
"${aws.elasticache.cluster.port}"
)
String
REDIS_SEARCH_PORT
;
@Value
(
"${aws.elasticache.cluster.key
:null
}"
)
@Value
(
"${aws.elasticache.cluster.key}"
)
String
REDIS_SEARCH_KEY
;
@Value
(
"${aws.elasticache.cluster.schema.expiration:60}"
)
String
SCHEMA_CACHE_EXPIRATION
;
...
...
Write
Preview
Markdown
is supported
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