Normalize JSON attributes during update 99/136899/7
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 17 Aug 2023 13:58:30 +0000 (14:58 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 4 Jan 2024 18:31:34 +0000 (18:31 +0000)
commit9e871800f7bb6de76a2baf10d0395933fd0bb5ab
treedb9f366bb35e3ef362985113b28fae862bedca3a
parent9c69e994ba90e0e6789cb28c3cdb274c55135de1
Normalize JSON attributes during update

This change fixes a few issues related to JSON encoding of
FragmentEntity attributes (data leaves). This significantly
improves update performance in cases of partial updates.

- Normalize JSON and order leaves by name when comparing
  data leaves during update operations.
- Update performance test timings.

Issue-ID: CPS-2018
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia764a353bf96c05758827845e1358745247ee237
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
docs/release-notes.rst
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/UpdatePerfTest.groovy