diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2023-04-18 11:06:49 +0100 |
---|---|---|
committer | Francesco Fiora <francesco.fiora@est.tech> | 2023-04-18 10:10:03 +0000 |
commit | aa1379e16f25de408489c9588f5d9c1924f84e37 (patch) | |
tree | ff3c686369c151fdf6774c12fa9e5739553e55fe /docs/development/devtools/drools-smoke.rst | |
parent | ad9a1e88471b5073fe24399b0f51e8ae5bca3e05 (diff) |
Restructure of devtools folder for smoke tests
Move smoke tests docs to smoke folder
Issue-ID: POLICY-4627
Change-Id: Ica496db009c5e15b531fc0d6c3d93596f0425b28
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/development/devtools/drools-smoke.rst')
-rw-r--r-- | docs/development/devtools/drools-smoke.rst | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/docs/development/devtools/drools-smoke.rst b/docs/development/devtools/drools-smoke.rst deleted file mode 100644 index 363bb503..00000000 --- a/docs/development/devtools/drools-smoke.rst +++ /dev/null @@ -1,61 +0,0 @@ -.. This work is licensed under a -.. Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 - -.. _policy-api-smoke-testing-label: - -.. toctree:: - :maxdepth: 2 - -Policy Drools PDP and Applications Smoke Test -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The policy-drools-pdp smoke testing can be executed against a kubernetes based ONAP installation, -and/or a docker-compose set up similar to the one executed by CSIT tests. - -General Setup -************* - -ONAP OOM kubernetes -------------------- - -For installation instructions, please refer to the following documentation: - -`OOM Documentation <https://docs.onap.org/projects/onap-oom/en/latest/>`_ - -At a minimum policy needs the following components installed: - -- onap base charts -- AAF for certificate generation -- DMaaP message-router for communication among policy components. - -AAI, SO and other components can be simulated by installing the simulator charts: - -`Policy Simulator Helm Chart <https://github.com/onap/policy-docker/tree/master/helm/policy/components/policy-models-simulator>`_ - -docker-compose based --------------------- - -A smaller testing environment can be put together by replicating the CSIT test environment: - -`Policy CSIT Test infrastructure <https://github.com/onap/policy-docker/tree/master/csit>`_ - -Testing procedures -****************** - -The smoke tests should be focused on verifying the proper workings of drools -and dependent components. The following scenarios should be considered: - -- PDP-D registration with PAP. -- PDP-D restarts and re-registration with PAP. -- Proper workings of telemetry tool. -- Exploration of correct PDP-D states with the telemetry tool. -- Statistics and prometheus metrics. -- Verify correct states of API, PAP, and controllers using the PDP-D healthchecks. -- Verify distributed locking capability and proper use of the database. -- Verify vCPE, vDNS, and vFirewall use cases and recorded metrics. - -The following testsuites contain everything necessary for the previous verifications: -- `CSIT Robot framework <https://github.com/onap/policy-docker/blob/master/csit/resources/tests/drools-applications-test.robot>`_ -- `JMeter S3P <https://github.com/onap/policy-drools-applications/blob/master/testsuites/stability/src/main/resources/s3p.jmx>`_ - |