...
- Implement a rest endpoint to upload a JSON file in the CPSController controller.
- Validate the JSON structure in CPS API layer.
- Create a JSON entity class (PersistencyDataObject).
- Implement a DataPersistencyService and DataPersistencyServiceImpl in the SPI layer to store the JSON structure in the database.
Diagram
See link to Implementation Proposal CCSDK-2766 YM: Store Yang Model (text version) for existing diagram.