diff options
author | Arpit Singh <as00745003@techmahindra.com> | 2023-11-21 21:01:43 +0530 |
---|---|---|
committer | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-01-16 15:09:37 +0000 |
commit | 885980d8ebf6bc8be9efad7ce9094deeb602a076 (patch) | |
tree | 362e31bc7219ec72c5f4e9380005603f91961974 /integration-test/src/test/resources/data | |
parent | f66fb4f4a8fb85ce717e97ef660c21fc70dd98a8 (diff) |
CPS Delta API: Update action for delta service
- Added code for Update action in Delta service
- added method to get updated Leaf data: getUpdatedLeavesBetweenSourceAndTargetDataNode
- added method to compare Leaf data common in source and target data
node
- added method to process leaves unique to target data node
- added method to compare leaves: compareLeaves
- added method to store updated data to a DeltaReport: addUpdatedLeavesToDeltaReport
- Added corresponding testware
Issue-ID: CPS-1824
Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
Change-Id: I3de07ea3227988784a0892f6a92c238ecf00a7fa
Diffstat (limited to 'integration-test/src/test/resources/data')
-rw-r--r-- | integration-test/src/test/resources/data/bookstore/bookstoreDataForDeltaReport.json | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstoreDataForDeltaReport.json b/integration-test/src/test/resources/data/bookstore/bookstoreDataForDeltaReport.json index 73b84fc986..1dd6c0d419 100644 --- a/integration-test/src/test/resources/data/bookstore/bookstoreDataForDeltaReport.json +++ b/integration-test/src/test/resources/data/bookstore/bookstoreDataForDeltaReport.json @@ -7,7 +7,7 @@ } ], "bookstore": { - "bookstore-name": "Easons", + "bookstore-name": "Crossword Bookstores", "premises": { "addresses": [ { @@ -96,8 +96,7 @@ "title": "Book 1", "lang": "blah", "authors": [], - "editions": [], - "price": 1 + "editions": [] }, { "title": "Book 2", |