Update flow names for Advoware and VMH steps to improve clarity and organization
This commit is contained in:
@@ -25,7 +25,7 @@ from services.advoware_service import AdvowareService
|
||||
config = {
|
||||
'name': 'Calendar Sync All Step',
|
||||
'description': 'Receives sync-all event and emits individual events for oldest employees',
|
||||
'flows': ['advoware'],
|
||||
'flows': ['advoware-calendar-sync'],
|
||||
'triggers': [
|
||||
queue('calendar_sync_all')
|
||||
],
|
||||
|
||||
@@ -15,7 +15,7 @@ from motia import http, ApiRequest, ApiResponse, FlowContext
|
||||
config = {
|
||||
'name': 'Calendar Sync API Trigger',
|
||||
'description': 'API endpoint for manual calendar sync triggering',
|
||||
'flows': ['advoware'],
|
||||
'flows': ['advoware-calendar-sync'],
|
||||
'triggers': [
|
||||
http('POST', '/advoware/calendar/sync')
|
||||
],
|
||||
|
||||
@@ -15,7 +15,7 @@ from motia import cron, FlowContext
|
||||
config = {
|
||||
'name': 'Calendar Sync Cron Job',
|
||||
'description': 'Runs calendar sync automatically every 15 minutes',
|
||||
'flows': ['advoware'],
|
||||
'flows': ['advoware-calendar-sync'],
|
||||
'triggers': [
|
||||
cron("0 */15 * * * *") # Every 15 minutes (6-field: sec min hour day month weekday)
|
||||
],
|
||||
|
||||
@@ -937,7 +937,7 @@ async def process_updates(state, conn, service, calendar_id: str, kuerzel: str,
|
||||
config = {
|
||||
"name": "Calendar Sync Event Step",
|
||||
"description": "Handles bidirectional calendar sync between Advoware and Google Calendar using Postgres as hub",
|
||||
"flows": ["advoware"],
|
||||
"flows": ["advoware-calendar-sync"],
|
||||
"triggers": [
|
||||
queue("calendar_sync_employee")
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@ from services.advoware import AdvowareAPI
|
||||
config = {
|
||||
"name": "Advoware Proxy DELETE",
|
||||
"description": "Universal proxy for Advoware API (DELETE requests)",
|
||||
"flows": ["advoware"],
|
||||
"flows": ["advoware-proxy"],
|
||||
"triggers": [
|
||||
http("DELETE", "/advoware/proxy")
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@ from services.advoware import AdvowareAPI
|
||||
config = {
|
||||
"name": "Advoware Proxy GET",
|
||||
"description": "Universal proxy for Advoware API (GET requests)",
|
||||
"flows": ["advoware"],
|
||||
"flows": ["advoware-proxy"],
|
||||
"triggers": [
|
||||
http("GET", "/advoware/proxy")
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@ from services.advoware import AdvowareAPI
|
||||
config = {
|
||||
"name": "Advoware Proxy POST",
|
||||
"description": "Universal proxy for Advoware API (POST requests)",
|
||||
"flows": ["advoware"],
|
||||
"flows": ["advoware-proxy"],
|
||||
"triggers": [
|
||||
http("POST", "/advoware/proxy")
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@ from services.advoware import AdvowareAPI
|
||||
config = {
|
||||
"name": "Advoware Proxy PUT",
|
||||
"description": "Universal proxy for Advoware API (PUT requests)",
|
||||
"flows": ["advoware"],
|
||||
"flows": ["advoware-proxy"],
|
||||
"triggers": [
|
||||
http("PUT", "/advoware/proxy")
|
||||
],
|
||||
|
||||
@@ -23,7 +23,7 @@ import os
|
||||
config = {
|
||||
"name": "VMH Bankverbindungen Sync Handler",
|
||||
"description": "Zentraler Sync-Handler für Bankverbindungen (Webhooks + Cron Events)",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-bankverbindungen"],
|
||||
"triggers": [
|
||||
{"type": "queue", "topic": "vmh.bankverbindungen.create"},
|
||||
{"type": "queue", "topic": "vmh.bankverbindungen.update"},
|
||||
|
||||
@@ -17,7 +17,7 @@ import datetime
|
||||
config = {
|
||||
"name": "VMH Beteiligte Sync Cron",
|
||||
"description": "Prüft alle 15 Minuten welche Beteiligte synchronisiert werden müssen",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-beteiligte"],
|
||||
"triggers": [
|
||||
cron("0 */15 * * * *") # Alle 15 Minuten (6-field format!)
|
||||
],
|
||||
|
||||
@@ -24,7 +24,7 @@ import os
|
||||
config = {
|
||||
"name": "VMH Beteiligte Sync Handler",
|
||||
"description": "Zentraler Sync-Handler für Beteiligte (Webhooks + Cron Events)",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-beteiligte"],
|
||||
"triggers": [
|
||||
{"type": "queue", "topic": "vmh.beteiligte.create"},
|
||||
{"type": "queue", "topic": "vmh.beteiligte.update"},
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Bankverbindungen Create",
|
||||
"description": "Empfängt Create-Webhooks von EspoCRM für Bankverbindungen",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-bankverbindungen"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/bankverbindungen/create")
|
||||
],
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Bankverbindungen Delete",
|
||||
"description": "Empfängt Delete-Webhooks von EspoCRM für Bankverbindungen",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-bankverbindungen"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/bankverbindungen/delete")
|
||||
],
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Bankverbindungen Update",
|
||||
"description": "Empfängt Update-Webhooks von EspoCRM für Bankverbindungen",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-bankverbindungen"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/bankverbindungen/update")
|
||||
],
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Beteiligte Create",
|
||||
"description": "Empfängt Create-Webhooks von EspoCRM für Beteiligte",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-beteiligte"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/beteiligte/create")
|
||||
],
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Beteiligte Delete",
|
||||
"description": "Empfängt Delete-Webhooks von EspoCRM für Beteiligte",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-beteiligte"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/beteiligte/delete")
|
||||
],
|
||||
|
||||
@@ -8,7 +8,7 @@ from motia import FlowContext, http, ApiRequest, ApiResponse
|
||||
config = {
|
||||
"name": "VMH Webhook Beteiligte Update",
|
||||
"description": "Empfängt Update-Webhooks von EspoCRM für Beteiligte",
|
||||
"flows": ["vmh"],
|
||||
"flows": ["vmh-beteiligte"],
|
||||
"triggers": [
|
||||
http("POST", "/vmh/webhook/beteiligte/update")
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user