Versions Compared

Key

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

...

https://gerrit.onap.org/r/gitweb?p=integration/csit.git;a=blob;f=tests/policy/apex-pdp/apex-pdp-test.robot;h=9956731d585a7d0ef7157a8c73c41e9888e70cdb;hb=refs/heads/master

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”

Status code 200

CSIT - DONE

External Lab

2
Query component for statisticsApex PDP

ExecuteApexPolicy





2a

CreateOperationalPolicyType

API docker image
is
available

API

- statistics

– policytypes

Method -

GET

POST

Endpoint:

https

http://<host>:6969/policy/

apex-pdp

api/v1/

statisticsThe component should return the current statistics of the component.CSIT (Stretch)

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

policytypes

200

CSIT - DONE

External Lab

2b

CreateNewOperationalPolicy

API docker image available

API – policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies

Method - POST

Endpoint: http://<host>:6969/policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies

200

CSIT - DONE

External Lab

2c

DeployOperationalPolicy

APEX-PDP and PAP docker images available

DMaaP Simulator available.

Policy created 

API – pdps/deployments/batch

Method - POST

Endpoint: http://<host>:6969/policy/pap/v1/pdps/deployments/batch

200

CSIT - DONE

External Lab

2d

RunEventOnApexEngine

APEX-PDP docker image available

2c succeeds

API – /apex/FirstConsumer/EventIn

Method - POST

Endpoint: http://<APEX_IP>:23324/apex/FirstConsumer/EventIn

200

CSIT - DONE

External Lab


3Query 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 (Stretch)

Triggered by merges in policy/api

...