|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:camunda="http://camunda.org/schema/1.0/dmn" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="definitions_dvtp_config" name="DvtpConfigCheck" namespace="http://example.com/dvtp/dmn" exporter="Camunda Modeler" exporterVersion="5.45.0"> |
| 3 | + <decision id="DvtpConfigCheck" name="DvTP Service Configuration Check (FR-30/32)" camunda:historyTimeToLive="90"> |
| 4 | + <decisionTable id="DecisionTable_Config" hitPolicy="FIRST"> |
| 5 | + <input id="Input_InitiatorId"> |
| 6 | + <inputExpression id="IE_InitiatorId" typeRef="string"> |
| 7 | + <text>initiatorId</text> |
| 8 | + </inputExpression> |
| 9 | + </input> |
| 10 | + <input id="Input_ReturnUrl"> |
| 11 | + <inputExpression id="IE_ReturnUrl" typeRef="string"> |
| 12 | + <text>returnUrl</text> |
| 13 | + </inputExpression> |
| 14 | + </input> |
| 15 | + <output id="Output_InitiatorAllowed" name="initiatorAllowed" typeRef="boolean" /> |
| 16 | + <output id="Output_ConfigTtlDays" name="configTtlDays" typeRef="integer" /> |
| 17 | + <output id="Output_ConfigTtlLabel" name="configTtlLabel" typeRef="string" /> |
| 18 | + <rule id="Rule_Init001"> |
| 19 | + <description>Demo private dienstverlener 1 — jaarlijkse toestemming</description> |
| 20 | + <inputEntry id="IE_001_Id"> |
| 21 | + <text>"DEMO-INITIATOR-001"</text> |
| 22 | + </inputEntry> |
| 23 | + <inputEntry id="IE_001_Url"> |
| 24 | + <text>-</text> |
| 25 | + </inputEntry> |
| 26 | + <outputEntry id="OE_001_Allowed"> |
| 27 | + <text>true</text> |
| 28 | + </outputEntry> |
| 29 | + <outputEntry id="OE_001_Days"> |
| 30 | + <text>365</text> |
| 31 | + </outputEntry> |
| 32 | + <outputEntry id="OE_001_Label"> |
| 33 | + <text>"1 jaar"</text> |
| 34 | + </outputEntry> |
| 35 | + </rule> |
| 36 | + <rule id="Rule_Init002"> |
| 37 | + <description>Demo private dienstverlener 2 — kortstondige toestemming</description> |
| 38 | + <inputEntry id="IE_002_Id"> |
| 39 | + <text>"DEMO-INITIATOR-002"</text> |
| 40 | + </inputEntry> |
| 41 | + <inputEntry id="IE_002_Url"> |
| 42 | + <text>-</text> |
| 43 | + </inputEntry> |
| 44 | + <outputEntry id="OE_002_Allowed"> |
| 45 | + <text>true</text> |
| 46 | + </outputEntry> |
| 47 | + <outputEntry id="OE_002_Days"> |
| 48 | + <text>30</text> |
| 49 | + </outputEntry> |
| 50 | + <outputEntry id="OE_002_Label"> |
| 51 | + <text>"30 dagen"</text> |
| 52 | + </outputEntry> |
| 53 | + </rule> |
| 54 | + <rule id="Rule_Init003"> |
| 55 | + <description>Demo niet-geregistreerde initiator — blokkeren (FR-30)</description> |
| 56 | + <inputEntry id="IE_003_Id"> |
| 57 | + <text>"DEMO-INITIATOR-003"</text> |
| 58 | + </inputEntry> |
| 59 | + <inputEntry id="IE_003_Url"> |
| 60 | + <text>-</text> |
| 61 | + </inputEntry> |
| 62 | + <outputEntry id="OE_003_Allowed"> |
| 63 | + <text>false</text> |
| 64 | + </outputEntry> |
| 65 | + <outputEntry id="OE_003_Days"> |
| 66 | + <text>0</text> |
| 67 | + </outputEntry> |
| 68 | + <outputEntry id="OE_003_Label"> |
| 69 | + <text>"Niet geregistreerd"</text> |
| 70 | + </outputEntry> |
| 71 | + </rule> |
| 72 | + <rule id="Rule_Default"> |
| 73 | + <description>Onbekende initiator — standaard toestaan voor demo-doeleinden</description> |
| 74 | + <inputEntry id="IE_Default_Id"> |
| 75 | + <text>-</text> |
| 76 | + </inputEntry> |
| 77 | + <inputEntry id="IE_Default_Url"> |
| 78 | + <text>-</text> |
| 79 | + </inputEntry> |
| 80 | + <outputEntry id="OE_Default_Allowed"> |
| 81 | + <text>true</text> |
| 82 | + </outputEntry> |
| 83 | + <outputEntry id="OE_Default_Days"> |
| 84 | + <text>365</text> |
| 85 | + </outputEntry> |
| 86 | + <outputEntry id="OE_Default_Label"> |
| 87 | + <text>"1 jaar (standaard)"</text> |
| 88 | + </outputEntry> |
| 89 | + </rule> |
| 90 | + </decisionTable> |
| 91 | + </decision> |
| 92 | + <inputData id="InputData_initiatorId" name="initiatorId"> |
| 93 | + <variable id="Var_initiatorId" name="initiatorId" typeRef="string" /> |
| 94 | + </inputData> |
| 95 | + <inputData id="InputData_returnUrl" name="returnUrl"> |
| 96 | + <variable id="Var_returnUrl" name="returnUrl" typeRef="string" /> |
| 97 | + </inputData> |
| 98 | + <dmndi:DMNDI> |
| 99 | + <dmndi:DMNDiagram id="DMNDiagram_Config"> |
| 100 | + <dmndi:DMNShape id="DMNShape_Config" dmnElementRef="DvtpConfigCheck"> |
| 101 | + <dc:Bounds height="80" width="180" x="150" y="80" /> |
| 102 | + </dmndi:DMNShape> |
| 103 | + </dmndi:DMNDiagram> |
| 104 | + </dmndi:DMNDI> |
| 105 | +</definitions> |
0 commit comments