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
Partition
Commits
b7f48763
Commit
b7f48763
authored
Aug 25, 2021
by
Bill Wang
Browse files
fix cache impl with default value
parent
a982e5a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
provider/partition-aws/src/main/java/org/opengroup/osdu/partition/provider/aws/cache/GroupCache.java
View file @
b7f48763
...
@@ -33,11 +33,11 @@ import java.util.Map;
...
@@ -33,11 +33,11 @@ import java.util.Map;
@Component
@Component
public
class
GroupCache
{
public
class
GroupCache
{
@Value
(
"${aws.elasticache.cluster.endpoint}"
)
@Value
(
"${aws.elasticache.cluster.endpoint
:null
}"
)
String
REDIS_SEARCH_HOST
;
String
REDIS_SEARCH_HOST
;
@Value
(
"${aws.elasticache.cluster.port}"
)
@Value
(
"${aws.elasticache.cluster.port
:null
}"
)
String
REDIS_SEARCH_PORT
;
String
REDIS_SEARCH_PORT
;
@Value
(
"${aws.elasticache.cluster.key}"
)
@Value
(
"${aws.elasticache.cluster.key
:null
}"
)
String
REDIS_SEARCH_KEY
;
String
REDIS_SEARCH_KEY
;
public
ICache
<
String
,
Groups
>
GetGroupCache
()
throws
K8sParameterNotFoundException
,
JsonProcessingException
{
public
ICache
<
String
,
Groups
>
GetGroupCache
()
throws
K8sParameterNotFoundException
,
JsonProcessingException
{
K8sLocalParameterProvider
provider
=
new
K8sLocalParameterProvider
();
K8sLocalParameterProvider
provider
=
new
K8sLocalParameterProvider
();
...
...
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