Jira Ref: Jira server ONAP JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 425b2b0a-557c-3c0c-b515-579789cceedb key CCSDK-2757
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. Gliffy Diagram