CPS core would want the container name on the highest parent level of the JSON output and as such have to distinguish between a parent level node and non parent level node. They plan to create an outer map to wrap the inner map which creates the appropriate levels in the JSON output.
Refer CPS-461 Align DataNode for Get and Post/Put endpoints in CPS Core for more details.
Please note dependency on
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Response for getDataNode root node now:
...
{
"bookstore-name":"Chapters",
"categories":[ ... ]
}
Refer R9 TBDMT Enhancements - Developer Wiki - Confluence (onap.org) for more details and examples.
...