...
https://github.com/onap/policy-docker/blob/master/csit/clamp/tests/policy-clamp-test.robot
DCAE → POLICY
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT External Labs | TBD |
---|
Pairwise Testing
The following pairwise activities will be performed:
1 | Commission control loop | Controlloop-runtime docker image is available, mariadb is up | API – commission Method - POST Endpoint: https://<host>:6969/onap/controlloop/v2/commission | Commissioning is success Status code 200 | CSIT |
2 | Instantiate control loop | Controlloop-runtime, mariadb, participants and dmaap docker images are up | API – instantiation Method - POST Endpoint: http://<host>:6969/onap/controlloop/v2/instantiation | 200 | CSIT |
3 | Passivate control loop | Controlloop-runtime, mariadb, participants and dmaap docker images are up | API – instantiation/command Method - POST Endpoint: http://<host>:6969/onap/controlloop/v2/instantiation/command | 200 | CSIT |
4 | Runs Policy Participant Query New Policies | Controlloop-runtime, mariadb, participants, policy-api and dmaap docker images are up Policy created | API – /policy/api/v1/policies Method - GET Endpoint: http://<host>:6969/policy/api/v1/policies | 200 | CSIT |
5 | Runs Policy Participant Query New Policy Types | Controlloop-runtime, mariadb, participants, policy-api and dmaap docker images are up Policy Types created | API – /policy/api/v1/policytypes Method - GET Endpoint: http://<host>:6969/policy/api/v1/policytypes | 200 | CSIT |
6 | ControlLoop State Change to RUNNING. | Controlloop-runtime, mariadb, participants and dmaap docker images are up | API - /onap/controlloop/v2/instantiation/command Method - POST Endpoint: https://<host>:6969/onap/controlloop/v2/instantiation/command | 200 | CSIT |
7 | Get Instantiated ControlLoops | Controlloop-runtime, mariadb, participants and dmaap docker images are up | API – /onap/controlloop/v2/instantiation Method - GET Endpoint: http://<host>:6969/onap/controlloop/v2/instantiation | 200 | CSIT |
Smoke Testing
The following smoke tests will be performed:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Results will be documented in the corresponding readthedocs section: Running the smoke tests
Pairwise Testing
The following pairwise activities will be performed:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Results will be documented in the corresponding readthedocs section: Running the pairwise tests
Stability and Performance Testing
...
Results will be documented in the corresponding readthedocs section: Running the stability and performance tests