Skip to content

Commit

Permalink
Update planned-trip-activity-diagram.plantuml
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinvandenbelt authored Oct 26, 2022
1 parent d4f6c14 commit 8168399
Showing 1 changed file with 31 additions and 17 deletions.
48 changes: 31 additions & 17 deletions plantuml/planned-trip-activity-diagram.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,41 @@ floating note right: Green nodes are \nimplemented by TOMP API

partition "planning process" {
:Create routes;
#green:Search TOs;
note right
operator module
end note
#green:Find out availability TOs;
note right
/planning/inquiries
end note
#green:Prebook best routes;
note right
/planning/offers
end note
#green:Search TOs for legs;
repeat
if (offer required) then (yes)
#green:Find out availability TOs;
note right
/planning/inquiries
end note
#green:Prebook best routes;
note right
/planning/offers
end note
else (no)
:fetch external information\nfrom TO;
endif
repeat while(last TO?) is (no)
->:yes;
}

:Propose best trips to end user;

partition "booking process" {
#green:Book leg per TO;
note right
/bookings/
end note
repeat
if (offer required) then (yes)
#green:Book leg;
note right
/bookings/
end note
else (no)
#green:One stop booking leg;
note right
/bookings/one-stop
end note
endif
repeat while(last TO?) is (no)
->:yes;
#green:Commit legs;
note right
/bookings/{id}/events COMMIT
Expand Down Expand Up @@ -57,4 +71,4 @@ end note

stop

@enduml
@enduml

0 comments on commit 8168399

Please sign in to comment.