chore: Projekt und Build-Artefakte in Workflow Editor umbenannt
This commit is contained in:
1 parent
f979c797ba
commit
19d97a47b5
10 files changed
+15
-14
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
FROM eclipse-temurin:21-jre
|
FROM eclipse-temurin:21-jre
|
||||||
|
|
||||||
ARG JAR_FILE=target/*.jar
|
ARG JAR_FILE=target/workflow-editor-*.jar
|
||||||
|
|
||||||
# Zeitzone auf Berlin setzen und 24h-Format konfigurieren
|
# Zeitzone auf Berlin setzen und 24h-Format konfigurieren
|
||||||
ENV TZ=Europe/Berlin
|
ENV TZ=Europe/Berlin
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Workflow Editor (TaskList Editor)
|
# Workflow Editor
|
||||||
|
|
||||||
n8n-inspirierter Editor zum Erstellen von Aufgabenlisten (Tasks) für die
|
n8n-inspirierter Editor zum Erstellen von Aufgabenlisten (Tasks) für die
|
||||||
stadtbote-App. Funktionsblöcke werden per Drag & Drop auf einem Canvas
|
stadtbote-App. Funktionsblöcke werden per Drag & Drop auf einem Canvas
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ echo "Verwende Release-Version ${VERSION}."
|
|||||||
echo "Baue Production-JAR für Version ${VERSION} ..."
|
echo "Baue Production-JAR für Version ${VERSION} ..."
|
||||||
(cd "${BACKEND_DIR}" && ./mvnw -Pproduction -DskipTests package)
|
(cd "${BACKEND_DIR}" && ./mvnw -Pproduction -DskipTests package)
|
||||||
|
|
||||||
JAR_FILE_REL="target/tasklist-editor-${POM_VERSION}.jar"
|
JAR_FILE_REL="target/workflow-editor-${POM_VERSION}.jar"
|
||||||
JAR_FILE_ABS="${BACKEND_DIR}/${JAR_FILE_REL}"
|
JAR_FILE_ABS="${BACKEND_DIR}/${JAR_FILE_REL}"
|
||||||
[[ -f "${JAR_FILE_ABS}" ]] || fail "Release-JAR wurde nicht gefunden: ${JAR_FILE_ABS}"
|
[[ -f "${JAR_FILE_ABS}" ]] || fail "Release-JAR wurde nicht gefunden: ${JAR_FILE_ABS}"
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "no-name",
|
"name": "workflow-editor",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "no-name",
|
"name": "workflow-editor",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polymer/polymer": "3.5.2",
|
"@polymer/polymer": "3.5.2",
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "no-name",
|
"name": "workflow-editor",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>de.assecutor</groupId>
|
<groupId>de.assecutor</groupId>
|
||||||
<artifactId>tasklist-editor</artifactId>
|
<artifactId>workflow-editor</artifactId>
|
||||||
<version>0.9.3</version>
|
<version>0.9.3</version>
|
||||||
<name>TaskList Editor</name>
|
<name>Workflow Editor</name>
|
||||||
<description>n8n-inspired editor for task list workflows</description>
|
<description>n8n-inspired editor for task list workflows</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
server.port=8080
|
server.port=8080
|
||||||
|
spring.application.name=workflow-editor
|
||||||
|
|
||||||
# Anwendungsversion: wird beim Build per Maven-Resource-Filtering
|
# Anwendungsversion: wird beim Build per Maven-Resource-Filtering
|
||||||
# (spring-boot-starter-parent, @...@-Delimiter) aus der pom.xml gefüllt.
|
# (spring-boot-starter-parent, @...@-Delimiter) aus der pom.xml gefüllt.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>TaskList Editor · Testaufrufer</title>
|
<title>Workflow Editor · Testaufrufer</title>
|
||||||
<style>
|
<style>
|
||||||
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172033; background: #f3f5f9; }
|
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172033; background: #f3f5f9; }
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<h1>TaskList Editor testen</h1>
|
<h1>Workflow Editor testen</h1>
|
||||||
<p class="muted">Tasks, eigene Typen und Metadaten übergeben, im Editor bearbeiten und das Ergebnis in der Python-Konsole lesen.</p>
|
<p class="muted">Tasks, eigene Typen und Metadaten übergeben, im Editor bearbeiten und das Ergebnis in der Python-Konsole lesen.</p>
|
||||||
<p class="muted" id="editor-url">Verbindung wird vorbereitet …</p>
|
<p class="muted" id="editor-url">Verbindung wird vorbereitet …</p>
|
||||||
<section>
|
<section>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<p id="editor-status" role="status" aria-live="polite">Mit „Fertig“ übernehmen oder mit „Abbrechen“ ohne Änderungen zurückkehren.</p>
|
<p id="editor-status" role="status" aria-live="polite">Mit „Fertig“ übernehmen oder mit „Abbrechen“ ohne Änderungen zurückkehren.</p>
|
||||||
<button id="retry" hidden>Rückgabe erneut senden</button>
|
<button id="retry" hidden>Rückgabe erneut senden</button>
|
||||||
</div>
|
</div>
|
||||||
<iframe id="editor" title="TaskList Editor"></iframe>
|
<iframe id="editor" title="Workflow Editor"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Lokaler Aufrufer für den TaskList Editor; benötigt nur Python 3.9+.
|
"""Lokaler Aufrufer für den Workflow Editor; benötigt nur Python 3.9+.
|
||||||
|
|
||||||
Start: python3 tools/editor_test_server.py --json tools/example_tasks.json
|
Start: python3 tools/editor_test_server.py --json tools/example_tasks.json
|
||||||
Der Editor muss separat laufen (standardmäßig http://127.0.0.1:8080).
|
Der Editor muss separat laufen (standardmäßig http://127.0.0.1:8080).
|
||||||
@@ -172,7 +172,7 @@ class EditorTestServer(ThreadingHTTPServer):
|
|||||||
|
|
||||||
|
|
||||||
class EditorTestHandler(BaseHTTPRequestHandler):
|
class EditorTestHandler(BaseHTTPRequestHandler):
|
||||||
server_version = "TaskListTestServer/1.0"
|
server_version = "WorkflowEditorTestServer/1.0"
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
super().setup()
|
super().setup()
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ class TestEditorTestServer(unittest.TestCase):
|
|||||||
def test_page_and_config(self):
|
def test_page_and_config(self):
|
||||||
status, body = self.request("GET", "/")
|
status, body = self.request("GET", "/")
|
||||||
self.assertEqual(status, 200)
|
self.assertEqual(status, 200)
|
||||||
self.assertIn(b"TaskList Editor testen", body)
|
self.assertIn(b"Workflow Editor testen", body)
|
||||||
status, config = self.request("GET", "/api/config")
|
status, config = self.request("GET", "/api/config")
|
||||||
self.assertEqual(status, 200)
|
self.assertEqual(status, 200)
|
||||||
self.assertEqual(config["editorOrigin"], self.editor.origin)
|
self.assertEqual(config["editorOrigin"], self.editor.origin)
|
||||||
|
|||||||
Reference in new issue
Block a user