diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2022-04-26 12:34:49 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2022-04-26 12:34:49 -0500 |
commit | d6aca81699ec0937e4ef971315180326ee446cd1 (patch) | |
tree | 927a42f2f8f46136e792371db854844f1a50e737 /docs/development/devtools/xacml-smoke.rst | |
parent | b7962acc6df0a42eff365ff84f1dc313cd0bedda (diff) |
smoke tests doc for xacml and drools
Issue-ID: POLICY-3720
Issue-ID: POLICY-3721
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I48651d5633d15289efc827c8dcf5bad8671fba4f
Diffstat (limited to 'docs/development/devtools/xacml-smoke.rst')
-rw-r--r-- | docs/development/devtools/xacml-smoke.rst | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/development/devtools/xacml-smoke.rst b/docs/development/devtools/xacml-smoke.rst new file mode 100644 index 00000000..5b7eb8ea --- /dev/null +++ b/docs/development/devtools/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 Quick Start Guide <https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html>`_ + +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 <https://git.onap.org/policy/docker/tree/csit>`_ + +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 <https://git.onap.org/policy/docker/tree/csit/xacml-pdp/tests/xacml-pdp-test.robot>`_ +- `JMeter S3P <https://git.onap.org/policy/xacml-pdp/tree/testsuites/stability/src/main/resources/testplans/stability.jmx>`_ + |