X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fapex%2FAPEX-Policy-Guide.rst;h=cb2388e01b3e9b40e283a0bbd21d907396831a7b;hb=935358b4bfcf551ec780a4f6342032ac2a00376d;hp=c7e8ad5cbae0ed0e8b6ce8504ca5b29e72f77a35;hpb=cc0e917ff2fba38585b0064517409968f66a2a7e;p=policy%2Fparent.git diff --git a/docs/apex/APEX-Policy-Guide.rst b/docs/apex/APEX-Policy-Guide.rst index c7e8ad5c..cb2388e0 100644 --- a/docs/apex/APEX-Policy-Guide.rst +++ b/docs/apex/APEX-Policy-Guide.rst @@ -2093,82 +2093,6 @@ Using Java in Scripting Logic importClass(java.util.ArrayList); var myList = new ArrayList(); -Policy Examples -^^^^^^^^^^^^^^^ - -Sample APEX Policy in TOSCA format ----------------------------------- - - .. container:: paragraph - - An example APEX policy in TOSCA format for the vCPE - use case can be found here: - - .. container:: ulist - - - `APEX TOSCA Policy - vCPE `__ - -My First Policy ---------------- - - .. container:: paragraph - - A good starting point is the ``My First Policy`` example. It - describes a sales problem, to which policy can be applied. - The example details the policy background, shows how to use - the REST Editor to create a policy, and provides details for - running the policies. The documentation can be found: - - .. container:: ulist - - - `My-First-Policy on the APEX - site `__ - - - `Stand-alone - HTML `__ - - - `Stand-alone - PDF `__ - -VPN SLA -------- - - .. container:: paragraph - - The domain Policy-controlled Video Streaming (PCVS) contains - a policy for controlling video streams with different - strategies. It also provides details for installing an - actual testbed with off-the-shelve software (Mininet, - Floodlight, Kafka, Zookeeper). The policy model here - demonstrates virtually all APEX features: local context and - policies controlling it, task selection logic and multiple - tasks in a single state, AVRO schemas for context, AVOR - schemas for events (trigger and local), and a CLI editor - specification of the policy. The documentation can be found: - - .. container:: ulist - - - `VPN SLA Policy on the APEX - site `__ - -Decision Maker --------------- - - .. container:: paragraph - - The domain Decision Maker shows a very simple policy for - decisions. Interesting here is that the it creates a Docker - image to run the policy and that it uses the APEX REST - applications to update the policy on the-fly. It also has - local context to remember past decisions, and shows how to - use that to no make the same decision twice in a row. The - documentation can be found: - - .. container:: ulist - - - `Decision Maker on APEX - site `__ .. container:: :name: footer