38bf7f0c4e45301c6386ace66b19a890ac724961
[it/dep.git] / smo-install / oran_oom / informationservice / resources / config / 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         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
29
30 logging:
31   level:
32     ROOT: ERROR
33     org.springframework: ERROR
34     org.springframework.data: ERROR
35     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
36     org.oransc.information: INFO
37   file:
38     name: /var/log/information-coordinator-service/application.log
39 server:
40    port : 8434
41    http-port: 8083
42    ssl:
43       key-store-type: JKS
44       key-store-password: policy_agent
45       key-store: /opt/app/information-coordinator-service/etc/cert/keystore.jks
46       key-password: policy_agent
47       key-alias: policy_agent
48 app:
49   filepath: /opt/app/information-coordinator-service/data/application_configuration.json
50   webclient:
51     trust-store-used: false
52     trust-store-password: policy_agent
53     trust-store: /opt/app/information-coordinator-service/etc/cert/truststore.jks
54     # Configuration of usage of HTTP Proxy for the southbound accesses.
55     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
56     http.proxy-host:
57     http.proxy-port: 0
58   vardata-directory: /var/information-coordinator-service