Commit Graph

6 Commits

Author SHA1 Message Date
3d3014750f feat: Enhance sync conflict detection and resolution logic in BeteiligteSync class 2026-02-07 20:04:58 +00:00
101f290293 feat: Implement entity comparison logic for improved sync detection between EspoCRM and Advoware 2026-02-07 19:41:20 +00:00
46f9301a17 feat: Update advowareLastSync to use EspoCRM datetime format for consistency in sync operations 2026-02-07 19:14:57 +00:00
3354aef936 feat: Refactor webhook handlers for Beteiligte to improve ID processing and logging, and enhance update filtering logic 2026-02-07 18:53:54 +00:00
ae1d96f767 Add sync strategy documentation and templates for bidirectional sync between EspoCRM and Advoware
- Introduced SYNC_STRATEGY_ARCHIVE.md detailing the sync process, status values, and flow for updating entities from EspoCRM to Advoware and vice versa.
- Created SYNC_TEMPLATE.md as a guide for implementing new syncs, including field definitions, mapper examples, sync utilities, event handlers, and cron jobs.
- Added README_SYNC.md for the Beteiligte sync event handler, outlining its functionality, event subscriptions, optimizations, error handling, and performance metrics.
2026-02-07 15:54:13 +00:00
b5abe6cf00 Implement EspoCRM-based sync strategy for Beteiligte entities
- Add SYNC_STRATEGY_ESPOCRM_BASED.md detailing the sync flows and status management.
- Create utilities for sync operations in services/beteiligte_sync_utils.py, including locking, timestamp comparison, conflict resolution, and notification handling.
- Implement entity mapping between EspoCRM and Advoware in services/espocrm_mapper.py.
- Develop a cron job for periodic sync checks in steps/vmh/beteiligte_sync_cron_step.py, emitting events for entities needing synchronization.
2026-02-07 15:21:16 +00:00