Change to logging.file.name for latest spring-boot
[nonrtric.git] / policy-agent / config / application.yaml
index e373ac6..4f5e242 100644 (file)
@@ -2,12 +2,14 @@ spring:
   profiles:
     active: prod
   main:
-    allow-bean-definition-overriding: true 
+    allow-bean-definition-overriding: true
+  aop:
+    auto: false
 management:
   endpoints:
     web:
       exposure:
-        include: "loggers,logfile,health,info,metrics"
+        include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
 
 logging:
   level:
@@ -15,9 +17,22 @@ logging:
     org.springframework: ERROR
     org.springframework.data: ERROR
     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
-    org.onap.dcaegen2.collectors.datafile: WARN
-  file: /var/log/policy-agent/application.log
-app:
-  filepath: /opt/app/policy-agent/config/application_configuration.json
+    org.oransc.policyagent: INFO
+  file:
+    name: /var/log/policy-agent/application.log
 server:
-   port : 8081
+   port : 8433
+   http-port: 8081
+   ssl:
+      key-store-type: JKS
+      key-store-password: policy_agent
+      key-store: /opt/app/policy-agent/etc/cert/keystore.jks
+      key-password: policy_agent
+      key-alias: policy_agent
+app:
+  filepath: /opt/app/policy-agent/data/application_configuration.json
+  webclient:
+    trust-store-used: false
+    trust-store-password: policy_agent
+    trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
+