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")
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user