Versions Compared

Key

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

Jira Ref

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
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.