Skip to main content

Leave Integration Reference

Summary

Leave integrates synchronously and asynchronously with seven confirmed or transitional boundaries.

Audience

Developers, QA, support, architects, service owners, and implementation partners.

Reference Content

BoundaryConfirmed relationshipDetail
EmployeeConsumes created, updated, and employment-status events into a local projectionEmployee profile events
AttendanceSynchronous conflict checks; calendar ownership overlapAttendance integration
WorkflowOptional start/callback decision orchestrationWorkflow integration
PayrollConsumes confirmed Leave lifecycle effects into a read modelPayroll events
NotificationConfirmed approval/rejection resolution; not every eventNotification events
GatewayDirect and compatibility routing during ownership transitionGateway interaction
MessagingTransactional outbox publication and Employee-event consumptionEvents

Payloads, endpoint tables, and database mappings remain in their dedicated sections.

Source References

  • microservices/src/leave-service/Program.cs
  • microservices/src/leave-service/Messaging/EmployeeProfileConsumer.cs
  • microservices/src/leave-service/Infrastructure/AttendanceServiceConflictClient.cs
  • microservices/src/leave-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/gateway-api/Program.cs

See Also

Keywords

  • Leave reference
  • Leave Integration Reference
  • Workforce management

Revision Information

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