References
https://jira.onap.org/browse/CPS-1586
https://jira.onap.org/browse/CPS-358
Add support for persisting of top level list nodes
Issues & Decisions
# | ISSUES | Description | DECISIONS |
1 | Persisting list elements as a top level node creates multiple list nodes .
| creating top level node with multiple list nodes are not persisted appropriately. For example, below is request payload with actual and expected responses. | list is not a container and hence top-level list nodes are stored as collection of data node. it is same behavior for leaf list data node. |
2 | Adding a list element to a root list node does not add element in parent list but in child list element( Add list element API). |
Endpoint
POST 'http://localhost:8080/cps/api/v2/dataspaces/{dataspace-name}/anchor/{anchor-name}/list-nodes