summaryrefslogtreecommitdiffstats
path: root/docs/drools/pdpdApps.rst
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2021-06-22 17:47:59 -0400
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2021-06-25 17:25:33 +0000
commit56e9808cdac11bdcf2674ff8a6ec93bd1e60508f (patch)
tree93267dd22a30753d7e9c0e55a725679063dfb714 /docs/drools/pdpdApps.rst
parent50bca88569bfd8284d67728403ef5a679ae71a7f (diff)
Add section for policy chaining
Adding section for policy chaining in drools-apps document. Issue-ID: POLICY-3382 Change-Id: Ie8d68c182e12aa2a9739fbd120d57bd8d0db0ca3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit fbf1f26654e36ea5aa9d30bebcb7779000f1750a)
Diffstat (limited to 'docs/drools/pdpdApps.rst')
-rw-r--r--docs/drools/pdpdApps.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/drools/pdpdApps.rst b/docs/drools/pdpdApps.rst
index afb246ea..df67624c 100644
--- a/docs/drools/pdpdApps.rst
+++ b/docs/drools/pdpdApps.rst
@@ -95,6 +95,25 @@ An example of a Legacy Operational Policy can be found
An example of a Tosca Compliant Operational Policy can be found
`here <https://git.onap.org/policy/models/tree/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json>`__.
+Policy Chaining
+===============
+
+The *usecases* controller supports chaining of multiple operations inside a Tosca Operational Policy. The next operation can be chained based on the result/output from an operation.
+The possibilities available for chaining are:
+
+- *success: chain after the result of operation is success*
+- *failure: chain after the result of operation is failure due to issues with controller/actor*
+- *failure_timeout: chain after the result of operation is failure due to timeout*
+- *failure_retries: chain after the result of operation is failure after all retries*
+- *failure_exception: chain after the result of operation is failure due to exception*
+- *failure_guard: chain after the result of operation is failure due to guard not allowing the operation*
+
+An example of policy chaining for VNF can be found
+`here <https://github.com/onap/policy-models/blob/master/models-examples/src/main/resources/policies/vFirewall.cds.policy.operational.chaining.yaml>`__.
+
+An example of policy chaining for PNF can be found
+`here <https://github.com/onap/policy-models/blob/master/models-examples/src/main/resources/policies/pnf.cds.policy.operational.chaining.yaml>`__.
+
Features
========