Model sync requires full integration testing to ensure solid integration and functionality behaves as expected.
This testing activity will use the following components (in order of involvement):
- ONAP DMI Plugin
- NCMP
- CPS-Core
- SDNC
- Simulator (e.g. netconf-pnp-simulator)
Scope (steps) of test:
- Add (simulator) 'node' using 'internal' rest end point on ONAP DMI Plugin
- Wait till model sync is complete, call is synchronous at the moment so we should just wait till above method call completes and send a 2xx response
- (demo only) Show data in Postgres: anchor and module-set
- Use CPS endpoint that shows anchors & namespaces to conclude test completed
This activity should be able to utilize a pre-setup environment (not locally).
As part of (developing) this test we can also (record a) Demo of model sync functionality
A/C
- Demo to team
- Recorded Demo published on https://wiki.onap.org/display/DW/CPS+User+Story+Demos
- Test Plan & Steps documented on ONAP Wiki like https://wiki.onap.org/display/DW/CPS+Integration+Test+Cases (was for R8 we need new/update for R9)
This Wiki update could possibly be done as a previous task before the test is developed - Add CSIT health-check in \csit folder in DMI Plugin Repo
- New CSIT test included in \csit folder in DMI Plugin Repo and run during TBC these Jenkins jobs: https://jenkins.onap.org/view/cps-ncmp-dmi-plugin/
- blocks
-
CPS-716 Complete Project Testing
- Closed
- is cloned by
-
CPS-646 Demo & CSIT Test for create (and read) with datastore passthrough-running
- Closed
- relates to
-
CPS-635 Module Resource call does not include body
- Closed
-
CPS-505 Get and Store SchemaSets of node(s) in initial Inventory (new modules only)
- Closed
1.
|
Create Docker Compose File | Closed | josephkeenan | |
2.
|
Add simulator node using internal rest end point on Onap DMI Plugin | Closed | josephkeenan | |
3.
|
(DEMO ONLY) Show data in Postgress: anchor and module-set | Closed | josephkeenan | |
4.
|
(DEMO ONLY) Ensure endpoint shows anchors & namespaces | Closed | josephkeenan | |
5.
|
Add CPS-Temporal to docker-compose & local build for demo | Closed | josephkeenan | |
6.
|
Create CSIT Robot tests & plans | Closed | josephkeenan | |
7.
|
create demo for read/create data for passthorugh-operational/running datastore from simulator. | Closed | tragait |