External Portal Service
Component Detail
Service Layer
high complexity
backend
2
Dependencies
1
Dependents
4
Entities
0
Integrations
Description
Core business logic service behind an abstract ExternalPortalService interface that orchestrates data synchronization between Meander and external portals (initially HLF Dynamics). Manages bidirectional sync operations, conflict resolution, idempotent processing, and retry logic for failed sync attempts. All operations are logged to the audit log for traceability.
external-portal-service
Responsibilities
- Orchestrate bidirectional data synchronization between Meander and the external Dynamics portal
- Implement idempotent sync operations with conflict detection and resolution strategies
- Manage retry queue for failed synchronizations with exponential backoff
- Validate and transform data between Meander and external portal schemas
- Log all sync operations to the audit log for compliance and debugging
Interfaces
syncToExternalPortal(entityType, data)
syncFromExternalPortal(entityType, filters)
getConnectionStatus(organizationId)
testConnection(credentials)
saveConnectionSettings(organizationId, settings)
getConnectionSettings(organizationId)
getSyncHistory(organizationId, filters)
retryFailedSync(syncId)
getRetryQueue(organizationId)
resolveConflict(conflictId, resolution)
validateExternalData(entityType, data)
transformToExternalSchema(entityType, data)
transformFromExternalSchema(entityType, data)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (4)
Data entities managed by this component