Versions Compared

Key

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

...

Style and payload structure

Pending decisions: Data Representation and Interface style

REST payload structure
Java payload structure
Access methods
NameDescriptionParametersReturn
Add modelAdd a YANG model to the CPS so that compliant data may be stored & retrieved
  • YANG model
Some identifier
Remove modelMark a model for removal, and remove when no data remains that relies on the model
  • Model identifier
Success/Number of model instances still using model
Upgrade modelT.B.D
  • YANG model
  • Model identifier
-
Create model instancePrepare the underlying DB for the storage of data compliant to the model.
  • Model identifier
  • Instance unique identifier
Model instance identifier
Delete model instanceRemove the data and any artifacts from the underlying DB
  • Instance unique identifier
Success/Failure
Create data[Validate &] Store data compliant to a model
  • Instance unique identifier
  • Data structure/document
Success/Failure
Replace data[Validate &] Store data compliant to a model in place of existing data
  • Instance unique identifier
  • Data structure/document
Success/Failure
Update data[Validate &] Update data that is (1) compliant to a model and (2) already stored
  • Instance unique identifier
  • Data structure/document
Success/Failure
Delete dataRemove data from a model instance
  • Instance unique identifier
  • Data structure/document
Success/Failure

Behavior

T.B.D.: Eventual consistency; Data integrity guarantees; Fast failure; Progress; Cancellation;

REST

Will be specified as part of the PoC execution, and updated/referenced from here

Java

Will be specified as part of the PoC execution, and updated/referenced from here

Decision reference

Issues decisions and assumptions