Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira Ref

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCCSDK-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. 

...