From aa1379e16f25de408489c9588f5d9c1924f84e37 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Tue, 18 Apr 2023 11:06:49 +0100 Subject: 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 --- docs/development/devtools/smoke/xacml-smoke.rst | 60 +++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 docs/development/devtools/smoke/xacml-smoke.rst (limited to 'docs/development/devtools/smoke/xacml-smoke.rst') diff --git a/docs/development/devtools/smoke/xacml-smoke.rst b/docs/development/devtools/smoke/xacml-smoke.rst new file mode 100644 index 00000000..2a0be4b6 --- /dev/null +++ b/docs/development/devtools/smoke/xacml-smoke.rst @@ -0,0 +1,60 @@ +.. 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 + +XACML PDP Smoke Test +~~~~~~~~~~~~~~~~~~~~ + +The policy-xacml-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 `_ + +At a minimum policy needs the following components installed: + +- onap base charts +- AAF for certificate generation +- DMaaP message-router for communication among policy components. + +docker-compose based +-------------------- + +A smaller testing environment can be put together by replicating the CSIT test environment: + +`Policy CSIT Test infrastructure `_ + +Testing procedures +****************** + +The smoke tests should be focused on verifying the proper workings of the xacml +PDP and dependent components. The following scenarios should be considered: + +- PDP-X registration with PAP. +- PDP-X restarts and re-registration with PAP. +- Healtchecks +- Statistics and Prometheus metrics. +- Verify decision with monitoring policies. +- Verify decision with optimization policy. +- Verify decision with min/max policy. +- Verify decision with frequency limiter policy. +- Verify decision with default guard policy. +- Verify decision with naming policy. + +The following testsuites contain everything necessary for the previous verifications: + +- `CSIT Robot framework `_ +- `JMeter S3P `_ + -- cgit 1.2.3-korg