Commit Graph

23 Commits

Author SHA1 Message Date
79e097be6f feat(sync): Implement auto-reset for permanently_failed entities and add retry backoff logic
- Added logic to reset permanently_failed entities that have reached their auto-reset threshold in `beteiligte_sync_cron_step.py`.
- Enhanced event handling in `beteiligte_sync_event_step.py` to skip retries if the next retry time has not been reached.
- Introduced validation checks after sync operations to ensure data consistency and integrity.
- Created detailed documentation outlining the fixes and their impacts on the sync process.
- Added scripts for analyzing sync issues and comparing entities to facilitate debugging and validation.
2026-02-08 21:12:00 +00:00
6e0e9a9730 feat: Enhance logging in sync utilities and add code validation script 2026-02-08 20:10:47 +00:00
ebbbf419ee feat: Implement bidirectional synchronization utilities for Advoware and EspoCRM communications
- Added KommunikationSyncManager class to handle synchronization logic.
- Implemented methods for loading data, computing diffs, and applying changes between Advoware and EspoCRM.
- Introduced 3-way diffing mechanism to intelligently resolve conflicts.
- Added helper methods for creating empty slots and detecting changes in communications.
- Enhanced logging for better traceability during synchronization processes.
2026-02-08 19:53:40 +00:00
da9a962858 feat: Integrate NotificationManager for handling notifications in sync operations 2026-02-08 14:42:33 +00:00
c770f2c8ee feat: Implement address synchronization between EspoCRM and Advoware
- Add AdressenMapper for transforming addresses between EspoCRM and Advoware formats.
- Create AdressenSync class to handle address creation, update, and deletion synchronization.
- Introduce NotificationManager for managing manual intervention notifications in case of sync issues.
- Implement detailed logging for address sync operations and error handling.
- Ensure READ-ONLY field changes are detected and notified for manual resolution.
2026-02-08 14:29:29 +00:00
68c8b398aa feat: Implement VMH Bankverbindungen sync handlers and API steps for create, update, and delete operations 2026-02-08 12:49:14 +00:00
709456301c feat: Optimize initial sync logic and remove redundant rowId updates in sync process 2026-02-07 22:38:53 +00:00
d10554ea9d feat: Update dateOfBirth mapping and enhance rowId handling in sync process for Beteiligte 2026-02-07 22:27:29 +00:00
bed3c09bb1 feat: Improve logging and rowId handling in sync process for Advoware and EspoCRM 2026-02-07 21:52:58 +00:00
99fb2e22c7 feat: Enhance mapping logic in BeteiligteMapper for additional fields and improved comments 2026-02-07 21:36:50 +00:00
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
8550107b89 feat: Enhance Advoware API integration with backward compatibility for data payloads and improve logging for sync events 2026-02-07 15:44:56 +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
e6ab22d5f4 feat: Add EspoCRM and Advoware integration for Beteiligte comparison
- Implemented `compare_beteiligte.py` script for comparing Beteiligte structures between EspoCRM and Advoware.
- Created `beteiligte_comparison_result.json` to store comparison results.
- Developed `EspoCRMAPI` service for handling API interactions with EspoCRM.
- Added comprehensive documentation for the EspoCRM API service.
- Included error handling and logging for API operations.
- Enhanced entity management with CRUD operations and search capabilities.
2026-02-07 14:42:58 +00:00
36552903e7 cleanup 2026-02-07 09:23:49 +00:00
root
019a2d4ede Update logging levels: API calls and init messages to debug, keep warnings as warnings and other as info 2025-10-23 11:28:00 +00:00
root
a58e6d10a6 Fix Advoware API call to return None on JSON parse error instead of raising, for methods like DELETE that return 200 with no body. 2025-10-23 10:56:44 +00:00
root
1de5bcd369 Pre-optimization commit: Calendar sync implementation with hub design 2025-10-23 08:29:46 +00:00
root
273aa8b549 Initial commit with Advoware proxy 2025-10-19 14:57:07 +00:00