Trust level updates with dmi status change 31/136331/12
authorhalil.cakal <halil.cakal@est.tech>
Thu, 26 Oct 2023 17:00:24 +0000 (18:00 +0100)
committerhalil.cakal <halil.cakal@est.tech>
Tue, 14 Nov 2023 16:24:38 +0000 (16:24 +0000)
commit34ec9548babc6180e8fd34818fafe73260ec6042
tree88b76627d925d8e736730cb9127a91e06fdfb010
parent0fdda53aa0dde9ec3a4c1b287b3ff8da4a75da5c
Trust level updates with dmi status change

- Change dmi watchdog to store Trustlevel for each DMI
- Corrected query algorithm for TrustLevel Queries

Issue-ID: CPS-1907
Change-Id: I7ca25db8edfd25b72bcda48e4fde1d9be5c56dc0
Signed-off-by: halil.cakal <halil.cakal@est.tech>
12 files changed:
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServicePropertyHandler.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/client/DmiRestClient.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/inventory/CmHandleQueriesImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/trustlevel/TrustLevel.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/trustlevel/TrustLevelFilter.java [deleted file]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/trustlevel/dmiavailability/DmiPluginStatus.java [deleted file]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/trustlevel/dmiavailability/DmiPluginWatchDog.java [moved from cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/trustlevel/dmiavailability/DMiPluginWatchDog.java with 64% similarity]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/client/DmiRestClientSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/inventory/CmHandleQueriesImplSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/trustlevel/TrustLevelTest.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/trustlevel/TrustLevelFilterSpec.groovy with 50% similarity]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/trustlevel/dmiavailability/DmiPluginWatchDogSpec.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/trustlevel/dmiavailability/DMiPluginWatchDogSpec.groovy with 52% similarity]