...
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. | 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 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 (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 |
11 | Create and Push Operational Policy to the PDP Engines for VOLTE 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 |
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(OOF) 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 |
17 | Create and Push OOF Policy for Hardware Platform Awareness(HPA) | Create and Push OOF Policy for HPA | 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) | Should Create and Push the config policy | CSIT-Done |
TODO: DELETE THIS TABLE IF ABOVE APPROVED.
...
Test Case Id
...
Description
...
Pre-conditions
...
Test Steps
...
Expected Results
...
1
...
Perform healthcheck for the Policy components using Healthcheck API
- Drools PDP
- XACML PDP
- PAP
- BRMSGateway
...
- Policy docker image ready and policy components (Drools, XACML, PAP, BRMS Gateway) should be up and running
- Server and authentication details should be configured at $POLICY_HOME/config/feature-healthcheck.properties
...
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.
...
3
...
Create config Policy for the following use cases
- vFW
- vDNS
- vCPE
- PCI
...
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
External Lab - Done
...
CSIT -
External Lab - Done
...
6
...
Push Config policy to the PDP Engines for the following use cases
- vFW
- vDNS
- vCPE
...
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
...
CSIT
External Lab - DONE
...
8
...
Create Operational policy for the following use cases
- vFW
- vDNS
- vCPE
...
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)
...
9
...
Push operational Policy to the PDP Engines for each use case
- vFW
- vDNS
- vCPE
...
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
...
10
...
Retrieve the configs for the following use cases
- vFW
- vDNS
- vCPE
...
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
...
Triggered by merges in policy/distribution
...