Code Review
/
holmes
/
rule-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change HTTP Requests into HTTPS Ones
[holmes/rule-management.git]
/
rulemgt
/
src
/
main
/
java
/
org
/
onap
/
holmes
/
rulemgt
/
RuleActiveApp.java
diff --git
a/rulemgt/src/main/java/org/onap/holmes/rulemgt/RuleActiveApp.java
b/rulemgt/src/main/java/org/onap/holmes/rulemgt/RuleActiveApp.java
index
7738366
..
e7f30a7
100644
(file)
--- a/
rulemgt/src/main/java/org/onap/holmes/rulemgt/RuleActiveApp.java
+++ b/
rulemgt/src/main/java/org/onap/holmes/rulemgt/RuleActiveApp.java
@@
-56,7
+56,8
@@
public class RuleActiveApp extends IOCApplication<RuleAppConfig> {
}
ScheduledExecutorService service = Executors.newSingleThreadScheduledExecutor();
}
ScheduledExecutorService service = Executors.newSingleThreadScheduledExecutor();
- service.scheduleAtFixedRate(new DcaeConfigurationPolling("holmes-rule-mgmt"), 0,
+ service.scheduleAtFixedRate(
+ new DcaeConfigurationPolling(MicroServiceConfig.getEnv(MicroServiceConfig.HOSTNAME)), 0,
DcaeConfigurationPolling.POLLING_PERIOD, TimeUnit.MILLISECONDS);
}
DcaeConfigurationPolling.POLLING_PERIOD, TimeUnit.MILLISECONDS);
}
@@
-68,6
+69,7
@@
public class RuleActiveApp extends IOCApplication<RuleAppConfig> {
msinfo.setUrl("/api/holmes-rule-mgmt/v1");
msinfo.setProtocol("REST");
msinfo.setVisualRange("0|1");
msinfo.setUrl("/api/holmes-rule-mgmt/v1");
msinfo.setProtocol("REST");
msinfo.setVisualRange("0|1");
+ msinfo.setEnable_ssl(true);
Set<Node> nodes = new HashSet<>();
Node node = new Node();
node.setIp(serviceAddrInfo[0]);
Set<Node> nodes = new HashSet<>();
Node node = new Node();
node.setIp(serviceAddrInfo[0]);