1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
4 .. _apex-DecisionMakerExample:
6 APEX Examples Decision Maker
7 ****************************
9 .. container:: sectionbody
11 Click on the link to find the contents of each file to generate the Decision Maker Example.
15 - |apexConfigRESTClient_link|
16 - |apexConfigRESTServer_link|
17 - |answerInitiationEvent_link|
18 - |makeDecision_Client_link|
19 - |makeDecision_Server_link|
20 - |makeDecisionExtraMode_Client_link|
21 - |makeDecisionExtraMode_Server_link|
23 - APEX Model (Policies)
25 - |answerInitTask_link|
26 - |ditheringAnswerTask_link|
27 - |makeDecisionStateTSL_link|
28 - |optimisticAnswerTask_link|
29 - |pessimisticAnswerTask_link|
30 - |randomAnswerTask_link|
31 - |roundRobinAnswerTask_link|
38 Last updated 2020-04-08 16:04:24 IST
40 .. |File > New to create a new Policy Model| image:: images/mfp/MyFirstPolicy_P1_newPolicyModel1.png
41 .. |Create a new Policy Model| image:: images/mfp/MyFirstPolicy_P1_newPolicyModel2.png
42 .. |ONAP| image:: ../_static/logo_onap_2017.png
44 :target: http://www.onap.org/
45 .. |apexConfigRESTClient_link| raw:: html
47 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/config/DecisionMaker/ApexConfigRESTClient.json" target="_blank">APEX Configuration: Rest Client</a>
48 .. |apexConfigRESTServer_link| raw:: html
50 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/config/DecisionMaker/ApexConfigRESTServer.json" target="_blank">APEX Configuration: Rest Server</a>
52 .. |answerInitiationEvent_link| raw:: html
54 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/config/DecisionMaker/AnswerInitiationEvent.json" target="_blank">Initiation Event</a>
56 .. |makeDecision_Client_link| raw:: html
58 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/html/DecisionMaker/MakeDecision_Client.html" target="_blank">HTML Client</a>
60 .. |makeDecision_Server_link| raw:: html
62 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/html/DecisionMaker/MakeDecision_Server.html" target="_blank">HTML Server</a>
64 .. |makeDecisionExtraMode_Client_link| raw:: html
66 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/html/DecisionMaker/MakeDecisionExtraMode_Client.html" target="_blank">HTML Client: Extra Mode</a>
68 .. |makeDecisionExtraMode_Server_link| raw:: html
70 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/examples/html/DecisionMaker/MakeDecisionExtraMode_Server.html" target="_blank">HTML Server: Extra Mode</a>
71 .. |answerInitTask_link| raw:: html
73 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/AnswerInitTask.js" target="_blank">Task Logic: Answer Init</a>
75 .. |ditheringAnswerTask_link| raw:: html
77 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/DitheringAnswerTask.js" target="_blank">Task Logic: Dithering Answer</a>
79 .. |makeDecisionStateTSL_link| raw:: html
81 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js" target="_blank">Task Selection Logic: Make Decision State</a>
83 .. |optimisticAnswerTask_link| raw:: html
85 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/OptimisticAnswerTask.js" target="_blank">Task Logic: Optimistic Answer</a>
87 .. |pessimisticAnswerTask_link| raw:: html
89 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/PessimisticAnswerTask.js" target="_blank">Task Logic: Pessimistic Answer</a>
91 .. |randomAnswerTask_link| raw:: html
93 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/RandomAnswerTask.js" target="_blank">Task Logic: Random Answer</a>
95 .. |roundRobinAnswerTask_link| raw:: html
97 <a href="https://github.com/onap/policy-apex-pdp/blob/master/examples/examples-decisionmaker/src/main/resources/logic/RoundRobinAnswerTask.js" target="_blank">Task Logic: RoundRobin Answer</a>