Improve coverage with unit tests 98/142398/1
authoremaclee <lee.anjella.macabuhay@est.tech>
Mon, 10 Nov 2025 15:06:25 +0000 (15:06 +0000)
committeremaclee <lee.anjella.macabuhay@est.tech>
Mon, 10 Nov 2025 15:06:25 +0000 (15:06 +0000)
commita57f8b749ce4e4e5cfe99f8879a2011e70dd63e8
tree0e887aabc2cf95fb197a2165af5a2e7d4d444512
parent3a0a89b0af76ebc2d38f68afd1100585ad08114d
Improve coverage with unit tests

- removed unused records in data job subscriptions
- add unit test to cover deleting a non existing subscription
- add unit test in YangDataCoverter for xpath ending with
  'state'

Issue-ID: CPS-3036
Change-Id: Ia3439f12806971573501ebe17debb2c10b5bf6db
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/subscription/models/DmiCmSubscriptionKey.java [deleted file]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/subscription/models/DmiCmSubscriptionTuple.java [deleted file]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/datajobs/subscription/utils/CmSubscriptionPersistenceServiceSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/utils/YangDataConverterSpec.groovy