Compare commits
4 commits
office-ale
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 97a6e86a11 | |||
| f2bd7210e6 | |||
| 3c5e5b0546 | |||
| f06adc290c |
18 changed files with 1765 additions and 29 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -1,11 +1,7 @@
|
||||||
FROM imixs/imixs-office-workflow:5.1.1-wildfly-27.0.1.Final-jdk17
|
FROM imixs/imixs-office-workflow:5.1.5-wildfly-29.0.1.Final-jdk17
|
||||||
#FROM imixs/imixs-office-workflow:5.1.0
|
|
||||||
|
|
||||||
# Setup debug configuration
|
|
||||||
# COPY ./docker/configuration/standalone-debug.xml /opt/jboss/wildfly/standalone/configuration/
|
|
||||||
|
|
||||||
COPY ./docker/lucene-core-7.7.3.jar /opt/jboss/
|
|
||||||
|
|
||||||
# Deploy artefact
|
# Deploy artefact
|
||||||
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
||||||
COPY ./*-app/target/*.war /opt/jboss/wildfly/standalone/deployments/
|
# Deploy artefact
|
||||||
|
COPY ./target/*.war /opt/jboss/wildfly/standalone/deployments/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
FROM imixs/imixs-office-workflow:5.1.1-wildfly-27.0.1.Final-jdk17
|
FROM imixs/imixs-office-workflow:5.1.5-wildfly-29.0.1.Final-jdk17
|
||||||
#FROM imixs/imixs-office-workflow:5.1.0
|
|
||||||
|
|
||||||
# Deploy artefact
|
# Deploy artefact
|
||||||
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
||||||
COPY ./*-app/target/*.war /opt/jboss/wildfly/standalone/deployments/
|
COPY ./target/*.war /opt/jboss/wildfly/standalone/deployments/
|
||||||
|
|
||||||
# Run in Debug Mode
|
# Run in Debug Mode
|
||||||
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"]
|
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
## 1.4.0 (Development)
|
## 1.4.0 (Development)
|
||||||
|
|
||||||
- neuer AGLAIInvoiceAdapter
|
- neuer AGLAIInvoiceAdapter
|
||||||
der Adapter `AGLAIInvoiceAdapter` muss künftig in das Import Event der Rechnungseingangs Modelle. Dieser Adapter Findet den Space und den Mandanten.
|
der Adapter `com.alexanderlogistics.AGLAIInvoiceAdapter` muss künftig in das Import Event der Rechnungseingangs Modelle. Dieser Adapter Findet den Space und den Mandanten.
|
||||||
|
|
||||||
Neue Modelle:
|
Neue Modelle:
|
||||||
|
|
||||||
|
|
|
||||||
2
devi
2
devi
|
|
@ -59,7 +59,7 @@ fi
|
||||||
if [[ "$(strip_dash $1)" == "deploy" ]]; then
|
if [[ "$(strip_dash $1)" == "deploy" ]]; then
|
||||||
echo " Deploy to Imixs-Cloud..."
|
echo " Deploy to Imixs-Cloud..."
|
||||||
|
|
||||||
mvn clean install -Pkubernetes -DskipTests
|
mvn clean install -Pimixs-cloud -DskipTests
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
4
docker/.env
Normal file
4
docker/.env
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# LLM Config
|
||||||
|
|
||||||
|
LLM_API_ENDPOINT=https://api.llama.cpp.imixs.com/
|
||||||
|
LLM_API_KEY=7fdb663fa87ea16731c1e0ece8ad3214e358423eabf2403188110c731ce07321
|
||||||
55
docker/keys/imixs-llm.xml
Normal file
55
docker/keys/imixs-llm.xml
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
imixs-llm.xml - LLM Model Registry
|
||||||
|
======================================
|
||||||
|
Place this file in your deployment so it is available on the classpath,
|
||||||
|
e.g. in src/main/resources/ for a Maven project.
|
||||||
|
|
||||||
|
Each <model> element defines one logical LLM service endpoint.
|
||||||
|
A model is either a completion model OR an embedding model - never both.
|
||||||
|
The BPMN configuration references them separately by their id:
|
||||||
|
|
||||||
|
<imixs-ai name="CONDITION">
|
||||||
|
<endpoint>my-llm</endpoint>
|
||||||
|
...
|
||||||
|
</imixs-ai>
|
||||||
|
|
||||||
|
<imixs-ai name="RAG_INDEX">
|
||||||
|
<endpoint-completion>my-llm</endpoint-completion>
|
||||||
|
<endpoint-embeddings>my-embeddings</endpoint-embeddings>
|
||||||
|
...
|
||||||
|
</imixs-ai>
|
||||||
|
|
||||||
|
Environment variable placeholders are supported via ${env.VAR_NAME}.
|
||||||
|
-->
|
||||||
|
<imixs-llm>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Completion model – used for chat completions, conditions, analysis etc.
|
||||||
|
This example connects to a local llama.cpp server.
|
||||||
|
-->
|
||||||
|
<endpoint id="api.llama.cpp.imixs.com">
|
||||||
|
<url>https://api.llama.cpp.imixs.com/</url>
|
||||||
|
<apikey>7fdb663fa87ea16731c1e0ece8ad3214e358423eabf2403188110c731ce07321</apikey>
|
||||||
|
<options>{
|
||||||
|
"temperature": 0.2,
|
||||||
|
"max_tokens": 1024
|
||||||
|
}
|
||||||
|
</options>
|
||||||
|
</endpoint>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Embedding model – used for RAG indexing and retrieval.
|
||||||
|
This example connects to a separate embedding server.
|
||||||
|
No apikey needed for a locally hosted instance.
|
||||||
|
-->
|
||||||
|
<endpoint id="embeddings.llama.cpp.imixs.com">
|
||||||
|
<url>https://embeddings.llama.cpp.imixs.com/</url>
|
||||||
|
<apikey>7fdb663fa87ea16731c1e0ece8ad3214e358423eabf2403188110c731ce07321</apikey>
|
||||||
|
<options>{
|
||||||
|
"max_tokens": 512
|
||||||
|
}
|
||||||
|
</options>
|
||||||
|
</endpoint>
|
||||||
|
|
||||||
|
</imixs-llm>
|
||||||
Binary file not shown.
5
src/test/resources/.env
Normal file
5
src/test/resources/.env
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# secrets used by junit tests
|
||||||
|
|
||||||
|
TENANT_ID=51e2f038-0a96-41be-801d-bb4118aa018e
|
||||||
|
CLIENT_ID=39e9eec5-6939-47dc-9729-3438a9898e63
|
||||||
|
CLIENT_SECRET=0lG8Q~UigK0f7n-cR8SSiSXhVChkBD3Qm1CqvbID
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.498746084Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.008412928Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.565274539Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.058655095Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.473274636Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:14.990608361Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.549495260Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.043150699Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.514998809Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.020009542Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.586373483Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.084962950Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
|
|
||||||
<DataWytworzeniaFa>2026-08-20T11:01:10.574896691Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-08-20T21:54:15.066882675Z</DataWytworzeniaFa>
|
||||||
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1189,6 +1189,7 @@ workitem.getItemValueString('payment.type')=="credit"]]></bpmn2:conditionExpress
|
||||||
<bpmn2:outputSet id="OutputSet_1" name="Output Set 1"/>
|
<bpmn2:outputSet id="OutputSet_1" name="Output Set 1"/>
|
||||||
<bpmn2:linkEventDefinition id="LinkEventDefinition_7" name="Link Event Definition 7"/>
|
<bpmn2:linkEventDefinition id="LinkEventDefinition_7" name="Link Event Definition 7"/>
|
||||||
<bpmn2:incoming>SequenceFlow_0</bpmn2:incoming>
|
<bpmn2:incoming>SequenceFlow_0</bpmn2:incoming>
|
||||||
|
<bpmn2:signalEventDefinition id="signalEventDefinition_aNnJwg" signalRef="signal_2"/>
|
||||||
</bpmn2:intermediateCatchEvent>
|
</bpmn2:intermediateCatchEvent>
|
||||||
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_12" name="BEENDEN">
|
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_12" name="BEENDEN">
|
||||||
<bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>
|
<bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>
|
||||||
|
|
@ -4611,6 +4612,7 @@ if (workitem.getItemValueString('txtcomment')=='') {
|
||||||
<bpmn2:documentation id="documentation_PIebCA"/>
|
<bpmn2:documentation id="documentation_PIebCA"/>
|
||||||
</bpmn2:message>
|
</bpmn2:message>
|
||||||
<bpmn2:signal id="signal_1" name="org.imixs.workflow.sepa.adapter.SEPARefAddAdapter"/>
|
<bpmn2:signal id="signal_1" name="org.imixs.workflow.sepa.adapter.SEPARefAddAdapter"/>
|
||||||
|
<bpmn2:signal id="signal_2" name="com.alexanderlogistics.AGLAIInvoiceAdapter"/>
|
||||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
<bpmndi:BPMNPlane bpmnElement="Collaboration_1" id="BPMNPlane_Process_1">
|
<bpmndi:BPMNPlane bpmnElement="Collaboration_1" id="BPMNPlane_Process_1">
|
||||||
<bpmndi:BPMNShape bpmnElement="Participant_1" id="BPMNShape_Participant_1" isHorizontal="true">
|
<bpmndi:BPMNShape bpmnElement="Participant_1" id="BPMNShape_Participant_1" isHorizontal="true">
|
||||||
|
|
|
||||||
1679
workflow/posteingang-de-3.0.0.bpmn
Normal file
1679
workflow/posteingang-de-3.0.0.bpmn
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -135,7 +135,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
|
||||||
</imixs:item>
|
</imixs:item>
|
||||||
<imixs:item name="txtactivityresult" type="xs:string">
|
<imixs:item name="txtactivityresult" type="xs:string">
|
||||||
<imixs:value><![CDATA[<item name="action">home</item>
|
<imixs:value><![CDATA[<item name="action">home</item>
|
||||||
<item name="process">Empfang</item>
|
<item name="process">Front Desk</item>
|
||||||
]]></imixs:value>
|
]]></imixs:value>
|
||||||
</imixs:item>
|
</imixs:item>
|
||||||
<imixs:item name="txtname" type="xs:string">
|
<imixs:item name="txtname" type="xs:string">
|
||||||
|
|
@ -239,7 +239,6 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
|
||||||
</imixs:item>
|
</imixs:item>
|
||||||
<imixs:item name="txtactivityresult" type="xs:string">
|
<imixs:item name="txtactivityresult" type="xs:string">
|
||||||
<imixs:value><![CDATA[<item name="comment" ignore="true"/>
|
<imixs:value><![CDATA[<item name="comment" ignore="true"/>
|
||||||
<item name="process">Empfang</item>
|
|
||||||
|
|
||||||
<imixs-ocr name="RMETA">
|
<imixs-ocr name="RMETA">
|
||||||
<filepattern>(pdf|PDF|eml|msg)$</filepattern>
|
<filepattern>(pdf|PDF|eml|msg)$</filepattern>
|
||||||
|
|
@ -551,9 +550,8 @@ Company: <itemvalue>document.company</itemvalue><br />]]></imixs:value>
|
||||||
<bpmn.form />
|
<bpmn.form />
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- The Reference Number in the format [2 letters][3 letters][4-digit booking period YYMM][3-digit sequence number] ==> "invoice.positions"
|
- invoice.positions is the Reference Number only in the format AA-BBB-YYMM-SSS (2 uppercase letters + hyphen + 3 uppercase letters + hyphen + 6-digit date (YYYYMM) + hyphen + 3-digit sequence). No deviations allowed! Example: 'KL-MNO-202605-456'. If no reference number is found leave the field blank
|
||||||
- The posting period is the period of the invoice date [YYYYMM] ==> "invoice.period"
|
- invoice.period is the posting period of the invoice date in the format [YYYYMM] . Example '202605'
|
||||||
|
|
||||||
|
|
||||||
<<EXAMPLES_XML>>
|
<<EXAMPLES_XML>>
|
||||||
|
|
||||||
|
|
@ -718,7 +716,6 @@ Note:
|
||||||
<endpoint>api.llama.cpp.imixs.com</endpoint>
|
<endpoint>api.llama.cpp.imixs.com</endpoint>
|
||||||
<result-event>XML</result-event>
|
<result-event>XML</result-event>
|
||||||
</imixs-ai>
|
</imixs-ai>
|
||||||
<item name="process">Empfang</item>
|
|
||||||
|
|
||||||
|
|
||||||
]]></imixs:value>
|
]]></imixs:value>
|
||||||
|
|
@ -1490,8 +1487,8 @@ Note: Output only the XML object! Don't add explanations or comments. Use only t
|
||||||
<bpmndi:BPMNEdge bpmnElement="association_zuMlDA" id="BPMNEdge_Lx0Sxw" sourceElement="BPMNShape_z0cKCQ" targetElement="BPMNShape_g0M0zg">
|
<bpmndi:BPMNEdge bpmnElement="association_zuMlDA" id="BPMNEdge_Lx0Sxw" sourceElement="BPMNShape_z0cKCQ" targetElement="BPMNShape_g0M0zg">
|
||||||
<di:waypoint x="908.0" y="620.0"/>
|
<di:waypoint x="908.0" y="620.0"/>
|
||||||
<di:waypoint x="908.0" y="592.0"/>
|
<di:waypoint x="908.0" y="592.0"/>
|
||||||
<di:waypoint x="927.0" y="592.0"/>
|
<di:waypoint x="925.0" y="592.0"/>
|
||||||
<di:waypoint x="927.0" y="563.0"/>
|
<di:waypoint x="925.0" y="563.0"/>
|
||||||
</bpmndi:BPMNEdge>
|
</bpmndi:BPMNEdge>
|
||||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_naZnAA" id="BPMNEdge_p0VSbQ" sourceElement="BPMNShape_g0M0zg" targetElement="BPMNShape_UxYL0A">
|
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_naZnAA" id="BPMNEdge_p0VSbQ" sourceElement="BPMNShape_g0M0zg" targetElement="BPMNShape_UxYL0A">
|
||||||
<di:waypoint x="943.0" y="545.0"/>
|
<di:waypoint x="943.0" y="545.0"/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue