Async request response NCMP -> Client
[cps.git] / cps-service / src / test / resources / application.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (c) 2021 Bell Canada.
3 #  Modification Copyright (C) 2022 Nordix Foundation.
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
10 #
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 notification:
21   data-updated:
22     filters:
23       enabled-dataspaces: ".*-published,.*-important"
24     enabled: true
25     topic: cps-event
26   async:
27     enabled: true
28     executor:
29       core-pool-size: 2
30       max-pool-size: 10
31       queue-capacity: 0
32
33 spring:
34   kafka:
35     properties:
36       request.timeout.ms: 5000
37       retries: 1
38       max.block.ms: 10000
39     producer:
40       value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
41       cliend-id: cps
42     consumer:
43       group-id: cps-test
44       auto-offset-reset: earliest
45       value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
46       properties:
47         spring.json.value.default.type: org.onap.cps.event.model.CpsDataUpdatedEvent
48
49 logging:
50   level:
51     org.apache.kafka: ERROR