diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2022-05-26 20:25:40 +0100 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2022-06-01 10:25:44 +0100 |
commit | 5d3ed6ff2fe76e2510867379fdf58d4e99b2cc9f (patch) | |
tree | 31317f6742d694342f3188c1e2ac662e4b87666e /cps-application | |
parent | e7ba1dee7d0431d00a67e078434778b559019e98 (diff) |
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 <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 692996c985..af886a1421 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:
|