...
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Labs |
---|---|---|---|---|---|
1 | Perform healthcheck of the component | Apex PDP docker image is available | API – healthcheck Method - GET Endpoint: https://<host>:6969/policy/apex-pdp/v1/healthcheck | The component should return health status as “true” Status code 200 | CSIT - DONE External Lab |
2 |
ExecuteApexPolicy | |||||
2a | CreateOperationalPolicyType | API docker image |
available | API |
– policytypes Method - |
POST Endpoint: |
http://<host>:6969/policy/ |
api/v1/ |
3
Create Operational policies for the following use cases
- SampleDomain
- BBS (if this is not a POC)
Policy components up and running
(Will be added once API page approved)
(Current integration tests for REST client moved to CSIT)
policytypes | 200 | CSIT - DONE External Lab | |||
2b | CreateNewOperationalPolicy | API docker image available | API – policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies Method - POST Endpoint: http://<host>:6969/policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies | 200 | CSIT - DONE External Lab |
2c | DeployOperationalPolicy | APEX-PDP and PAP docker images available DMaaP Simulator available. Policy created | API – pdps/deployments/batch Method - POST Endpoint: http://<host>:6969/policy/pap/v1/pdps/deployments/batch | 200 | CSIT - DONE External Lab |
2d | RunEventOnApexEngine | APEX-PDP docker image available 2c succeeds | API – /apex/FirstConsumer/EventIn Method - POST Endpoint: http://<APEX_IP>:23324/apex/FirstConsumer/EventIn | 200 | CSIT - DONE External Lab |
3 | Query component for statistics | Apex PDP docker image is available | API - statistics Method - GET Endpoint: https://<host>:6969/policy/apex-pdp/v1/statistics | The component should return the current statistics of the component. | CSIT (Stretch) |
Triggered by merges in policy/api
...