1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
4 .. _apex-policy-examples-label:
12 APEX-MyFirstPolicyExample.rst
13 APEX-DecisionMakerExample.rst
18 Sample APEX Policy in TOSCA format
19 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 .. container:: paragraph
23 An example APEX policy in TOSCA format for the vCPE
24 use case can be found here:
29 vCPE <https://github.com/onap/policy-models/blob/master/models-examples/src/main/resources/policies/vCPE.apex.policy.operational.input.tosca.json>`__
34 .. container:: paragraph
36 A good starting point is the ``My First Policy`` example. It
37 describes a sales problem, to which policy can be applied.
38 The example details the policy background, shows how to use
39 the REST Editor to create a policy, and provides details for
40 running the policies. The documentation can be found:
44 - :ref:`My-First-Policy Example <apex-myFirstExample>`
49 .. container:: paragraph
51 The domain Decision Maker shows a very simple policy for
52 decisions. Interesting here is that the it creates a Docker
53 image to run the policy and that it uses the APEX REST
54 applications to update the policy on the-fly. It also has
55 local context to remember past decisions, and shows how to
56 use that to no make the same decision twice in a row. The
57 documentation can be found:
61 - :ref:`Decision Maker on APEX site <apex-DecisionMakerExample>`
70 Last updated 2020-04-08 16:04:24 GMT