aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-nssmf-adapter/src/main/resources/application.yaml
diff options
context:
space:
mode:
authorjananib <janani.b@huawei.com>2020-04-07 11:19:20 +0530
committerjananib <janani.b@huawei.com>2020-04-07 11:19:20 +0530
commitf2b1404192d00bab13200bb566f6b8455bc936d0 (patch)
tree13f8bfccd6d39d082835bbccff627be01c53d3cd /adapters/mso-nssmf-adapter/src/main/resources/application.yaml
parent75bf985a00799617a6ae8c278596e3d4f591f17e (diff)
Health url addition
Bug fix Change-Id: Ibd4d5085b62ba22f40a109c9bb92030652c08624 Issue-ID: SO-2775 Signed-off-by: jananib <janani.b@huawei.com>
Diffstat (limited to 'adapters/mso-nssmf-adapter/src/main/resources/application.yaml')
-rw-r--r--adapters/mso-nssmf-adapter/src/main/resources/application.yaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/adapters/mso-nssmf-adapter/src/main/resources/application.yaml b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml
index f8b28efaf8..303d63d4a2 100644
--- a/adapters/mso-nssmf-adapter/src/main/resources/application.yaml
+++ b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml
@@ -44,6 +44,7 @@ spring:
- username: mso_admin
password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
role: ACTUATOR
+
server:
port: 8080
tomcat:
@@ -60,7 +61,14 @@ mso:
#Actuator
management:
- security:
- enabled: false
- basic:
- enabled: false \ No newline at end of file
+ endpoints:
+ web:
+ base-path: /manage
+ exposure:
+ include: "*"
+ metrics:
+ se-global-registry: false
+ export:
+ prometheus:
+ enabled: true # Whether exporting of metrics to Prometheus is enabled.
+ step: 1m # Step size (i.e. reporting frequency) to use.