From: Ram Krishna Verma Date: Tue, 22 Jun 2021 21:47:59 +0000 (-0400) Subject: Add section for policy chaining X-Git-Tag: 3.4.0~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fparent.git;a=commitdiff_plain;h=fbf1f26654e36ea5aa9d30bebcb7779000f1750a 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 --- diff --git a/docs/drools/pdpdApps.rst b/docs/drools/pdpdApps.rst index a9a0b9fc..2e5a93de 100644 --- a/docs/drools/pdpdApps.rst +++ b/docs/drools/pdpdApps.rst @@ -86,6 +86,25 @@ The Tosca Compliant Operational Policy Type is defined at the An example of a Tosca Compliant Operational Policy can be found `here `__. +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 `__. + +An example of policy chaining for PNF can be found +`here `__. + Features ========