Springboot 2.0 upgrade
[so.git] / adapters / mso-requests-db-adapter / src / test / resources / application-test.yaml
index 35b3ec9..19bff50 100644 (file)
@@ -19,7 +19,7 @@ mso:
       period: 0
 spring:
   datasource:
-    url: jdbc:mariadb://localhost:3307/requestdb
+    jdbc-url: jdbc:mariadb://localhost:3307/requestdb
     username: root
     password: password
     driver-class-name: org.mariadb.jdbc.Driver
@@ -48,15 +48,23 @@ mariaDB4j:
   port: 3307
   databaseName: requestdb
 
-#Actuator
 management:
-  security:
-    enabled: false
-    basic:
-      enabled: false
+  endpoints:
+    web:
+      base-path: /manage
+  server:
+    servlet:
+      context-path: /manage
+  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.  
+
 
 flyway:
   baseline-on-migrate: false
-  url: jdbc:mariadb://localhost:3307/requestdb
+  jdbc-url: jdbc:mariadb://localhost:3307/requestdb
   user: root
   password: password