Improve performance for update data nodes 88/133388/4
authordanielhanrahan <daniel.hanrahan@est.tech>
Tue, 21 Feb 2023 22:55:05 +0000 (22:55 +0000)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Fri, 24 Feb 2023 11:19:05 +0000 (11:19 +0000)
commitafa131e65975c46c26af78e5a2e3cdcc652e8306
treec331629aeb0590d6ba983a92630a0c6b43c2353b
parent003de55a8e6c53643032731e68edc43c0698fd81
Improve performance for update data nodes

- Extract method getFragmentEntities from getDataNodes
- Remove unused code from getFragmentEntity
- Use bulk getFragmentEntities in updateDataNodesAndDescendants
- Update performance test timings

Issue-ID: CPS-1504
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Icd2c6a0e6009e152de43090cbc23a21349703da2
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsDataPersistenceServicePerfTest.groovy