Bugfix
[nonrtric.git] / test / simulator-group / policy_agent / application.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #                                                                              #
4 #   Licensed under the Apache License, Version 2.0 (the \"License\");            #
5 #   you may not use this file except in compliance with the License.           #
6 #   You may obtain a copy of the License at                                    #
7 #                                                                              #
8 #       http://www.apache.org/licenses/LICENSE-2.0                             #
9 #                                                                              #
10 #   Unless required by applicable law or agreed to in writing, software        #
11 #   distributed under the License is distributed on an \"AS IS\" BASIS,          #
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13 #   See the License for the specific language governing permissions and        #
14 #   limitations under the License.                                             #
15 ################################################################################
16
17 spring:
18   profiles:
19     active: prod
20   main:
21     allow-bean-definition-overriding: true
22   aop:
23     auto: false
24 management:
25   endpoints:
26     web:
27       exposure:
28         # Enabling of springboot actuator features. See springboot documentation.
29         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
30
31 logging:
32   # Configuration of logging
33   level:
34     ROOT: ERROR
35     org.springframework: ERROR
36     org.springframework.data: ERROR
37     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
38     ${POLICY_AGENT_PKG_NAME}: INFO
39   file: /var/log/policy-agent/application.log
40
41 server:
42   # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
43   # See springboot documentation.
44   port : 8433
45   http-port: 8081
46   ssl:
47     key-store-type: JKS
48     key-store-password: policy_agent
49     key-store: /opt/app/policy-agent/etc/cert/keystore.jks
50     key-password: policy_agent
51     key-alias: policy_agent
52 app:
53   # Location of the component configuration file. The file will only be used if the Consul database is not used;
54   # configuration from the Consul will override the file.
55   filepath: /opt/app/policy-agent/data/application_configuration.json
56   # path where the service can store data
57   vardata-directory: /var/policy-management-service
58   # path to json schema for config validation
59   config-file-schema-path: /application_configuration_schema.json
60   webclient:
61     # Configuration of the trust store used for the HTTP client (outgoing requests)
62     # The file location and the password for the truststore is only relevant if trust-store-used == true
63     # Note that the same keystore as for the server is used.
64     trust-store-used: false
65     trust-store-password: policy_agent
66     trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
67     # Configuration of usage of HTTP Proxy for the southbound accesses.
68     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
69     http.proxy-host: $AGENT_HTTP_PROXY_CONFIG_HOST_NAME
70     http.proxy-port: $AGENT_HTTP_PROXY_CONFIG_PORT
71     http.proxy-type: HTTP