Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 1 | @startuml |
| 2 | |
| 3 | skinparam backgroundColor #EEEBDC |
| 4 | title AMALTHEA model migration |
| 5 | autonumber |
| 6 | |
| 7 | actor User #green |
| 8 | |
| 9 | box "ModelLoaderJob" #LightBlue |
| 10 | participant XMLLoader |
| 11 | participant Referred_Models |
| 12 | end box |
| 13 | |
| 14 | User -> XMLLoader : AMALTHEA model files \n to be migrated |
| 15 | |
| 16 | XMLLoader --> Referred_Models : Identifying \nreferred AMALTHEA models |
| 17 | |
| 18 | Referred_Models -> User : list of explicit & implicit \nAMALTHEA model files which shall be migrated |
| 19 | |
| 20 | User -> Model_Migration : invocation of model migration by specifying output model version |
| 21 | |
| 22 | box "ModelMigrationJob" #LightGreen |
| 23 | participant PreProcessors |
| 24 | participant Migration_Step |
| 25 | participant CacheBuilders |
| 26 | participant Converters |
| 27 | participant PostProcessors |
| 28 | participant Model_Save |
| 29 | |
| 30 | end box |
| 31 | |
| 32 | Model_Migration --> PreProcessors : invocation of pre-processors \n configured for \n input model version |
| 33 | |
| 34 | Model_Migration --> Migration_Step: (1-*) based on input and output model versions, \n dynamically migration steps are created |
| 35 | |
| 36 | loop migration step execution (1-*) |
| 37 | |
| 38 | Migration_Step --> CacheBuilders : building of cache |
| 39 | Migration_Step --> Converters : invocation of converters\n configured \nfor the migration step |
| 40 | Migration_Step --> PostProcessors : invocation of post processors configured \nfor the migration step |
| 41 | |
| 42 | end |
| 43 | Migration_Step --> Model_Save : saving of migrated models \n (after all migration steps are completed) |
| 44 | Migration_Step -->Model_Migration : completion of all migration steps |
| 45 | |
| 46 | Model_Migration -> User : model migration completed |
| 47 | |
| 48 | @enduml |