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

update

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