feierabend2

This commit is contained in:
Philipp 2020-05-27 21:26:01 +02:00
parent a268678f34
commit fc0df83601
19 changed files with 66 additions and 46 deletions

View file

@ -10,13 +10,13 @@
<text></text> <text></text>
</inputExpression> </inputExpression>
</input> </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"> <rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1"> <inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text> <text>&gt;= 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej"> <outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text> <text>false</text>
</outputEntry> </outputEntry>
</rule> </rule>
<rule id="DecisionRule_1d2vc9q"> <rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text> <text>&lt; 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_03m0upc"> <outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text> <text>true</text>
</outputEntry> </outputEntry>
</rule> </rule>
</decisionTable> </decisionTable>

View file

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

View file

@ -1,3 +1,19 @@
<form> <form>
<embed src="{{ camForm.variableManager.variable('Eingangsrechnung').contentUrl }}" width="500" height="375" type="application/pdf"> <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> </form>

View file

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

View file

@ -10,13 +10,13 @@
<text></text> <text></text>
</inputExpression> </inputExpression>
</input> </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"> <rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1"> <inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text> <text>&gt;= 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej"> <outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text> <text>false</text>
</outputEntry> </outputEntry>
</rule> </rule>
<rule id="DecisionRule_1d2vc9q"> <rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text> <text>&lt; 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_03m0upc"> <outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text> <text>true</text>
</outputEntry> </outputEntry>
</rule> </rule>
</decisionTable> </decisionTable>

View file

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

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

View file

@ -10,13 +10,13 @@
<text></text> <text></text>
</inputExpression> </inputExpression>
</input> </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"> <rule id="DecisionRule_1au5576">
<inputEntry id="UnaryTests_165kca1"> <inputEntry id="UnaryTests_165kca1">
<text>&gt;= 10000</text> <text>&gt;= 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_1ooh9ej"> <outputEntry id="LiteralExpression_1ooh9ej">
<text>"false"</text> <text>false</text>
</outputEntry> </outputEntry>
</rule> </rule>
<rule id="DecisionRule_1d2vc9q"> <rule id="DecisionRule_1d2vc9q">
@ -24,7 +24,7 @@
<text>&lt; 10000</text> <text>&lt; 10000</text>
</inputEntry> </inputEntry>
<outputEntry id="LiteralExpression_03m0upc"> <outputEntry id="LiteralExpression_03m0upc">
<text>"true"</text> <text>true</text>
</outputEntry> </outputEntry>
</rule> </rule>
</decisionTable> </decisionTable>

View file

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

View file

@ -1,5 +1,5 @@
#Generated by Maven #Generated by Maven
#Wed May 27 20:24:10 CEST 2020 #Wed May 27 21:22:34 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,3 +1,3 @@
C:\Users\schmi\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\BerechnungZahlungsziel.java
C:\Users\schmi\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\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\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,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.487" errors="0" skipped="0"> <testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.757" 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\m2conf3644968074099014379.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="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.211"/> <testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.535"/>
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.276"/> <testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.222"/>
</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: 10.362 sec Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.489 sec