From 5d3ed6ff2fe76e2510867379fdf58d4e99b2cc9f Mon Sep 17 00:00:00 2001 From: mpriyank Date: Thu, 26 May 2022 20:25:40 +0100 Subject: Fixing CompositeState mapping - Mapper null check - NcmpServiceCmHandle mapping for the new composite state - Added global parameter for jackson to include only NON_NULL attributes in the response Issue-ID: CPS-1066 Change-Id: I1924fef45345c77873f9c788baa701311e72bea7 Signed-off-by: mpriyank --- cps-application/src/main/resources/application.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cps-application/src/main/resources/application.yml') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 692996c98..af886a142 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -79,6 +79,9 @@ spring: spring.deserializer.value.delegate.class: org.springframework.kafka.support.serializer.JsonDeserializer spring.json.value.default.type: org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent spring.json.use.type.headers: false + + jackson: + default-property-inclusion: NON_NULL app: ncmp: async-m2m: -- cgit 1.2.3-korg