HappyPath: UseCase
Item | Value |
---|
Briefly | Brief description missing. |
Definition Path | ImprovingApp.GatewayAPI.CreateReservation.HappyPath |
View Source Link | reservationStories.riddl(6:3) |
---
title: UseCase 'HappyPath' in Epic 'CreateReservation'
init:
theme: dark
sequenceDiagram:
messageFontFamily: monospace
forceMenus: true
mirrorActors: false
wrap: true
theme: dark
---
sequenceDiagram
autonumber
participant App as Application 'App'
participant GatewayAPI as Domain 'GatewayAPI'
participant Reservation as Entity 'Reservation'
actor Member as The person that is being enrolled in the app outside a demo
link App: Application @ /improvingapp/gatewayapi/app
link GatewayAPI: Domain @ /improvingapp/gatewayapi
link Reservation: Entity @ /improvingapp/events/reservationcontext/reservation
Member->>App: provides a ReservationId
App->>GatewayAPI: send command EstablishReservation to
GatewayAPI->>Reservation: Create Reservation
Reservation->>ImprovingApp.Events.ReservationContext.ReservationEventsSource: send event ImprovingApp.Events.ReservationContext.ReservationEstablished to
ImprovingApp.Events.ReservationContext.ReservationEventsSource->>App: send event ImprovingApp.Events.ReservationContext.ReservationEstablished to