...
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results |
---|---|---|---|---|
1 | Perform healthcheck for the Policy SDC ServiceDistribution applicationof the component | Policy distribution docker image is available | API – healthcheck Method - GET Endpoint: http https://<host>:6969/healthcheck | The Policy PSSD component should return health status as “true” |
2 | Query component for statistics | Policy distribution docker image is available | API - Statisticsstatistics Method - GET Endpoint: httphttps://<host>:6969/statistics | Statistics on execution are available and saneThe component should return the current statistics of the component. |
Triggered by merges in policy/pap (NOT FINISHED)
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results |
---|---|---|---|---|
1 |
Perform healthcheck of the component | PAP docker image is available | API – healthcheck Method - GET Endpoint: |
https://<host>:6969/healthcheck | The component should return health status as “true” |
2 |
Query component for statistics | PAP docker image is available | API - |
statistics Method - GET Endpoint: |
https://<host>:6969/statistics |
The component should return the current statistics of the component. | ||||
3 | Query pdp group information | PAP docker image is available | API - pdps Method - GET Endpoint: https:{url}:{port}/pap/v1/pdps | The component should return the list of PDP groups and subgroups together with the policies that are deployed on each PDP group and subgroup. |
4 | Create |
PDP group & subgroup | PAP docker image is available | API - pdps Method - POST Endpoint: https:{url}:{port}/pap/v1/pdps | The component should create the relevant PDP group & subgroup in the database and return with operation success message/code. | |
5 | Deploy policy to PDP group & subgroup | PAP docker image is available PAP docker image is available | API - pdps Method - POST Endpoint: https:{url}:{port}/pap/v1/pdps | The component should map the relevant policies with the corresponding PDP group & subgroup in database. Deploy the policy in relevant PDP and return with operation success message/code. |
6 | Query pdp group statistics | PAP docker image is available PDP docker image is available | API - pdps Method - GET Endpoint: https:{url}:{port}/pap/v1/pdps/statistics | The PAP component must return the statistics for PDP groups, subgroups and individual PDPs. |
7 | Delete PDP group & subgroup | PAP docker image is available PDP docker image is available | API - pdps Method - DELETE Endpoint: https:{url}:{port}/pap/v1/pdps?name=<group_name>&version=<version> | The component should delete the relevant PDP group & subgroup from database and kill the corresponding PDP instances (running as kubernetes pods). Finally, return with operation success message/code. |
Triggered by merges in policy/drools-pdp (NOT FINISHED)
...