CPS-235: Overview of (early) CPS Update Scenarios
Resources
Updates
Slogan | Jira | Notes | Priority / When do we need this? | |
---|---|---|---|---|
1 | Replace DataNode(tree) | CPS-58: Update a DataNode by replacing it with or without ChildrenClosed | This is powerful update method that can fulfill all below scenarios too. However it is a crude and inefficient for scenario with children. | Already being implemented. |
2 | Update Single leaf on single DataNode | Done | Client provides on full xpath and single attribute and value. Internal it might required to get the target node form the DB, update and then validate | Probably required for E2E Slicing |
3 | Update Multiple leaves on single DataNode | Done | This could a simple extension of the previous method (#2) by instead of providing one key-value pair it could be map of many. Question remains if we ant to Java-API methods, or one. And if just it could be handled by one user story instead, depending on team preference | |
4 | Add Child DataNode | CPS-337: Add a child data node under an existing parent.Closed | should be possible to add node with just the data for the new node (which includes a full xpath so that the parent an be identified) | Investigate if needed for E2E Slicing. |
5 | Add DataNode to List | should be possible to add node with just the data for the new node (which includes a full xpath so that the parent an be identified) question: should the xpath for the list entry be generated (using the model and keyfield(s) data) or included in the dat provided by the client | Investigate if needed for E2E Slicing. | |
6 | Remove DataNode | Assume this will also cover removing DataNode from a list | Investigate if needed for E2E Slicing. | |
7 | Add element to Leaf-List | Done | Nice-to-have. From experience in similar project this use-case never was prioritized. It can always be done using #3 or #4 instead. | |
8 | Remove Element from Leaf-List | Nice-to-have. From experience in similar project this use-case never was prioritized. It can always be done using #3 or #4 instead. |