This commit is contained in:
Philipp 2020-05-29 11:25:46 +02:00
parent 8d5006c204
commit d0da4568ca
15 changed files with 101 additions and 51 deletions

View file

@ -0,0 +1,14 @@
package com.bpmn.Rechnungseingang;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
public class UeberweisungAusfuehren implements JavaDelegate {
@Override
public void execute(DelegateExecution execution) throws Exception {
System.out.println("Ueberweisung ausgefuehrt");
}
}

View file

@ -70,7 +70,7 @@
<bpmn:incoming>Flow_1kx09zm</bpmn:incoming>
<bpmn:messageEventDefinition id="MessageEventDefinition_1achcjf" />
</bpmn:endEvent>
<bpmn:userTask id="Activity_0snbir8" name="Lieferschein scannen">
<bpmn:userTask id="Activity_0snbir8" name="Lieferschein scannen" camunda:formKey="embedded:app:forms/LieferscheinScannen.html">
<bpmn:incoming>Flow_1aijtcn</bpmn:incoming>
<bpmn:outgoing>Flow_1kx09zm</bpmn:outgoing>
<bpmn:property id="Property_0v9359q" name="__targetRef_placeholder" />
@ -84,7 +84,7 @@
</bpmn:userTask>
<bpmn:dataObjectReference id="DataObjectReference_1at71qu" name="Lieferschein (digital)" dataObjectRef="DataObject_1lefyt0" />
<bpmn:dataObject id="DataObject_1lefyt0" />
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel &#38; Rechnngsdaten festsetzen">
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel &#38; Rechnngsdaten festsetzen" camunda:formKey="embedded:app:forms/Rechnungssumme_Zahlungsziel.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_long_HoeheRechnungssumme" label="Rechnungssumme eingeben" type="long" />
@ -123,7 +123,7 @@
<bpmn:outgoing>Flow_0fpeqn8</bpmn:outgoing>
<bpmn:outgoing>Flow_1wh7ll1</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen">
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen" camunda:formKey="embedded:app:forms/Formalpruefen.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_bool_Formalpruefen" label="Rechnung formal richtig" type="boolean" />
@ -168,7 +168,7 @@
<bpmn:outgoing>Flow_1fwe2w7</bpmn:outgoing>
<bpmn:outgoing>Flow_1mj7tm1</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen">
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen" camunda:formKey="embedded:app:forms/Vorgangpruefen.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_bool_Vorgangpruefen" type="boolean" />

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
</body>
</html>

View file

@ -70,7 +70,7 @@
<bpmn:incoming>Flow_1kx09zm</bpmn:incoming>
<bpmn:messageEventDefinition id="MessageEventDefinition_1achcjf" />
</bpmn:endEvent>
<bpmn:userTask id="Activity_0snbir8" name="Lieferschein scannen">
<bpmn:userTask id="Activity_0snbir8" name="Lieferschein scannen" camunda:formKey="embedded:app:forms/LieferscheinScannen.html">
<bpmn:incoming>Flow_1aijtcn</bpmn:incoming>
<bpmn:outgoing>Flow_1kx09zm</bpmn:outgoing>
<bpmn:property id="Property_0v9359q" name="__targetRef_placeholder" />
@ -84,7 +84,7 @@
</bpmn:userTask>
<bpmn:dataObjectReference id="DataObjectReference_1at71qu" name="Lieferschein (digital)" dataObjectRef="DataObject_1lefyt0" />
<bpmn:dataObject id="DataObject_1lefyt0" />
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel &#38; Rechnngsdaten festsetzen">
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel &#38; Rechnngsdaten festsetzen" camunda:formKey="embedded:app:forms/Rechnungssumme_Zahlungsziel.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_long_HoeheRechnungssumme" label="Rechnungssumme eingeben" type="long" />
@ -123,7 +123,7 @@
<bpmn:outgoing>Flow_0fpeqn8</bpmn:outgoing>
<bpmn:outgoing>Flow_1wh7ll1</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen">
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen" camunda:formKey="embedded:app:forms/Formalpruefen.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_bool_Formalpruefen" label="Rechnung formal richtig" type="boolean" />
@ -168,7 +168,7 @@
<bpmn:outgoing>Flow_1fwe2w7</bpmn:outgoing>
<bpmn:outgoing>Flow_1mj7tm1</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen">
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen" camunda:formKey="embedded:app:forms/Vorgangpruefen.html">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_bool_Vorgangpruefen" type="boolean" />

View file

@ -1,5 +1,5 @@
#Generated by Maven
#Fri May 29 09:16:28 CEST 2020
#Fri May 29 11:12:35 CEST 2020
version=0.0.1-SNAPSHOT
groupId=com.bpmn
artifactId=Rechnungseingang
version=0.0.1-SNAPSHOT

View file

@ -1,3 +1,4 @@
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\UeberweisungAusfuehren.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.016" errors="0" skipped="0">
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.528" 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\m2conf2034700092123548731.tmp"/>
<property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf6712570229565924703.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.399"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.617"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.313"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.215"/>
</testsuite>

View file

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