Service Layer medium complexity backend
1
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Manages the registry of available accounting connector modules and their per-organization configuration. Resolves which connector type is active for a given organization, validates credential completeness, and returns integration health status for display in the admin portal.

Feature: Accounting System Integration

connector-registry-service

Responsibilities

  • Maintain the registry of installed connector modules and their metadata
  • Resolve the active connector type for a given organization from stored configuration
  • Validate that required credentials and endpoint fields are present before enabling dispatch
  • Return integration health status (last push timestamp, error counts) per organization

Interfaces

getActiveConnector(orgId: string): ConnectorDescriptor | null
validateConnectorConfig(orgId: string): ValidationResult
getIntegrationHealth(orgId: string): IntegrationHealthStatus
registerConnector(descriptor: ConnectorDescriptor): void
listAvailableConnectors(): ConnectorDescriptor[]

Relationships

Dependencies (1)

Components this component depends on