Improve handling of legacy events 57/135057/1
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 21 Jun 2023 15:45:47 +0000 (16:45 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 21 Jun 2023 16:01:18 +0000 (17:01 +0100)
commit57cceb2b3d680363719bda3204c24d93fd93f64f
treea6c558a0b21ed11648dce417e48024ea1bbd6d13
parentaadbac4706a906252083ade06621db38a73fb343
Improve handling of legacy events

Legacy (non-cloud) events would cause a NPE in the event filter
Although the event woudl still be ignored it would lead to uncessary error logging
This fix addressed this issue using a trace level message instead
(also some improvements in the associated test)

Issue-ID: CPS-1724
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ibf71b13e4a47aaf705e32df5fe50cf41de5f558f
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/DataOperationRecordFilterStrategy.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/async/NcmpAsyncDataOperationEventConsumerIntegrationSpec.groovy