Versions Compared

Key

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

...

S NoScenarioSteps 
CPS

1.1
CPS Admin Details Insert
  1. Create Dataspace 
  2. Create Schema set with Zip file
  3. Get schema set 
  4. Create anchor for the created schema-set and dataspace
  5. Get Anchor
1.2CPS Data Node Insert, Update and Delete
1. Create Data Node
2. Get Data Node
2. Update Data Node
3. Delete Data Node
4. Get Data Node
CPS Temporal
2.1Create an anchor history
  1. Create Data Node using cps api 
  2. Update the Data Node using cps api
  3. Get the history of the anchor using cps-temporal api 
    /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/history
2.2Delete the data node to add it to history
  1. Create Data Node using cps api 
  2. Update the Data Node using cps api
  3. Delete the data node using cps-api
  4. Get the history of the anchor using cps-temporal api 
    /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/history
CPS-NCMP-DMI_PLUGIN
3.1

Model-Sync, Write & read data using datastore PassTrough

Add (simulator) 'node' using 'internal' rest end point on ONAP DMI PluginWait till model sync is complete, call is synchronous at the moment so we should just
  1. Create Data Node using cps api 
  2. Notify NCMP DMI has new node 
    1. http://localhost:8783/dmi/api/v1/inventory/cmHandles
    2. This will kick off model sync as part of registation
  1. wait till above method call completes and send a 2xx response
(demo only)
  1. Show data in Postgres: anchor and module-set
  2. Use CPS endpoint that shows anchors & namespaces to conclude test completed
    1. <ENDPOINT TO BE CONFIRMED>