75b11ad8a69e3dfc8a565638092d674f66465065
[it/dep.git] / nonrtric / helm / enrichmentservice / 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.enrichment: INFO
37   file:
38     name: /var/log/enrichment-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/enrichment-coordinator-service/etc/cert/keystore.jks
46       key-password: policy_agent
47       key-alias: policy_agent
48 app:
49   filepath: /opt/app/enrichment-coordinator-service/data/application_configuration.json
50   webclient:
51     trust-store-used: false
52     trust-store-password: policy_agent
53     trust-store: /opt/app/enrichment-coordinator-service/etc/cert/truststore.jks
54   vardata-directory: /var/enrichment-coordinator-service