CPS Integration Test
Overview
The integration testing is implemented as CSIT Jenkins jobs as described in Project-specific CSIT structure
On CSIT job execution
the docker image of the component to be tested is built
the tests are executed using Robot Framework
the test results are published as Jenkins job results
Selection of Image for CSIT test
# | CSIT component | Image | Decision |
---|---|---|---|
1 | cps-core | cps-and-ncmp | latest |
2. | cps-temporal | cps-temporal | latest |
cps-and-ncmp | most recent stage released stable version | ||
3 | (onap) dmi-plugin | ncmp-dmi-plugin | latest |
cps-and-ncmp | most recent stage released stable version | ||
sdnc and netconf-simulator | most recent stage released stable version |
Jenkins Jobs
Following jobs are serving CSIT for CPS Projects
https://jenkins.onap.org/job/cps-merge-verification-maven-master/
https://jenkins.onap.org/job/cps-ncmp-dmi-plugin-merge-verification-maven-master/
Test Plan
Scenario | Covers | Steps | Test Status | |||
---|---|---|---|---|---|---|
# | Jakarta | Kohn | London | |||
CPS(cps-core and ncmp) | ||||||
1.1 | Health Check | cps-core |
| Done | Done | Done |
1.2 | CPS Admin Details Insert | cps-core, postgres |
| To Be Updated Get Anchor test to be included in the existing test. | Done | Done |
1.3 | CPS Data Node Insert, Update and Delete | cps-core, postgres |
| Done | Done | Done |
CPS Temporal | ||||||
2.1 | Health Check | cps-temporal |
| New | Done | Won't Do |
2.2 | Get anchor history | cps-core, postgres, kafka, cps-temporal , timescaledb |
| Done | Won't Do | |
ONAP DMI PLUGIN | ||||||
3.1 | Health Check | dmi-plugin |
| New CPS-615: Demo & CSIT Test for Model-SyncClosedCPS-930: CSIT Setup in NCMP-DMI-Plugin RepoClosed | Done | Done |
3.2 | Register and Model-Sync | dmi-plugin, NCMP cps-core, postgres, sdnc (mariadb), netconf simulator |
| New | Done | Done |
3.3 | Write and read data using datastore PassThrough running/operational | dmi-plugin, NCMP, cps-core, postgres, , sdnc (mariadb), netconf simulator |
| New CPS-646: Demo & CSIT Test for create (and read) with datastore passthrough-runningClosed | Done | Done |
3.4 | Get all modules for given cm handle | dmi-plugin, sdnc (mariadb) |
| Done | Done | |
3.5 | Data sync (and sync state) | Done | Done |