Skip to content

Commit

Permalink
fix: separate zaaktypes.xml file per DTAP stage
Browse files Browse the repository at this point in the history
  • Loading branch information
DelanoWAF committed Nov 1, 2023
1 parent 5d1610f commit d709840
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
value="<Empty/>" />

<FixedResultPipe name="storeZaaktypes" storeResultInSessionKey="active_zaaktypes"
filename="Zaaktypes.xml" />
filename="${mijnzaaknotificaties.zaaktypes_file}" />

<PutSystemDateInSessionPipe name="GetDateTime" dateFormat="yyyyMMdd-HHmmss" />

Expand Down Expand Up @@ -102,7 +102,7 @@

<XmlIfPipe name="Check Zaaktype startdate"
xpathExpression="$systemDate > $startDate">
<Param name="startDate" xpathExpression="//identificatie"/>
<Param name="startDate" xpathExpression="//identificatie" />
<Param name="systemDate" sessionKey="systemDate" />
<Forward name="then" path="Check resultaat in zaak" />
<Forward name="else" path="storeRejectionZaakTypeDate" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ xml_output_path = '.'
service_host = '0.0.0.0'
service_port = 80

active_zaaktypes = {'B0208', 'B0366', 'B0268'}
print_zaakjson = False

openzaak_baseurl = https://open-zaak.test.swf.opengem.nl/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

warnings.suppress.sqlInjections.ManageDatabase=true
stub4testtool.configuration=true
mijnzaaknotificaties.zaaktypes_file = ZaaktypesLoc.xml

active_zaaktypes = {'B1210':'31-10-2023', 'B1026':'31-10-2023', 'ANDER-ZAAKTYPE-IDENTIFICATIE':'31-10-2023'}
mijnzaaknotificaties.resultFolder = ${log.dir}\LopendeZaken\results\
mijnzaaknotificaties.resultFolder = ${log.dir}\LopendeZaken\results\
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mijnzaaknotificaties.zaaktypes_file = ZaaktypesProd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mijnzaaknotificaties.zaaktypes_file = ZaaktypesTest.xml
4 changes: 4 additions & 0 deletions src/main/configurations/LopendeZaken/ZaaktypesProd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<Zaaktypes>
<Zaaktype startdate='2023-11-08' zaaktype='B0208'/>
</Zaaktypes>
6 changes: 6 additions & 0 deletions src/main/configurations/LopendeZaken/ZaaktypesTest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Zaaktypes>
<Zaaktype startdate='2023-31-01' zaaktype='B0208'/>
<Zaaktype startdate='2023-31-01' zaaktype='B0366'/>
<Zaaktype startdate='2023-31-01' zaaktype='B0268'/>
</Zaaktypes>

0 comments on commit d709840

Please sign in to comment.