DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
mpriyank | 78e1d06 | 2022-04-08 15:12:22 +0530 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021 Bell Canada. |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 10 | # |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
| 20 | server: |
| 21 | port: 8080 |
| 22 | |
tragait | 2270d76 | 2021-07-08 15:42:19 +0100 | [diff] [blame] | 23 | dmi: |
| 24 | service: |
tragait | fa11e9c | 2021-09-14 13:47:52 +0100 | [diff] [blame] | 25 | url: ${DMI_SERVICE_URL} |
tragait | 2270d76 | 2021-07-08 15:42:19 +0100 | [diff] [blame] | 26 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 27 | rest: |
| 28 | api: |
JosephKeenan | e935cd2 | 2021-08-31 15:57:56 +0100 | [diff] [blame] | 29 | dmi-base-path: /dmi |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 30 | |
| 31 | security: |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 32 | permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 33 | auth: |
tragait | fa11e9c | 2021-09-14 13:47:52 +0100 | [diff] [blame] | 34 | username: ${DMI_USERNAME} |
| 35 | password: ${DMI_PASSWORD} |
shivasubedi | 55500c3 | 2021-06-23 16:31:02 +0100 | [diff] [blame] | 36 | |
JosephKeenan | be383b4 | 2022-03-23 15:12:53 +0000 | [diff] [blame] | 37 | # When updating to sprinboot 2.6.4 an exception would occur when starting the container |
| 38 | # "Failed to start bean 'documentationPluginsBootstrapper'. |
| 39 | # This is a known issue with springfox and springboot introduced in 2.6.x: |
| 40 | # https://github.com/springfox/springfox/issues/3462 |
| 41 | spring: |
sourabh_sourabh | df26bc3 | 2022-05-04 11:38:52 +0100 | [diff] [blame] | 42 | application: |
| 43 | name: ncmp-dmi-plugin |
JosephKeenan | be383b4 | 2022-03-23 15:12:53 +0000 | [diff] [blame] | 44 | mvc: |
| 45 | pathmatch: |
| 46 | matching-strategy: ANT_PATH_MATCHER |
mpriyank | 78e1d06 | 2022-04-08 15:12:22 +0530 | [diff] [blame] | 47 | kafka: |
JosephKeenan | 2cd8b98 | 2022-05-23 15:43:05 +0100 | [diff] [blame^] | 48 | bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092} |
mpriyank | 78e1d06 | 2022-04-08 15:12:22 +0530 | [diff] [blame] | 49 | security: |
| 50 | protocol: PLAINTEXT |
| 51 | producer: |
| 52 | key-serializer: org.apache.kafka.common.serialization.StringSerializer |
| 53 | value-serializer: org.springframework.kafka.support.serializer.JsonSerializer |
JosephKeenan | 2cd8b98 | 2022-05-23 15:43:05 +0100 | [diff] [blame^] | 54 | client-id: ncmp-dmi-plugin |
mpriyank | 78e1d06 | 2022-04-08 15:12:22 +0530 | [diff] [blame] | 55 | |
| 56 | app: |
| 57 | ncmp: |
JosephKeenan | 2cd8b98 | 2022-05-23 15:43:05 +0100 | [diff] [blame^] | 58 | async: |
mpriyank | 78e1d06 | 2022-04-08 15:12:22 +0530 | [diff] [blame] | 59 | topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m} |
JosephKeenan | be383b4 | 2022-03-23 15:12:53 +0000 | [diff] [blame] | 60 | |
JosephKeenan | 2cd8b98 | 2022-05-23 15:43:05 +0100 | [diff] [blame^] | 61 | notification: |
| 62 | async: |
| 63 | executor: |
| 64 | time-out-value-in-ms: 2000 |
| 65 | |
shivasubedi | 55500c3 | 2021-06-23 16:31:02 +0100 | [diff] [blame] | 66 | # Actuator |
| 67 | management: |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 68 | server: |
| 69 | port: 8081 |
shivasubedi | 55500c3 | 2021-06-23 16:31:02 +0100 | [diff] [blame] | 70 | endpoints: |
| 71 | web: |
| 72 | base-path: /manage |
| 73 | exposure: |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 74 | include: info,health,loggers,prometheus |
shivasubedi | 55500c3 | 2021-06-23 16:31:02 +0100 | [diff] [blame] | 75 | endpoint: |
| 76 | health: |
| 77 | show-details: always |
| 78 | # kubernetes probes: liveness and readiness |
| 79 | probes: |
| 80 | enabled: true |
niamhcore | 71a61bb | 2021-07-06 10:32:17 +0100 | [diff] [blame] | 81 | loggers: |
| 82 | enabled: true |
| 83 | |
| 84 | cps-core: |
| 85 | baseUrl: http://${CPS_CORE_HOST}:${CPS_CORE_PORT} |
Renu Kumari | 4d39a76 | 2021-10-08 10:48:00 -0400 | [diff] [blame] | 86 | dmiRegistrationUrl : /ncmpInventory/v1/ch |
niamhcore | 71a61bb | 2021-07-06 10:32:17 +0100 | [diff] [blame] | 87 | auth: |
| 88 | username: ${CPS_CORE_USERNAME} |
tragait | 7c4a9aa | 2021-07-19 13:46:37 +0100 | [diff] [blame] | 89 | password: ${CPS_CORE_PASSWORD} |
| 90 | |
| 91 | sdnc: |
| 92 | baseUrl: http://${SDNC_HOST}:${SDNC_PORT} |
| 93 | topologyId: ${SDNC_TOPOLOGY_ID:topology-netconf} |
| 94 | auth: |
| 95 | username: ${SDNC_USERNAME} |
| 96 | password: ${SDNC_PASSWORD} |
tragait | 2270d76 | 2021-07-08 15:42:19 +0100 | [diff] [blame] | 97 | |
| 98 | logging: |
sourabh_sourabh | df26bc3 | 2022-05-04 11:38:52 +0100 | [diff] [blame] | 99 | format: json |
tragait | 2270d76 | 2021-07-08 15:42:19 +0100 | [diff] [blame] | 100 | level: |
| 101 | org.springframework: ERROR |
| 102 | org.onap.cps: DEBUG |
| 103 | pattern: |
| 104 | console: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" |
| 105 | file: "%d %p %c{1.} [%t] %m%n" |
| 106 | file: dmi.log |
puthuparambil.aditya | 1d90226 | 2021-11-23 14:53:43 +0000 | [diff] [blame] | 107 | |
| 108 | springdoc: |
| 109 | swagger-ui: |
| 110 | disable-swagger-default-url: true |
| 111 | urlsPrimaryName: query |
| 112 | urls: |
| 113 | - name: query |
JosephKeenan | 2cd8b98 | 2022-05-23 15:43:05 +0100 | [diff] [blame^] | 114 | url: /api-docs/openapi.yaml |