Skip to content

Integration

Helpdesk has an unusually thin integration surface: it makes no synchronous outbound HTTP calls to sister microservices and consumes/produces no Kafka. Cross-domain data is read via repositories shipped inside @nx/core, and authentication trusts the identity issuer's JWKS.

1. Sister Services

Direction: calls / called by / bidir.

SisterDirectionSurfaceContractAuthNotes
@nx/identityJWKS endpointJWT verification (VerifierApplication)Verifies access tokens; never issues
@nx/core (library)ProductRepository, SaleOrderRepositoryin-process Drizzle readsDBContext enrichment reads product & sale-order rows directly from shared DB schemas

There is no Kafka topic exchange and no REST client to @nx/sale, @nx/payment, etc. The dependencies.services list in app-info.json (identity, payment, commerce, inventory, signal) is declarative metadata, not wired runtime calls.

2. External Systems

SystemDirectionSurfaceAuthFailure Mode
SMTP serverNodemailerComponentSMTP user/password (env)Notification job retries (BullMQ, up to 5 attempts)
Object/file storageFileStorageHelperper deploymentAttachment upload/fetch

3. Critical Cross-Service Flows

3.1 Ticket context enrichment (read from core repositories)

StepDetail
2-5No network hop — @nx/core repositories read the shared DB
6Enriched JSON stored on Ticket.context so agents see order/product without querying other services

4. Contract Stability

SurfaceStabilityVersioning
REST /v1/api/helpdesk/*betaURL /v1/
WebSocket observation/helpdeskbetatopic path
In-process events (TicketEventTypes)internalnot externally versioned
@nx/core repository readsfollows coreworkspace:*

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.