From 3d8fc9a77081886599cc93acd26105b433770b43 Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Fri, 5 Nov 2021 14:24:02 +0000 Subject: Add health check, metrics and prometheus endpoints for CL participants Issue-ID: POLICY-3747 Signed-off-by: zrrmmua Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800 --- .../src/main/resources/config/application.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'participant/participant-impl/participant-impl-http/src/main/resources/config/application.yaml') diff --git a/participant/participant-impl/participant-impl-http/src/main/resources/config/application.yaml b/participant/participant-impl/participant-impl-http/src/main/resources/config/application.yaml index 664c6e878..df0ad7df3 100644 --- a/participant/participant-impl/participant-impl-http/src/main/resources/config/application.yaml +++ b/participant/participant-impl/participant-impl-http/src/main/resources/config/application.yaml @@ -1,3 +1,10 @@ +spring: + security: + user: + name: participantUser + password: zb!XztG34 +security: + enable-csrf: false participant: intermediaryParameters: reportingTimeIntervalMs: 120000 @@ -20,3 +27,12 @@ participant: servers: - ${topicServer:message-router} topicCommInfrastructure: dmaap +management: + endpoints: + web: + exposure: + include: health, metrics, prometheus +server: + port: 8084 + servlet: + context-path: /onap/httpparticipant -- cgit 1.2.3-korg