...
Implementation in CPS :
At present CPS has 4 3 different components namely, cps-core, cps-temporal, cpsncmp-ncmp and cpsdmi-tbdmtplugin. Integration test of a component hence would be dependent on another component. This proposal page is to discuss on all the available options and their pros and cons.
...
- CI-management jobs will have to be created, hence time consuming for now
- Manageability of an additional repo .
Test Plan:
S No | Scenario | Steps |
---|
CPS
|
1.1 | CPS Admin Details Insert | - Create Dataspace
- Create Schema set with Zip file
- Get schema set
- Create anchor for the created schema-set and dataspace
- Get Anchor
|
1.2 | CPS 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.1 | Create an 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
|
2.2 | Delete the data node to add it to history | - 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
|
CPS-NCMP-DMI_PLUGIN |
3.1 | 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>
|
|
|
|