S No | Scenario | Steps | Status |
---|
CPS
|
1.1 | Health Check | - Test Liveness Probe Endpoint
- Test Readiness Probe Endpoint
| Done |
1.2 | CPS Admin Details Insert | - Create Dataspace
- Create schema set from YANG file
- Create Schema set with Zip file
- Get schema set info
- Create anchor
- Get Anchor
| To Be Updated Get Anchor test to be included in the existing test. |
1.3 | CPS Data Node Insert, Update and Delete | - Create Data Node for an anchor
- Get Datanode by the dataspace, anchor and xpath
- Update data node
- Get data node using the Query API to ensure the update data node is fetched.
- Delete the created data node
- Get Datanode by the dataspace, anchor and xpath to ensure the
| To Be Updated Only Steps# 1 and 2 are included in the existing test. Need to all others to the existing test plan. |
CPS Temporal |
2.1 | Health Check | - Test Liveness Probe Endpoint
- Test Readiness Probe Endpoint
| New |
2.2 | Create an Get anchor history | - Create Data Node using cps api
- Update the Data Node using cps api
- Get the history of the anchor using cps-temporal api
/v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/history
| New |
2.3 | Delete Get anchor history once the data node to add it to historyis deleted from cps-core | - Create Data Node using cps api
- Update the Data Node using cps api
- Delete the data node using cps-api
- Get the history of the anchor using cps-temporal api
/v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/history
| New |
CPS-NCMP-DMI_PLUGIN |
3.1 | Health Check | - Test Liveness Probe Endpoint
- Test Readiness Probe Endpoint
| New |
3.2 | Model-Sync, Write & read data using datastore PassTrough | - Create Data Node using cps api
- Notify NCMP DMI has new node
- http://localhost:8783/dmi/api/v1/inventory/cmHandles
- This will kick off model sync as part of registation
- wait till above method call completes and send a 2xx response
- Show data in Postgres: anchor and module-set
- Use CPS endpoint that shows anchors & namespaces to conclude test completed
- <ENDPOINT TO BE CONFIRMED>
| New |
|
|
|
|