4b9e38484b27fe9266ae314f12f5ed619ae2efad
[nonrtric.git] / docker-compose / policy-service / config / application-policyagent.yaml
1 spring:
2   profiles:
3     active: prod
4   main:
5     allow-bean-definition-overriding: true
6   aop:
7     auto: false
8 management:
9   endpoints:
10     web:
11       exposure:
12         # Enabling of springboot actuator features. See springboot documentation.
13         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
14
15 logging:
16   # Configuration of logging
17   level:
18     ROOT: ERROR
19     org.springframework: ERROR
20     org.springframework.data: ERROR
21     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
22     org.onap.ccsdk.oran.a1policymanagementservice: INFO
23   file:
24     name: /var/log/policy-agent/application.log
25 server:
26    # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
27    # See springboot documentation.
28    port : 8433
29    http-port: 8081
30    ssl:
31       key-store-type: JKS
32       key-store-password: policy_agent
33       key-store: /opt/app/policy-agent/etc/cert/keystore.jks
34       key-password: policy_agent
35       key-alias: policy_agent
36 app:
37   # Location of the component configuration file. The file will only be used if the Consul database is not used;
38   # configuration from the Consul will override the file.
39   filepath: /opt/app/policy-agent/data/application_configuration.json
40   webclient:
41     # Configuration of the trust store used for the HTTP client (outgoing requests)
42     # The file location and the password for the truststore is only relevant if trust-store-used == true
43     # Note that the same keystore as for the server is used.
44     trust-store-used: false
45     trust-store-password: policy_agent
46     trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
47     # Configuration of usage of HTTP Proxy for the southbound accesses.
48     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
49     http.proxy-host:
50     http.proxy-port: 0