aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2021-11-05 14:24:02 +0000
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2021-11-11 10:22:55 +0000
commit3d8fc9a77081886599cc93acd26105b433770b43 (patch)
tree7114b5b7f47a3e8ff8ad27c19c2840bb169e0b46 /packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml
parentef52ec6f4b347868052b8532542f11b43c8c93b6 (diff)
Add health check, metrics and prometheus endpoints for CL participants
Issue-ID: POLICY-3747 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800
Diffstat (limited to 'packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml')
-rw-r--r--packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml
index be421fcae..b13059a69 100644
--- a/packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml
+++ b/packages/policy-clamp-tarball/src/main/resources/etc/HttpParticipantParameters.yaml
@@ -1,3 +1,10 @@
+spring:
+ security:
+ user:
+ name: participantUser
+ password: zb!XztG34
+security:
+ enable-csrf: false
participant:
intermediaryParameters:
reportingTimeIntervalMs: 120000
@@ -22,3 +29,12 @@ participant:
- ${topicServer:message-router}
topicCommInfrastructure: dmaap
useHttps: true
+management:
+ endpoints:
+ web:
+ exposure:
+ include: health, metrics, prometheus
+server:
+ port: 8084
+ servlet:
+ context-path: /onap/httpparticipant