Guter Stand

This commit is contained in:
Philipp 2020-05-29 12:17:23 +02:00
parent f1b12ad576
commit 43de60c55f
17 changed files with 75 additions and 32 deletions

View file

@ -18,8 +18,7 @@ public class BerechnungZahlungsziel implements JavaDelegate {
if (diff <= 24) execution.setVariable("FormField_bool_Zahlungsziel", true); if (diff <= 24) execution.setVariable("FormField_bool_Zahlungsziel", true);
else execution.setVariable("FormField_bool_Zahlungsziel", false); else execution.setVariable("FormField_bool_Zahlungsziel", false);
System.out.println("Differenz: "+ diff);
} }

View file

@ -272,7 +272,7 @@
<bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" /> <bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" />
<bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" /> <bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" />
<bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" /> <bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" />
<bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.UeberweisungAusfuehren"> <bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.Rechnungseingang.UeberweisungAusfuehren">
<bpmn:incoming>Flow_0zftkwh</bpmn:incoming> <bpmn:incoming>Flow_0zftkwh</bpmn:incoming>
<bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing> <bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing>
<bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" /> <bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" />

View file

@ -0,0 +1,16 @@
<form>
<div class="form-group">
<label>Rechnung ist formal richtig?</label>
<select cam-variable-name="FormField_bool_Formalpruefen"
cam-variable-type="Boolean">
<option value="true">Ja</option>
<option value="false">Nein</option>
</select>
</div>
<a cam-file-download="Eingangsrechnung"></a>
</form>

View file

@ -0,0 +1,16 @@
<form>
<div class="form-group">
<label>Vorgang wurde geprüft und wird freigegeben??</label>
<select cam-variable-name="FormField_bool_Vorgangpruefen"
cam-variable-type="Boolean">
<option value="true">Ja</option>
<option value="false">Nein</option>
</select>
</div>
<a cam-file-download="Eingangsrechnung"></a>
</form>

View file

@ -272,7 +272,7 @@
<bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" /> <bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" />
<bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" /> <bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" />
<bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" /> <bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" />
<bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.UeberweisungAusfuehren"> <bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.Rechnungseingang.UeberweisungAusfuehren">
<bpmn:incoming>Flow_0zftkwh</bpmn:incoming> <bpmn:incoming>Flow_0zftkwh</bpmn:incoming>
<bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing> <bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing>
<bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" /> <bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" />

View file

@ -1,10 +1,16 @@
<!DOCTYPE html> <form>
<html> <div class="form-group">
<head> <label>Rechnung ist formal richtig?</label>
<meta charset="ISO-8859-1">
<title>Insert title here</title> <select cam-variable-name="FormField_bool_Formalpruefen"
</head> cam-variable-type="Boolean">
<body> <option value="true">Ja</option>
<option value="false">Nein</option>
</select>
</body> </div>
</html>
<a cam-file-download="Eingangsrechnung"></a>
</form>

View file

@ -1,10 +1,16 @@
<!DOCTYPE html> <form>
<html> <div class="form-group">
<head> <label>Vorgang wurde geprüft und wird freigegeben??</label>
<meta charset="ISO-8859-1">
<title>Insert title here</title> <select cam-variable-name="FormField_bool_Vorgangpruefen"
</head> cam-variable-type="Boolean">
<body> <option value="true">Ja</option>
<option value="false">Nein</option>
</select>
</body> </div>
</html>
<a cam-file-download="Eingangsrechnung"></a>
</form>

View file

@ -272,7 +272,7 @@
<bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" /> <bpmn:sequenceFlow id="Flow_00dngjn" sourceRef="Gateway_01r6r9e" targetRef="Gateway_1y79rn0" />
<bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" /> <bpmn:sequenceFlow id="Flow_0zftkwh" sourceRef="Gateway_1y79rn0" targetRef="Activity_108exu6" />
<bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" /> <bpmn:sequenceFlow id="Flow_1qtw2q6" sourceRef="Activity_108exu6" targetRef="Activity_1x7zph6" />
<bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.UeberweisungAusfuehren"> <bpmn:serviceTask id="Activity_108exu6" name="Überweisung ausführen" camunda:class="com.bpmn.Rechnungseingang.UeberweisungAusfuehren">
<bpmn:incoming>Flow_0zftkwh</bpmn:incoming> <bpmn:incoming>Flow_0zftkwh</bpmn:incoming>
<bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing> <bpmn:outgoing>Flow_1qtw2q6</bpmn:outgoing>
<bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" /> <bpmn:property id="Property_0gc49y9" name="__targetRef_placeholder" />

View file

@ -1,5 +1,5 @@
#Generated by Maven #Generated by Maven
#Fri May 29 12:04:08 CEST 2020 #Fri May 29 12:17:06 CEST 2020
version=0.0.1-SNAPSHOT version=0.0.1-SNAPSHOT
groupId=com.bpmn groupId=com.bpmn
artifactId=Rechnungseingang artifactId=Rechnungseingang

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.435" errors="0" skipped="0"> <testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.425" errors="0" skipped="0">
<properties> <properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin"/> <property name="sun.boot.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin"/>
@ -27,7 +27,7 @@
<property name="java.vm.specification.vendor" value="Oracle Corporation"/> <property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/> <property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/> <property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf8806663325307207124.tmp"/> <property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf4107858210814510283.tmp"/>
<property name="sun.jnu.encoding" value="Cp1252"/> <property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_251/bin/server;C:/Program Files/Java/jre1.8.0_251/bin;C:/Program Files/Java/jre1.8.0_251/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Philipp\AppData\Local\Microsoft\WindowsApps;C:\Users\Philipp\AppData\Local\GitHubDesktop\bin;C:\Windows\System32;;."/> <property name="java.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_251/bin/server;C:/Program Files/Java/jre1.8.0_251/bin;C:/Program Files/Java/jre1.8.0_251/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Philipp\AppData\Local\Microsoft\WindowsApps;C:\Users\Philipp\AppData\Local\GitHubDesktop\bin;C:\Windows\System32;;."/>
<property name="java.specification.name" value="Java Platform API Specification"/> <property name="java.specification.name" value="Java Platform API Specification"/>
@ -61,6 +61,6 @@
<property name="sun.desktop" value="windows"/> <property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/> <property name="sun.cpu.isalist" value="amd64"/>
</properties> </properties>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.216"/> <testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.193"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.219"/> <testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.232"/>
</testsuite> </testsuite>

View file

@ -1,4 +1,4 @@
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Test set: com.bpmn.Rechnungseingang.ProcessUnitTest Test set: com.bpmn.Rechnungseingang.ProcessUnitTest
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.636 sec Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.987 sec