aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorHengye <yehui.wang@est.tech>2019-11-27 13:43:42 +0800
committerHengye <yehui.wang@est.tech>2019-12-11 11:30:28 +0800
commitb53f17e933de95d6a397313ad04f1c67b18a27da (patch)
tree63aaf842c16e200cb0b1bb0e3ad500e61489e9b9 /packages
parentd97629ff8ec522d30d1f552201496182c72559ab (diff)
consolidate Policy Health Check into PAP
Issue-ID: POLICY-1689 Change-Id: I3b84094e217c8cda115efdbf3444e92f08013a7c Signed-off-by: Hengye <yehui.wang@est.tech>
Diffstat (limited to 'packages')
-rw-r--r--packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json20
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
index 995a3cec..173b2017 100644
--- a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
+++ b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
@@ -44,5 +44,23 @@
"servers" : [ "message-router" ],
"topicCommInfrastructure" : "dmaap"
}]
- }
+ },
+ "healthCheckRestClientParameters":[{
+ "clientName": "api",
+ "hostname": "policy-api",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34",
+ "useHttps": true,
+ "basePath": "policy/api/v1/healthcheck"
+ },
+ {
+ "clientName": "distribution",
+ "hostname": "policy-distribution",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34",
+ "useHttps": true,
+ "basePath": "healthcheck"
+ }]
}