BjornMagnussonXA | 663566c | 2021-11-08 10:25:07 +0100 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # Copyright (c) 2021 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 | # Enabling of springboot actuator features. See springboot documentation. |
| 29 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 30 | springdoc: |
| 31 | show-actuator: true |
| 32 | logging: |
| 33 | # Configuration of logging |
| 34 | level: |
| 35 | ROOT: ERROR |
| 36 | org.springframework: ERROR |
| 37 | org.springframework.data: ERROR |
| 38 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
| 39 | org.oran.dmaapadapter: INFO |
| 40 | file: |
| 41 | name: /var/log/dmaap-adaptor-service/application.log |
| 42 | server: |
| 43 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 44 | # See springboot documentation. |
| 45 | port : $DMAAP_ADP_INTERNAL_SECURE_PORT |
| 46 | http-port: $DMAAP_ADP_INTERNAL_PORT |
| 47 | ssl: |
| 48 | key-store-type: JKS |
| 49 | key-store-password: policy_agent |
| 50 | key-store: /opt/app/dmaap-adaptor-service/etc/cert/keystore.jks |
| 51 | key-password: policy_agent |
| 52 | key-alias: policy_agent |
| 53 | app: |
| 54 | webclient: |
| 55 | # Configuration of the trust store used for the HTTP client (outgoing requests) |
| 56 | # The file location and the password for the truststore is only relevant if trust-store-used == true |
| 57 | # Note that the same keystore as for the server is used. |
| 58 | trust-store-used: false |
| 59 | trust-store-password: policy_agent |
| 60 | trust-store: /opt/app/dmaap-adaptor-service/etc/cert/truststore.jks |
| 61 | # Configuration of usage of HTTP Proxy for the southbound accesses. |
| 62 | # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s |
| 63 | http.proxy-host: $DMAAP_ADP_HTTP_PROXY_CONFIG_HOST_NAME |
| 64 | http.proxy-port: $DMAAP_ADP_HTTP_PROXY_CONFIG_PORT |
| 65 | ecs-base-url: $ECS_SERVICE_PATH |
| 66 | # Location of the component configuration file. The file will only be used if the Consul database is not used; |
| 67 | # configuration from the Consul will override the file. |
| 68 | configuration-filepath: /opt/app/dmaap-adaptor-service/data/application_configuration.json |
| 69 | dmaap-base-url: $MR_SERVICE_PATH |
| 70 | # The url used to adress this component. This is used as a callback url sent to other components. |
BjornMagnussonXA | 6fc58fd | 2021-11-18 08:19:45 +0100 | [diff] [blame^] | 71 | dmaap-adapter-base-url: $DMAAP_ADP_SERVICE_PATH |
| 72 | # KAFKA boostrap server. This is only needed if there are Information Types that uses a kafkaInputTopic |
| 73 | kafka: |
| 74 | bootstrap-servers: $MR_KAFKA_SERVICE_PATH |