CCSDK-2757 VSE: Create (store) a JSON Object

Jira RefCPS-14: VSE: Create (store) a JSON ObjectClosed

Overview

Implement a rest endpoint to database to store a single JSON object and return an identifier.

Proposed Implementation

  • 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.