Versions Compared

Key

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

...

Test Case Id

Description

Pre-conditions

Test Steps

Expected Results

CSIT/External Lab
1Health CheckXacml-PDP docker image available

API – healthcheck

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/healthcheck

The component should return health status as “true”

Status code 200

CSIT/External Lab
2StatisticsXacml-PDP docker image available

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

The Xacml PDP should return statistics report consisting of 0 policies loaded and 0 decisions

Status code 200


CSIT
3Deploy Policy

Xacml-PDP and PAP docker images available

Policy created on the PAP

API – deployPolicy

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/deployPolicy

Successfully deploy a policy to the XACML PDP

Statistics should increment policy count

Status code 201

CSIT/External Lab (stretch)
4Statistics

Xacml-PDP and PAP docker images available

Test Case 3 success

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

The Xacml PDP should return statistics report consisting of 1 policy loaded and 0 decisions

Status code 200

CSIT
5Decision API

Xacml-PDP docker image available

Test Case 4 success

API – decision

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/decision

The Xacml PDP should return a Decision object containing the decision

Statistics should increment decision count

Status code 200

CSIT/External Lab (stretch)
6Statistics

Xacml-PDP docker image available

Test Case 5 success

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Xacml PDP should return a statistics report consisting of 1 policy loaded and 1 decisions

Status code 200

CSIT
7Undeploy Policy

Xacml-PDP and PAP docker images available


API – deployPolicy

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/undeployPolicy

Successfully undeploy of policy from the Xacml PDP

Statistics should decrement the policy count

Status code 201

CSIT
8Statistics

Xacml-PDP docker image available

Test Case 7 success

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Xacml PDP should return a statistics report consisting of 0 policies loaded and 1 decision

Status code 200

CSIT


Triggered by merges in policy/apex-pdp

...

Test Case Id

Description

Pre-conditions

Test Steps

Expected Results

CSIT/External Labs

1

Perform healthcheck of the component


Apex PDP docker image is available

API – healthcheck

Method - GET

Endpoint: https://<host>:6969/policy/apex-pdp/v1/healthcheck

The component should return health status as “true”

CSIT/External Lab
2Query component for statisticsApex PDP docker image is available

API - statistics

Method - GET

Endpoint: https://<host>:6969/policy/apex-pdp/v1/statistics

The component should return the current statistics of the component.CSIT

3

Create Operational policies for the following use cases  

  • SampleDomain
  • BBS (if this is not a POC)

Policy components up and running

(Will be added once API page approved)

(Current integration tests for REST client moved to CSIT)

Operational Policy should be created in apex-pdp

CSIT

...