Versions Compared

Key

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

Overview

The integration testing is implemented as CSIT Jenkins jobs as described in Project-specific CSIT structure

...

Selection of Image for CSIT test

#CSIT componentImageDecision
1cps-corecps-and-ncmplatest
2. cps-temporalcps-temporallatest
cps-and-ncmpmost recent stage released stable version 
3(onap) dmi-plugin
ncmp-dmi-plugin
latest
cps-and-ncmpmost recent stage released stable version 

Jenkins Jobs

Following jobs are serving CSIT for CPS project

...

New CI jobs will have to be created for cps-temporal and dmi-plugin (Ref : ci-management/cps-csit.yaml at master · onap/ci-management (github.com))

Test Plan

#ScenarioCoversSteps Status
CPS(cps-core and ncmp)

1.1Health Checkcps-core
  1. Test Liveness Probe Endpoint
  2. Test Readiness Probe Endpoint
Done
1.2
CPS Admin Details Insert
cps-core
  1. Create Dataspace 
  2. Create schema set from YANG file
  3. Create Schema set with Zip file
  4. Get schema set info
  5. Create anchor
  6. Get Anchor

To Be Updated

Get Anchor test to be included in the existing test.

1.3CPS Data Node Insert, Update and Deletecps-core
  1. Create Data Node for an anchor
  2. Get Datanode by the dataspace, anchor and xpath

Done

CPS Temporal
2.1Health Checkcps-temporal
  1. Test Liveness Probe Endpoint
  2. Test Readiness Probe Endpoint

New


2.2Get anchor historycps-core, cps-temporal (through Kafka)
  1. Create Dataspace 
  2. Create schema set 
  3. Create anchor
  4. Create Data Node using cps api 
  5. Update the Data Node using cps api
  6. Get the history of the anchor using cps-temporal

api 
  1. api

    1. /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/history
New


ONAP DMI PLUGIN
3.1Health Checkdmi-plugin
  1. Test Liveness Probe Endpoint
  2. Test Readiness Probe Endpoint

New

Jira Legacy
server

ONAP

System Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId

425b2b0a

4733707d-

557c

2057-

3c0c

3a0f-

b515

ae5e-

579789cceedb

4fd8aff50176
keyCPS-615

3.2

Model-Sync

dmi-plugin, ncmp, cps-core
  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
  3. wait till above method call completes and send a 2xx response
  4. Use CPS endpoint that shows anchors & namespaces to conclude test completed

New

Jira Legacy
server

ONAP

System Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId

425b2b0a

4733707d-

557c

2057-

3c0c

3a0f-

b515

ae5e-

579789cceedb

4fd8aff50176
keyCPS-615

3.3Write & read data using datastore PassTroughdmi-plugin, ncmp, cps-core

New

Jira Legacy
server

ONAP

System Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId

425b2b0a

4733707d-

557c

2057-

3c0c

3a0f-

b515

ae5e-

579789cceedb

4fd8aff50176
keyCPS-646