...
- Use method getFragmentByXpath() to the get the parentEntity of the data-node.
- Check if it is a data-node and not or a list-node to be deleted.
- If it is a data-node call removeDataNode().
- Throw ListNodeGivenException if If it is a list node given instead of a data-node call deleteListDataNodes().
Persistence layer (CpsDataPersistenceServiceSpec.groovy)
- Verify data-node is deleted successfully.
- Verify list-node is deleted successfully
- Error thrown when the xpath does not exist.
- Error is thrown if it is a data node or list node don't exist.
Jira | ||||||
---|---|---|---|---|---|---|
|
Jira | ||||||
---|---|---|---|---|---|---|
|
Issues & Decisions
# | Issue | Notes | Decision |
---|---|---|---|
1 | Empty Anchors | If top level data-node is removed, it could potentially leave an empty anchor. | Check with stakeholders (Peter and Kieran) |