Add document for policy-api smoke test 27/125727/2
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Thu, 11 Nov 2021 19:36:15 +0000 (14:36 -0500)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Thu, 11 Nov 2021 19:45:03 +0000 (19:45 +0000)
Adding document for policy-api smoke testing.

Issue-ID: POLICY-3717
Change-Id: Icc87a4927cfa84068c354cfaa2115486f4b0caab
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
docs/development/devtools/api-smoke.rst [new file with mode: 0644]
docs/development/devtools/devtools.rst

diff --git a/docs/development/devtools/api-smoke.rst b/docs/development/devtools/api-smoke.rst
new file mode 100644 (file)
index 0000000..638546b
--- /dev/null
@@ -0,0 +1,47 @@
+.. 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 API Smoke Test
+~~~~~~~~~~~~~~~~~~~~~
+
+The policy-api smoke testing is executed against a default ONAP installation as per OOM charts.
+This test verifies the execution of all the REST api's exposed by the component to make sure the contract works as expected.
+
+General Setup
+*************
+
+The kubernetes installation will allocate all onap components across multiple worker node VMs.
+The normal worker VM hosting onap components has the following spec:
+
+- 16GB RAM
+- 8 VCPU
+- 160GB Ephemeral Disk
+
+
+The ONAP components used during the smoke tests are:
+
+- Policy API to perform CRUD of policies.
+- Policy DB to store the policies.
+
+
+Testing procedure
+*****************
+
+The test set is focused on the following use cases:
+
+- Execute all the REST api's exposed by policy-api component.
+
+Execute policy-api testing
+--------------------------
+Download & execute the steps in postman collection for verifying policy-api component.
+The steps needs to be performed sequentially one after another. And no input is required from user.
+
+`Policy Framework Lifecycle API <https://github.com/onap/policy-api/blob/master/postman/lifecycle-api-collection.json>`_
+
+Make sure to execute the delete steps in order to clean the setup after testing.
index 97acac4..5dc3af3 100644 (file)
@@ -279,8 +279,6 @@ familiar with the Policy Framework components and test any local changes.
    clamp-smoke.rst
    clamp-cl-participant-protocol-smoke.rst
    policy-participant-smoke.rst
-
-..
    api-smoke.rst
 
 ..