...
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Lab |
---|---|---|---|---|---|
1 | Perform healthcheck of the component | PAP docker image is available | API – healthcheck Method - GET Endpoint: https://<host>:6969/policy/pap/v1/healthcheck | The component should return health status as “true” | CSIT - DONE External Lab - DONE |
2 | Query component for statistics | PAP docker image is available | API - statistics Method - GET Endpoint: https://<host>:6969/policy/pap/v1/statistics | The component should return the current statistics of the component. | CSIT - DONE External Lab |
3 | Query pdp group information | PAP docker image is available | API - pdps Method - GET Endpoint: https:{url}:{port}/policy/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. | CSIT |
4 | Create PDP group & subgroup | PAP docker image is available | API - pdps Method - POST Endpoint: https:{url}:{port}/policy/pap/v1/pdps | The component should create the relevant PDP group & subgroup in the database and return with operation success message/code. | CSIT |
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}/policy/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. | CSIT |
6 | Query pdp group statistics | PAP docker image is available PDP docker image is available | API - pdps Method - GET Endpoint: https:{url}:{port}/policy/pap/v1/pdps/statistics | The PAP component must return the statistics for PDP groups, subgroups and individual PDPs. | CSIT (Not done in this release) The API will be implemented in next release. |
7 | Delete PDP group & subgroup | PAP docker image is available PDP docker image is available | API - pdps Method - DELETE Endpoint: https:{url}:{port}/policy/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. | CSIT (Not done in this release) The API will be implemented in next release. |
Triggered by merges in policy/drools-pdp
...