...
Problem Statement | Possible Solutions | Sub-Tasks | Notes/Comments | Pros/Cons | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Add support for JSON data with multiple top level nodes. Refer:
| Identify the top-level data nodes in the existing JSON payload and then iterate over them and store them individually one by one in using Create node endpoint |
|
| Pros:
Cons:
| ||||||||
Use JSON array and store the JSON array in CPS DB using Create node endpoint |
Sample:
|
| Pros:
Cons:
|
...
Possible Solutions | Payload | Description/Findings | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Identify the top-level keys in the existing JSON payload (which is JSON object) and then iterate over them and store them individually one by one in using Create node endpoint | The JSON object with multiple data trees would be structured as follows:
Refer the following files for Yang and Json data (from spike CPS-341):
|
| |||||||||||||||
Use new payload in form of JSON array and store the JSON array in CPS DB using Create node endpoint | The JSON object with multiple data trees would be structured as follows:
Refer the following files for Yang and Json data (from spike CPS-341):
|
|
...