adb-tickets (external)
AI-generated content
This document was generated by an AI assistant. Verify accuracy before relying on the details.
Outside the monorepo
The source code of adb-tickets is not in this monorepo. The service is nevertheless active and deployed, with its code living in a separate git repository (likely to be integrated later).
Role
Service that manages tickets / interventions: reports, maintenance requests, intervention tracking on properties. Includes a ticket-events system that records the history.
Status in the monorepo
| Item | State |
|---|---|
| Top-level folder | ❌ |
FQDN defined in adb-common | ✓ TICKETS = http://adb-tickets |
| Helm chart | ✓ adb-charts/charts/services/templates/adb-tickets.yaml |
| Ingress route | ✓ /tickets |
Nginx route (adb/proxy/) | ✓ location /tickets |
| Associated doc | ✓ technical-epics/tickets/i-have-ticket-details.md |
| Artillery tests | ✓ ticket creation scenarios |
| Listed in release script | ✓ |
Connections
flowchart LR
tickets[adb-tickets<br/>external]
aggregates[adb-aggregates] -->|TicketsClient<br/>GET /tickets?q=...| tickets
views[adb-views] -.SQS<br/>onTicketModified<br/>onTicketEventModified.-> tickets
adbgraph[adb-graph] -. "RabbitMQ<br/>tickets.graph" .-> tickets
ui[adb-ui] -->|/tickets/...| tickets
web[adb-web/bff] --> tickets
notes[/notes route<br/>deprecated/] -.redirect.-> tickets
Consumers
- adb-aggregates: calls
GET /tickets?q=...for cross-service search (viaTicketsClientinadb-common). - adb-views: consumes the
onTicketModifiedandonTicketEventModifiedevents through SQS to maintain dashboard projections. - adb-graph: consumes RabbitMQ events via the
adb-tickets-xexchange (queuetickets.graph). - adb-ui / adb-web: direct calls through the gateway.
Outbound dependencies
Unknown (source code not available in the monorepo). Likely consumes adb-persons, adb-parts, adb-files.
Migration from adb-notes
During release R4, the notes feature was migrated to adb-tickets:
- MongoDB data exported from
adb-notesthen imported intoadb-tickets. - Kubernetes service
adb-notesremoved. - Ingress route
/notesnow redirects toadb-tickets.
See adb-notes for the details.
RabbitMQ configuration (legacy)
Documented in adb-charts/mq.md:
- Exchange:
adb-tickets-x(headers exchange). - Consumer:
adb-graphvia the queuetickets.graph. - DLX:
adb-tickets-dlx.
Configuration & deployment
Helm chart adb-charts/charts/services/templates/adb-tickets.yaml:
- Docker image:
lifeconnect/adb-tickets - Standard env variables (MongoDB URI, Keycloak, AWS).
To do
- [ ] Integrate the source code of
adb-ticketsinto the monorepo. - [ ] Document the controllers and the data model once the code is available.