X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fdrools%2FpdpdApps.rst;h=0fcc9f46f74898c714256be5c890e11634ca8c09;hb=dc2b8124459f6a4f7c91c47456561ff249ec312d;hp=a9a0b9fcf4caf43e523b146ba70af4eea7e9fe2d;hpb=f4009f0e29a39f4ab0821e6d335de833acf0b0c1;p=policy%2Fparent.git diff --git a/docs/drools/pdpdApps.rst b/docs/drools/pdpdApps.rst index a9a0b9fc..0fcc9f46 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 ======== @@ -858,8 +877,9 @@ Running PDP-D Control Loop Application with other components The reader can also look at the `policy/docker repository `__. More specifically, these directories have examples of other PDP-D Control Loop configurations: -* `plans `__: startup scripts. -* `tests `__: test plan. +* `plans `__: startup & teardown scripts. +* `scripts `__: docker-compose file. +* `tests `__: test plan. Additional information ======================