File:Saga pattern-UML.png
| Uploaded by | UlrichAAB |
|---|---|
| Upload date | 2018-08-29T07:42:48Z |
| MIME type | image/png |
| Dimensions | 844 × 903 px |
| File size | 77.1 KB |
Summary
| Description |
English: Example of Saga design pattern in UML representation |
| Date | |
| Source | Own work |
| Author | UlrichAAB |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
PlantUML Souce Code
this png was create via this PlantUML code:
<uml>
skinparam activity {
BackgroundColor<< unsuccessful >> IndianRed
BackgroundColor<< successful >> LightGreen
}
partition operations {
(*) --> "book hotel"
if hotel booking\nsuccessful? then
-->[yes] "book\nrental car"
if car booking\nsuccessful? then
-->[yes] "book flight"
if flight booking\nsuccessful? then
-->[yes] successful <<successful>>
else
}
partition "compensation operations 3" {
->[no] "cancel flight (3)"
-> "cancel rental car (3)"
-> "cancel hotel (3)"
-> failed (3)<<unsuccessful>>
}
endif
else
partition "compensation operations 2" {
->[no] "cancel rental car (2)"
-> "cancel hotel (2)"
-> failed (2)<<unsuccessful>>
}
endif
else
partition "compensation operations 1" {
->[no] "cancel hotel (1)"
-> failed (1)<<unsuccessful>>
}
endif
</uml>