updated base yamls to properly connect to DB
[so.git] / adapters / mso-catalog-db-adapter / src / main / resources / application.yaml
index 749a319..d46a8ee 100644 (file)
@@ -16,7 +16,7 @@ mso:
     
 spring:
   datasource:
-    jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
+    url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
     username: ${DB_USERNAME}
     password: ${DB_PASSWORD}
     driver-class-name: org.mariadb.jdbc.Driver
@@ -39,17 +39,17 @@ flyway:
   outOfOrder: true
   validateOnMigrate: false
 
+#Actuator
 management:
   endpoints:
     web:
       base-path: /manage
-  server:
-    servlet:
-      context-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.  
+        step: 1m # Step size (i.e. reporting frequency) to use.
  
\ No newline at end of file