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.

Feature: External System Integration Configuration

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>

Used Integrations (1)

External integrations and APIs this component relies on