diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-04-04 12:32:16 +0100 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-04-04 12:32:21 +0100 |
commit | 055c1546c92e797dc54cdb9e41a1d032abdf49b4 (patch) | |
tree | 92a8110c4efcad35ed34a60e4a512386c94764ac /main | |
parent | 8e4e0c053492ce44f2d2a76605d7c6527bded39f (diff) |
Fix incorrect url in PAP consolidated healthcheck
Change-Id: I0194483f371e1140ad56029c23b6f400df0dcbdc
Issue-ID: POLICY-4068
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java b/main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java index 3ad740d3..53f05a15 100644 --- a/main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java +++ b/main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java @@ -148,7 +148,7 @@ public class PolicyComponentsHealthCheckProvider { // Check PAP itself excluding connectivity to Policy DB HealthCheckReport papReport = new HealthCheckProvider().performHealthCheck(false); papReport - .setUrl(isHttps ? "https://" : "http://" + papReport.getUrl() + ":" + port + POLICY_PAP_HEALTHCHECK_URI); + .setUrl((isHttps ? "https://" : "http://") + papReport.getUrl() + ":" + port + POLICY_PAP_HEALTHCHECK_URI); if (!papReport.isHealthy()) { isHealthy = false; } |