Adding docker-compose for setting up ICS version
[nonrtric/rapp/ransliceassurance.git] / docker-compose / icsversion / config / dmaap-adaptor-java / application.yaml
1 ################################################################################
2 #   Copyright (c) 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 spring:
17   profiles:
18     active: prod
19   main:
20     allow-bean-definition-overriding: true
21   aop:
22     auto: false
23 management:
24   endpoints:
25     web:
26       exposure:
27         # Enabling of springboot actuator features. See springboot documentation.
28         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
29
30 logging:
31   # Configuration of logging
32   level:
33     ROOT: ERROR
34     org.springframework: ERROR
35     org.springframework.data: ERROR
36     org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
37     org.oran.dmaapadapter: TRACE
38   file:
39     name: /var/log/dmaap-adaptor-service/application.log
40 server:
41    # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
42    # See springboot documentation.
43    port : 8435
44    http-port: 8084
45    ssl:
46       key-store-type: JKS
47       key-store-password: policy_agent
48       key-store: /opt/app/dmaap-adaptor-service/etc/cert/keystore.jks
49       key-password: policy_agent
50       key-alias: policy_agent
51 app:
52   webclient:
53     # Configuration of the trust store used for the HTTP client (outgoing requests)
54     # The file location and the password for the truststore is only relevant if trust-store-used == true
55     # Note that the same keystore as for the server is used.
56     trust-store-used: false
57     trust-store-password: policy_agent
58     trust-store: /opt/app/dmaap-adaptor-service/etc/cert/truststore.jks
59     # Configuration of usage of HTTP Proxy for the southbound accesses.
60     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
61     http.proxy-host:
62     http.proxy-port: 0
63   vardata-directory: /var/dmaap-adaptor-service
64   ics-base-url: http://ics:8083
65   # Location of the component configuration file. The file will only be used if the Consul database is not used;
66   # configuration from the Consul will override the file.
67   configuration-filepath: /opt/app/dmaap-adaptor-service/data/application_configuration.json
68   dmaap-base-url: http://onap-dmaap:3904
69   # The url used to adress this component. This is used as a callback url sent to other components.
70   dmaap-adapter-base-url: http://dmaap-adaptor-service:8084
71