Added docker-compose ranpm
[nonrtric/plt/ranpm.git] / docker-proj / config / ics / application.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2023 Nordix Foundation. All rights reserved.
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 #  ============LICENSE_END=================================================
16 #
17
18 spring:
19   profiles:
20     active: prod
21   main:
22     allow-bean-definition-overriding: true
23   aop:
24     auto: false
25 springdoc:
26   show-actuator: true
27 management:
28   endpoints:
29     web:
30       exposure:
31         # Enabling of springboot actuator features. See springboot documentation.
32         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
33
34 logging:
35   # Configuration of logging
36   level:
37     ROOT: ERROR
38     org.springframework: ERROR
39     org.springframework.data: ERROR
40     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
41     org.oransc.ics: DEBUG
42   file:
43     name: /var/log/information-coordinator-service/application.log
44 server:
45    # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
46    # See springboot documentation.
47    port : 8434
48    http-port: 8083
49    ssl:
50       key-store-type: JKS
51       key-store-password: policy_agent
52       key-store: /opt/app/information-coordinator-service/etc/cert/keystore.jks
53       key-password: policy_agent
54       key-alias: policy_agent
55 app:
56   webclient:
57     # Configuration of the trust store used for the HTTP client (outgoing requests)
58     # The file location and the password for the truststore is only relevant if trust-store-used == true
59     # Note that the same keystore as for the server is used.
60     trust-store-used: false
61     trust-store-password: policy_agent
62     trust-store: /opt/app/information-coordinator-service/etc/cert/truststore.jks
63     # Configuration of usage of HTTP Proxy for the southbound accesses.
64     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
65     http.proxy-host:
66     http.proxy-port: 0
67   vardata-directory: /var/information-coordinator-service
68   # If the file name is empty, no authorzation token is sent
69   auth-token-file: