Commit 28e2ff2c authored by Bill Wang's avatar Bill Wang
Browse files

update

parent c017848d
......@@ -51,7 +51,7 @@
<dependency>
<groupId>org.opengroup.osdu.core.aws</groupId>
<artifactId>os-core-lib-aws</artifactId>
<version>0.11.1-local-param-SNAPSHOT</version>
<version>0.11.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opengroup.osdu</groupId>
......
......@@ -71,7 +71,7 @@ public class ElasticRepositoryImpl implements IElasticRepository {
@PostConstruct
private void postConstruct() {
private void postConstruct() throws Exception{
K8sLocalParameterProvider provider = new K8sLocalParameterProvider();
host = provider.getParameterAsString(hostParameter);
port = Integer.parseInt(provider.getParameterAsString(portParameter));
......
......@@ -64,7 +64,7 @@ public class ElasticSettingServiceImpl implements IElasticSettingService {
@Value("${aws.ssm}")
String ssmEnabledString;
@PostConstruct
private void postConstruct() {
private void postConstruct() throws Exception {
K8sLocalParameterProvider provider = new K8sLocalParameterProvider();
host = provider.getParameterAsString(hostParameter);
port = Integer.parseInt(provider.getParameterAsString(portParameter));
......
Markdown is supported
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