Update license references
[nonrtric.git] / docker-compose / policy-service / config / application-policyagent.yaml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2022-2022 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 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 spring:
20   profiles:
21     active: prod
22   main:
23     allow-bean-definition-overriding: true
24   aop:
25     auto: false
26 management:
27   endpoints:
28     web:
29       exposure:
30         # Enabling of springboot actuator features. See springboot documentation.
31         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
32
33 logging:
34   # Configuration of logging
35   level:
36     ROOT: ERROR
37     org.springframework: ERROR
38     org.springframework.data: ERROR
39     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
40     org.onap.ccsdk.oran.a1policymanagementservice: INFO
41   file:
42     name: /var/log/policy-agent/application.log
43 server:
44    # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
45    # See springboot documentation.
46    port : 8433
47    http-port: 8081
48    ssl:
49       key-store-type: JKS
50       key-store-password: policy_agent
51       key-store: /opt/app/policy-agent/etc/cert/keystore.jks
52       key-password: policy_agent
53       key-alias: policy_agent
54 app:
55   # Location of the component configuration file. The file will only be used if the Consul database is not used;
56   # configuration from the Consul will override the file.
57   filepath: /opt/app/policy-agent/data/application_configuration.json
58   webclient:
59     # Configuration of the trust store used for the HTTP client (outgoing requests)
60     # The file location and the password for the truststore is only relevant if trust-store-used == true
61     # Note that the same keystore as for the server is used.
62     trust-store-used: false
63     trust-store-password: policy_agent
64     trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
65     # Configuration of usage of HTTP Proxy for the southbound accesses.
66     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
67     http.proxy-host:
68     http.proxy-port: 0