...
Note: When running in kubernetes, the test engine uses a proxy (not shown) for accessing the nonrtric components.
Note: The helm manager component is , Dmaap Adaptor and Dmaap Mediator components are not yet included in the function test setup.
Note: Enrichement Coordinator has changed name to Information Coordinator
Test scripts/Test cases
The below table is a list of test cases. All scripts beginning with the letters "FTC" (Function Test Case) are considered test scripts to test functionality. The remaining test scripts are primarily used for demo purposes.
Note: Control Panel and its gateway are started in most test cases but not tested.
Test case |
---|
Tested |
---|
apps | Slogan |
---|---|
FTC1 |
PMS | Sanity test, create service and then create, update and delete a policy using http/https and Agent REST/DMAAP with/without SDNC controller |
FTC10 |
PMS | Basic use case, register service, create/update policy, delete policy, de-register service using both STD and OSC interface while mixing REST and Dmaap |
FTC100 |
PMS | Full agent API walkthrough using agent REST/DMAAP and with/without SDNC A1 Controller |
FTC110 |
PMS | Testing of service registration timeouts and keepalive |
FTC150 |
SDNC | Sample tests of the SDNC A1 controller restconf API using http/https (no |
PMS) |
FTC300 |
PMS | Resync 10000 policies using OSC and STD interface |
FTC310 |
PMS | Resync of RIC via changes in the consul config or pushed config |
FTC350 |
PMS | Change supported policy types and reconfigure rics |
FTC800 |
PMS | Create 10000 policies in sequence using http/https and Agent REST/DMAAP with/without SDNC controller |
FTC810 |
PMS | Repeatedly create and delete policies in each RICs for 24h (or configured number of days). Via agent REST/DMAAP/DMAAP_BATCH and SDNC using http or https |
FTC850 |
PMS | Create/delete policies in parallel over a number of ric using a number of child process |
FTC900 |
PMS | Preparation for test of the Control Panel and the Health Check app - populating a number of rics simulators with types and instances" |
FTC1100 |
ICS |
ICS full interface walkthrough |
FTC1800 |
ICS |
ICS Create 10000 jobs and restart, test job persistency | ||
FTC2001 | PMS ICS | Testing southbound proxy for PMS and ICS |
FTC2002 | SDNC | Testing southbound proxy for SDNC - docker only |
FTC2003 | DMAAP-ADP | Testing southbound proxy for Dmaap Adaptor |
FTC3000 | DMAAP-ADP DMAAP-MED | App test DMAAP Meditor and DMAAP Adapter |
FTC3001 | DMAAP-ADP DMAAP-MED | App test DMAAP Meditor and DMAAP Adapter with 100 jobs,types and topics |
FTC4000 | HELM-MANAGER | Test of Helm Manager |
PM_DEMO |
PMS | Preparation demo setup - PMS - populating a number of ric simulators with types and instances |
PM_EI_DEMO | PMS |
Enrich
ICS | Preparation demo setup - PMS and |
ICS - policy management and enrichment information |
Test execution
All function test scripts can be executed in your local environment. It is proven to work on MacOS and Ubuntu (brief tests has been made on Windows using git bash).
...
Example, run images from the staging repo - which is the default, for the cherry branch is shown below. To run only release images, add the parameter 'release' after the 'docker' parameter.
...
For further information and details, see README in the dirs 'auto-test' and 'common'.
Tested image versions
Component | image (release repo) | tag for d-release profile | tag for d-release profile | tag for cherry profile |
---|---|---|---|---|
Policy Management Service (new image name) | nexus3.o-ran-sc.org:10002/nonrtric-a1-policy-management-service | 2.3.1 | - | - |
Policy Management Service (old image name) | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent | - | 2.2.0 | 2.1.1 |
A1-controller | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-controller | - | - | 2.0.1 |
SDNC A1 Controller (Replacement for the above A1-Controller) | nexus3.onap.org:10002/onap/sdnc-image | 2.1.6 | 2.1.2 | - |
Information Coordinator Service (Replaces Enrichment Coordinator Service) | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-information-coordinator-service | 1.2.1 | - | - |
Enrichment Coordinator Service | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-enrichment-coordinator-service | - | 1.1.0 | 1.0.1 |
Control Panel | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel | 2.3.0 | 2.2.0 | 2.1.0 |
Gateway | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-gateway | 1.1.0 | 1.1.0 | - |
A1-Simulator | nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator | 2.2.0 | 2.1.0 | 2.1.0 |
R-APP Catalogue | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-r-app-catalogue | 1.0.2 | 1.0.1 | 1.0.1 |
Dmaap Adaptor | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaap-adaptor | 1.0.1 | - | - |
Dmaap Mediator | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaap-mediator-producer | 1.0.1 | - | - |
"profile" refers to the name of the environment variable profile used when executed a test case. The profiles has the pattern 'test_env-oran-<profile-name>.sh in the test/common dir.