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