Integration Configuration Service
Component Detail
Service Layer
high complexity
backend
3
Dependencies
3
Dependents
7
Entities
1
Integrations
Description
Core backend service handling CRUD operations for organization integration configurations. Orchestrates saving integration metadata, credential references, field mappings, and sync schedules. Enforces one-integration-per-type-per-organization constraints.
integration-config-service
Responsibilities
- Create, read, update, and delete organization integration records
- Validate integration type and organization-scoped uniqueness constraints
- Coordinate credential storage with the vault client and field mapping persistence
Interfaces
createIntegration(orgId: string, config: OrgIntegrationConfig): Promise<OrgIntegration>
getIntegration(orgId: string, integrationId: string): Promise<OrgIntegration>
listIntegrations(orgId: string): Promise<OrgIntegration[]>
updateIntegration(integrationId: string, patch: Partial<OrgIntegrationConfig>): Promise<OrgIntegration>
deleteIntegration(integrationId: string): Promise<void>
validateIntegrationConfig(config: OrgIntegrationConfig): ValidationResult
testConnectivity(integrationId: string): Promise<ConnectionTestResult>
Relationships
Dependencies (3)
Components this component depends on
Dependents (3)
Components that depend on this component
Related Data Entities (7)
Data entities managed by this component
Used Integrations (1)
External integrations and APIs this component relies on