This commit is contained in:
Sebastian 2020-05-29 08:41:38 +02:00
commit e43f5061e1
21 changed files with 104 additions and 74 deletions

View file

@ -10,13 +10,13 @@
<text></text>
</inputExpression>
</input>
<output id="output_1" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<output id="output_1" label="FormField_Boolean_HoeheRechnungssumme" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text>
<text>false</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text>
<text>true</text>
</outputEntry>
</rule>
</decisionTable>

View file

@ -53,12 +53,7 @@
<bpmn:outgoing>Flow_1aijtcn</bpmn:outgoing>
<bpmn:outgoing>Flow_1kjf7y9</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_Bool_Lieferscheinpruefen" label="Rechnung stimmt mit Lieferschein überein" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen" camunda:formKey="embedded:app:forms/Lieferscheinpruefen.html">
<bpmn:incoming>Flow_0bvc46v</bpmn:incoming>
<bpmn:outgoing>Flow_17ny5uv</bpmn:outgoing>
<bpmn:property id="Property_09aqjdw" name="__targetRef_placeholder" />

View file

@ -0,0 +1,19 @@
<form>
<script src="angular.min.js" type="text/javascript"></script>
<script src="camunda-bpm-sdk-angular.js" type="text/javascript"></script>
<div class="form-group">
<label>Rechnung stimmt mit Lieferschein überein?</label>
<select cam-variable-name="FormField_Bool_Lieferscheinpruefen"
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

@ -1,6 +1,7 @@
<form>
<label>Eingescannte Rechnung hochladen:</label></br>
<input type="file"
cam-variable-name="INVOICE_DOCUMENT"
cam-variable-name="Eingangsrechnung"
cam-variable-type="File"
cam-max-filesize="10000000" />
</form>

View file

@ -8,7 +8,7 @@
</div>
<div class="form-group">
<label for="datum-field">Datum</label>
<input type="date" cam-variable-name="datum"
<input type="date" cam-variable-name="Datum"
cam-variable-type="date"
class="form-control" />
</div>

Binary file not shown.

View file

@ -10,13 +10,13 @@
<text></text>
</inputExpression>
</input>
<output id="output_1" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<output id="output_1" label="FormField_Boolean_HoeheRechnungssumme" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text>
<text>false</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text>
<text>true</text>
</outputEntry>
</rule>
</decisionTable>

View file

@ -53,12 +53,7 @@
<bpmn:outgoing>Flow_1aijtcn</bpmn:outgoing>
<bpmn:outgoing>Flow_1kjf7y9</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_Bool_Lieferscheinpruefen" label="Rechnung stimmt mit Lieferschein überein" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen" camunda:formKey="embedded:app:forms/Lieferscheinpruefen.html">
<bpmn:incoming>Flow_0bvc46v</bpmn:incoming>
<bpmn:outgoing>Flow_17ny5uv</bpmn:outgoing>
<bpmn:property id="Property_09aqjdw" name="__targetRef_placeholder" />

View file

@ -0,0 +1,19 @@
<form>
<script src="angular.min.js" type="text/javascript"></script>
<script src="camunda-bpm-sdk-angular.js" type="text/javascript"></script>
<div class="form-group">
<label>Rechnung stimmt mit Lieferschein überein?</label>
<select cam-variable-name="FormField_Bool_Lieferscheinpruefen"
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

@ -1,6 +1,7 @@
<form>
<label>Eingescannte Rechnung hochladen:</label></br>
<input type="file"
cam-variable-name="INVOICE_DOCUMENT"
cam-variable-name="Eingangsrechnung"
cam-variable-type="File"
cam-max-filesize="10000000" />
</form>

View file

@ -8,7 +8,7 @@
</div>
<div class="form-group">
<label for="datum-field">Datum</label>
<input type="date" cam-variable-name="datum"
<input type="date" cam-variable-name="Datum"
cam-variable-type="date"
class="form-control" />
</div>

View file

@ -10,13 +10,13 @@
<text></text>
</inputExpression>
</input>
<output id="output_1" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<output id="output_1" label="FormField_Boolean_HoeheRechnungssumme" name="FormField_Boolean_HoeheRechnungssumme" typeRef="boolean" />
<rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text>
<text>false</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text>
</inputEntry>
<outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text>
<text>true</text>
</outputEntry>
</rule>
</decisionTable>

View file

@ -53,12 +53,7 @@
<bpmn:outgoing>Flow_1aijtcn</bpmn:outgoing>
<bpmn:outgoing>Flow_1kjf7y9</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_Bool_Lieferscheinpruefen" label="Rechnung stimmt mit Lieferschein überein" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:userTask id="Activity_1b029kn" name="Rechung mit Lieferschein prüfen" camunda:formKey="embedded:app:forms/Lieferscheinpruefen.html">
<bpmn:incoming>Flow_0bvc46v</bpmn:incoming>
<bpmn:outgoing>Flow_17ny5uv</bpmn:outgoing>
<bpmn:property id="Property_09aqjdw" name="__targetRef_placeholder" />

View file

@ -1,5 +1,5 @@
#Generated by Maven
#Wed May 27 20:24:31 CEST 2020
#Wed May 27 21:22:34 CEST 2020
version=0.0.1-SNAPSHOT
groupId=com.bpmn
artifactId=Rechnungseingang
version=0.0.1-SNAPSHOT

View file

@ -1,3 +1,3 @@
C:\Users\schmi\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\CamundaBpmProcessApplication.java
C:\Users\schmi\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\BerechnungZahlungsziel.java
C:\Users\schmi\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\LoggerDelegate.java
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\BerechnungZahlungsziel.java
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\CamundaBpmProcessApplication.java
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\LoggerDelegate.java

View file

@ -1 +1 @@
C:\Users\schmi\BPMN_Projekt\Rechnungseingang\src\test\java\com\bpmn\Rechnungseingang\ProcessUnitTest.java
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\test\java\com\bpmn\Rechnungseingang\ProcessUnitTest.java

View file

@ -1,61 +1,66 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="2.058" errors="0" skipped="0">
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.757" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="java.vm.version" value="13.0.1+9"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-13.0.1\bin"/>
<property name="maven.multiModuleProjectDirectory" value="C:\Users\schmi\BPMN_Projekt\Rechnungseingang"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin"/>
<property name="java.vm.version" value="25.251-b08"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="maven.multiModuleProjectDirectory" value="C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="sun.os.patch.level" value=""/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\Users\schmi\BPMN_Projekt\Rechnungseingang"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="java.runtime.version" value="13.0.1+9"/>
<property name="user.dir" value="C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang"/>
<property name="java.runtime.version" value="1.8.0_251-b08"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jre1.8.0_251\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\schmi\AppData\Local\Temp\"/>
<property name="java.io.tmpdir" value="C:\Users\Philipp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\Users\schmi\Documents\Eclipse Workspace\BPMN\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf4227939527609680422.tmp"/>
<property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf56243114247229867.tmp"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-13.0.1\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk-13.0.1/bin/server;C:/Program Files/Java/jdk-13.0.1/bin;C:\Program Files\Java\jdk-13.0.1\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Android;C:\Windows\System32;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Git\cmd;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\schmi\AppData\Local\Microsoft\WindowsApps;C:\Users\schmi\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\Java\jdk-13.0.1\bin;;C:\WINDOWS\System32;;."/>
<property name="jdk.debug" value="release"/>
<property name="java.class.version" value="57.0"/>
<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.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\schmi"/>
<property name="user.home" value="C:\Users\Philipp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.specification.version" value="13"/>
<property name="user.name" value="schmi"/>
<property name="java.class.path" value="C:\Users\schmi\.p2\pool\plugins\org.eclipse.m2e.maven.runtime_1.14.0.20191209-1923\jars\plexus-classworlds-2.6.0.jar"/>
<property name="java.vm.specification.version" value="13"/>
<property name="user.name" value="Philipp"/>
<property name="java.class.path" value="C:\Users\Philipp\.p2\pool\plugins\org.eclipse.m2e.maven.runtime_1.15.0.20200310-1832\jars\plexus-classworlds-2.6.0.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jre1.8.0_251"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher -B install"/>
<property name="java.home" value="C:\Program Files\Java\jdk-13.0.1"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.version" value="13.0.1"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_251"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jre1.8.0_251\lib\ext;C:\Windows\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jre1.8.0_251\lib\resources.jar;C:\Program Files\Java\jre1.8.0_251\lib\rt.jar;C:\Program Files\Java\jre1.8.0_251\lib\sunrsasign.jar;C:\Program Files\Java\jre1.8.0_251\lib\jsse.jar;C:\Program Files\Java\jre1.8.0_251\lib\jce.jar;C:\Program Files\Java\jre1.8.0_251\lib\charsets.jar;C:\Program Files\Java\jre1.8.0_251\lib\jfr.jar;C:\Program Files\Java\jre1.8.0_251\classes"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\Users\schmi\BPMN_Projekt\Rechnungseingang\EMBEDDED"/>
<property name="maven.home" value="C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\EMBEDDED"/>
<property name="file.separator" value="\"/>
<property name="java.version.date" value="2019-10-15"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.608"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.45"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.535"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.222"/>
</testsuite>

View file

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