Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

API - pushPolicy pushPolicy(legacy API

Test Case Id

Description

Pre-conditions

Test Steps

Expected Results

CSIT/External Lab

1

Perform   healthcheck for the Policy  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.

CSIT

3

Create config Policy for the following use cases

  •   vFW
  •   vDNS
  •   vCPE

 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
4Create and Push vPG vFW SDNC naming policyPolicy components up and running

Naming policy should be created in Policy Engine (PAP)

CSIT - DONE

6

Push Config policy to the PDP Engines for the following use   cases

  •   vFW
  •   vDNS
  •   vCPE

 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

5Create and Push vPG SDNC naming policyPolicy components up and running

API - createPolicy  

Method - PUT

Endpoint:

https:// <host>:8081/pdp/api/createPolicy

Naming policy should be created in Policy EngineCSIT - 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

8

Create and Push Operational policy for the following use cases  

  •   vFW
  •   vDNS
  •   vCPE

 Policy components up and running

API - createPolicy  

MethodvFW 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/createPolicypushPolicy

(legacy legac API)


Operational Policy should be created in Policy Engine (PAP)

CSIT - DONE

9

Create and Push operational Policy to the PDP Engines for each vDNS 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

CSIT - DONE

10

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
11

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 successfullyCSIT - DONE
12Retrieve the configs for the vCPE use casePolicy 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 successfullyCSIT - DONE
13List Configuration PoliciesList all configuration policies

API – listPolicy

Method – POST

Endpoint: https://<host>:8081/pdp/api/listPolicy

Should list all configuration policiesCSIT-Done
14Get 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

...