Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Recent changes were made to apex-pdp to handle the delta policy lists sent from PAP. 

This page is where we will document all test cases design and results.


These tests have been carried out on a full ONAP deployment to ensure that apex is working as expected after the recent changes made to handle the list(s) of delta policies. Scanning through the full list of policies in apex pdp has been eradicated as Pap now performs this task and sends just delta policies to Apex. Below are the test cases and results from the tests and also a postman collection containing the test flow.

Postman Collection: Apex Delta Policies Test Cases.postman_collection.json

Postman collection includes various steps, event to send to apex and policies to test. 


Test Cases

 

Test #DescriptionResult
1Deploy Policy #1. Trigger event and make sure expected output is fired

Output From Triggered Event
"policyExecutedCount":1,"policyExecutedSuccessCount":1,"policyExecutedFailCount":0
2Deploy Policy #2. Test it is running.

3Undeploy Policy #1. Verify Policy #2 is still running.

4Undeploy Policy #2. Verify no policies are running.

5Deploy Policy #1, #2, #3. Make sure all are running.

6Undeploy Policy #2. Make sure Policy #1 and Policy #2 are running. Remove Policies #1 & #3. Make sure none are running.

  • No labels