Triggered by merges in policy/engine, policy/drools-pdp, and policy/drools-applications
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Lab |
---|---|---|---|---|---|
1 | Perform healthcheck for the Policy using Healthcheck API
|
| API – healthcheck Method - GET Endpoint: https://<host>:6969/policy/pdpd/v1/engine/healthcheck (legacy policy system healthcheck with new REST API format) | All the policy components should return health status as “true” | CSIT - DONE External Lab - DONE |
2 | Import/Load Use case template for the following use cases (VoLTE, vCPE, vFW, vDNS) | Policy components should be up and running | API – policyEngineImport Method – POST Endpoint: https://<host>:8081/pdp/policyEngineImport (legacy API) | Policy service models should be imported for the specified use cases. We should be able to create policy from here. | CSIT |
3 | Create and Push config Policy for the |
vFW use |
case. |
- vFW
Policy components up and running | API – CreateConfig Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API |
) |
API - |
pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/ |
pushPolicy (legacy API) | Config Policy should be created in Policy Engine |
CSIT - DONE
(PAP) and Config Policy should be pushed to the PDP group | CSIT - DONE | ||||
4 | Create and Push config Policy for the vDNS use case. | Policy components up and running | API – CreateConfig Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Config Policy should be created in Policy Engine (PAP) and | CSIT - DONE |
5 | Create and Push config Policy for the vCPE use case. | Policy components up and running | API – CreateConfig Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Config Policy should be created in Policy Engine (PAP) and | CSIT-DONE |
6 | Create and Push vFW SDNC naming policy | Policy components up and running | API - createPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/createPolicy | Naming policy should be created in Policy Engine | CSIT - DONE |
7 | Create and Push vPG SDNC naming policy | Policy components up and running | API - createPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/createPolicy | Naming policy should be created in Policy Engine | CSIT - DONE |
8 | Create and Push Operational policy for vFW use case | Policy components up and running | API - createPolicy Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Operational Policy should be created in Policy Engine (PAP) and Operational Policy should be pushed to the PDP engine | CSIT - DONE |
9 | Create and Push Operational Policy to the PDP Engines for vDNS use case | Policy components up and running | API - createPolicy Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Operational Policy should be created in Policy Engine (PAP) and Operational Policy should be pushed to the PDP engine | CSIT - DONE |
10 | Create and Push Operational Policy to the PDP Engines for vCPE use case | Policy components up and running | API - createPolicy Method |
– PUT Endpoint: https://<host>:8081/pdp/api/createPolicy |
6
Push Config policy to the PDP Engines for the following use cases
- vFW
- vDNS
- vCPE
Policy components up and running
(legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) |
Operational Policy should be created in Policy Engine (PAP) and Operational Policy should be pushed to the PDP |
engine | CSIT - DONE |
External Lab - Done
8
11 | Create and Push Operational |
Policy to the PDP Engines for VOLTE use case |
- vFW
- vDNS
- vCPE
Policy components up and running | API - createPolicy Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy ( |
legacy API) | Operational Policy should be created in Policy Engine (PAP) |
and |
Policy components up and running
Operational Policy should be pushed to the PDP |
engine | CSIT - DONE |
12 | Retrieve the configs for the vFW use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE |
13 | Retrieve the configs for the vDNS use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE |
14 | Retrieve the configs for the vCPE use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE |
15 | List Configuration Policies | List all configuration policies | API – listPolicy Method – POST Endpoint: https://<host>:8081/pdp/api/listPolicy | Should list all configuration policies | CSIT-Done |
16 | Get ONAP Optimization Framework Policy for Hardware Platform Awareness(HPA) | Retrieve OOF Policy for HPA | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig | Should return the HPA policy. | CSIT-Done |
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Lab |
---|---|---|---|---|---|
1 | Perform healthcheck for the Policy components using Healthcheck API
|
| API – healthcheck Method - GET Endpoint: https://<host>:6969/policy/pdpd/v1/engine/healthcheck (legacy policy system healthcheck with new REST API format) | All the policy components should return health status as “true” | CSIT - DONE External Lab - DONE |
2 | Import/Load Use case template for the following use cases (VoLTE, vCPE, vFW, vDNS) | Policy components should be up and running | API – policyEngineImport Method – POST Endpoint: https://<host>:8081/pdp/policyEngineImport (legacy API) | Policy service models should be imported for the specified use cases. We should be able to create policy from here. | CSIT |
3 | Create config Policy for the following use cases
| Policy components up and running | API – CreateConfig Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) | Config Policy should be created in Policy Engine (PAP) | CSIT - DONE |
4 | Create SDNC naming policies | Policy components up and running | Naming policy should be created in Policy Engine (PAP) | CSIT - DONE External Lab - Done | |
5 | Create Decision Guard Policy | Guard policy should be created in Policy Engine (PAP) | CSIT - External Lab - Done | ||
6 | Push Config policy to the PDP Engines for the following use cases
| Policy components up and running | API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Config Policy should be pushed to the PDP group | CSIT - DONE External Lab - Done |
7 | Push Decision Guard Policy | CSIT External Lab - DONE | |||
8 | Create Operational policy for the following use cases
| Policy components up and running | API - createPolicy Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) | Operational Policy should be created in Policy Engine (PAP) | CSIT - DONE |
9 | Push operational Policy to the PDP Engines for each use case
| Policy components up and running | API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Operational Policy should be pushed to the PDP group | CSIT - DONE |
10 | Retrieve the configs for the following use cases
| Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured for each use case should be retrieved successfully | CSIT - DONE |
...