Skip to content

Commit 73504df

Browse files
committed
chore: add dvtp example Flow A - Toestemming geven [no ci]
1 parent 7c8393c commit 73504df

10 files changed

Lines changed: 1370 additions & 0 deletions

File tree

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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_delegation" name="DvtpDelegationCheck" namespace="http://example.com/dvtp/dmn" exporter="Camunda Modeler" exporterVersion="5.45.0">
3+
<decision id="DvtpDelegationCheck" name="DvTP Machtiging- en delegatiecheck (FR-02)" camunda:historyTimeToLive="90">
4+
<decisionTable id="DecisionTable_Delegation" hitPolicy="FIRST">
5+
<input id="Input_MachtigingAanwezig">
6+
<inputExpression id="IE_MachtigingAanwezig" typeRef="boolean">
7+
<text>machtigingAanwezig</text>
8+
</inputExpression>
9+
</input>
10+
<input id="Input_DelegatieUitgesloten">
11+
<inputExpression id="IE_DelegatieUitgesloten" typeRef="boolean">
12+
<text>delegatieUitgesloten</text>
13+
</inputExpression>
14+
</input>
15+
<output id="Output_DelegatieGeblokkeerd" name="delegatieGeblokkeerd" typeRef="boolean" />
16+
<output id="Output_DelegatieReden" name="delegatieReden" typeRef="string" />
17+
<rule id="Rule_Blocked">
18+
<description>FR-02: machtiging gedetecteerd maar delegatie is uitgesloten voor deze dienst</description>
19+
<inputEntry id="IE_Blocked_Machtiging">
20+
<text>true</text>
21+
</inputEntry>
22+
<inputEntry id="IE_Blocked_Delegatie">
23+
<text>true</text>
24+
</inputEntry>
25+
<outputEntry id="OE_Blocked">
26+
<text>true</text>
27+
</outputEntry>
28+
<outputEntry id="OE_Blocked_Reden">
29+
<text>"U heeft ingelogd via een machtiging, maar deze dienst staat het geven van toestemming namens een ander niet toe (FR-02). Log opnieuw in met uw eigen DigiD."</text>
30+
</outputEntry>
31+
</rule>
32+
<rule id="Rule_DelegationAllowed">
33+
<description>Machtiging aanwezig, delegatie is toegestaan voor deze dienst</description>
34+
<inputEntry id="IE_Allowed_Machtiging">
35+
<text>true</text>
36+
</inputEntry>
37+
<inputEntry id="IE_Allowed_Delegatie">
38+
<text>false</text>
39+
</inputEntry>
40+
<outputEntry id="OE_Allowed">
41+
<text>false</text>
42+
</outputEntry>
43+
<outputEntry id="OE_Allowed_Reden">
44+
<text>"Machtiging aanwezig en delegatie is toegestaan voor deze dienst."</text>
45+
</outputEntry>
46+
</rule>
47+
<rule id="Rule_NoMachtiging">
48+
<description>Geen machtiging gedetecteerd — burger handelt op eigen naam</description>
49+
<inputEntry id="IE_No_Machtiging">
50+
<text>false</text>
51+
</inputEntry>
52+
<inputEntry id="IE_No_Delegatie">
53+
<text>-</text>
54+
</inputEntry>
55+
<outputEntry id="OE_No_Blocked">
56+
<text>false</text>
57+
</outputEntry>
58+
<outputEntry id="OE_No_Reden">
59+
<text>"Geen machtiging gedetecteerd. Burger handelt op eigen naam."</text>
60+
</outputEntry>
61+
</rule>
62+
</decisionTable>
63+
</decision>
64+
<inputData id="InputData_machtigingAanwezig" name="machtigingAanwezig">
65+
<variable id="Var_machtigingAanwezig" name="machtigingAanwezig" typeRef="boolean" />
66+
</inputData>
67+
<inputData id="InputData_delegatieUitgesloten" name="delegatieUitgesloten">
68+
<variable id="Var_delegatieUitgesloten" name="delegatieUitgesloten" typeRef="boolean" />
69+
</inputData>
70+
<dmndi:DMNDI>
71+
<dmndi:DMNDiagram id="DMNDiagram_Delegation">
72+
<dmndi:DMNShape id="DMNShape_Delegation" dmnElementRef="DvtpDelegationCheck">
73+
<dc:Bounds height="80" width="180" x="150" y="80" />
74+
</dmndi:DMNShape>
75+
</dmndi:DMNDiagram>
76+
</dmndi:DMNDI>
77+
</definitions>

0 commit comments

Comments
 (0)