Skip to main content

Leave Event Catalog

Summary

The verified catalog contains six Leave domain events, six one-to-one outbound integration contracts, and three inbound Employee contracts consumed by Leave.

Audience

Developers, QA, architects, service owners, support, and catalog automation.

Reference Content

Leave domain-to-integration catalog

Domain event / integration contractTriggerProducerConfirmed consumersDeliveryVersionIdempotency expectationMaturitySource
LeaveRequestedDomainEvent / LeaveRequestedEventRequest createdLeave ServiceNoneDomain mapping, outbox, broker1Event-ID based; no consumer yetDirect / Foundation consumptionS1-S3
LeaveApprovedDomainEvent / LeaveApprovedEventInitial/direct/Workflow approvalLeave ServicePayroll, NotificationDomain mapping, outbox, broker1Consumer ledgers; Payroll stalenessTransitionalS1-S5
LeaveRejectedDomainEvent / LeaveRejectedEventDirect/Workflow rejectionLeave ServicePayroll, NotificationDomain mapping, outbox, broker1Consumer ledgers; Payroll stalenessTransitionalS1-S5
LeaveCancelledDomainEvent / LeaveCancelledEventValid cancellationLeave ServicePayrollDomain mapping, outbox, broker1Payroll ledger/stalenessTransitionalS1-S4
LeaveBalanceUpdatedDomainEvent / LeaveBalanceUpdatedEventBalance set/usage/domain Foundation methodsLeave ServiceNoneDomain mapping, outbox, broker1Event-ID expectedDirect / Foundation consumptionS1-S3
LeaveEncashedDomainEvent / LeaveEncashedEventEncashment factory savedLeave ServiceNoneDomain mapping, outbox, broker1Event-ID expectedFoundation producer invocationS1-S3

Inbound Employee projection catalog

ContractTriggerProducerConfirmed consumerDeliveryVersionIdempotency expectationMaturitySource
EmployeeCreatedEventEmployee creationEmployee ServiceLeave projection consumerBroker1Last EventId/time on profileTransitionalS6-S7
EmployeeUpdatedEventEmployee updateEmployee ServiceLeave projection consumerBroker1Last EventId/time on profileTransitionalS6-S7
EmploymentStatusChangedEventEmployment status transitionEmployee ServiceLeave projection consumerBroker1Last EventId/time on profileTransitionalS6-S7

Source keys

KeyRepository-relative source
S1microservices/src/leave-service/Domain/Leave/LeaveDomainEvents.cs
S2microservices/src/contracts/Events/LeaveLifecycleEvents.cs
S3microservices/src/leave-service/Infrastructure/LeaveDbContext.cs
S4microservices/src/payroll-service/Messaging/PayrollReadModelConsumer.cs
S5microservices/src/notification-service/Application/EventNotificationResolver.cs
S6microservices/src/employee-service/Infrastructure/EmployeeDbContext.cs
S7microservices/src/leave-service/Messaging/EmployeeProfileConsumer.cs

Totals: 6 Leave domain types, 6 outbound contracts, 6 mappings, 3 inbound Employee contracts, 2 outbound consumer services, 5 direct outbound consumer subscriptions, and schema version 1 for every documented mapping. A consumer entry denotes source-confirmed subscription, not deployment health.

Source References

  • microservices/src/leave-service/Domain/Leave/LeaveDomainEvents.cs
  • microservices/src/contracts/Events/LeaveLifecycleEvents.cs
  • microservices/src/leave-service/Infrastructure/LeaveDbContext.cs
  • microservices/src/payroll-service/Messaging/PayrollReadModelConsumer.cs
  • microservices/src/notification-service/Application/EventNotificationResolver.cs
  • microservices/src/employee-service/Infrastructure/EmployeeDbContext.cs
  • microservices/src/leave-service/Messaging/EmployeeProfileConsumer.cs

See Also

Keywords

  • Event catalog
  • Consumer subscriptions
  • Schema version

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly