-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtransporteo_state_machine.yml
113 lines (113 loc) · 5.31 KB
/
transporteo_state_machine.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
workflows:
transporteo:
type: 'state_machine'
audit_trail:
enabled: false
marking_store:
type: 'single_state'
arguments:
- 'currentState'
supports:
- 'Akeneo\PimMigration\Domain\TransporteoStateMachine'
places:
- 'ready'
- 'source_pim_location_guessed'
- 'source_pim_configured'
- 'source_pim_api_configured'
- 'source_pim_detected'
- 'destination_pim_location_guessed'
- 'destination_pim_downloaded'
- 'destination_pim_pre_configured'
- 'destination_pim_configured'
- 'destination_pim_api_configured'
- 'destination_pim_detected'
- 'destination_pim_requirements_checked'
- 'destination_pim_system_requirements_installed'
- 'destination_pim_file_database_migrated'
- 'destination_pim_structure_migrated'
- 'destination_pim_family_migrated'
- 'destination_pim_system_migrated'
- 'destination_pim_job_migrated'
- 'destination_pim_group_migrated'
- 'destination_pim_extra_data_migrated'
- 'destination_pim_enterprise_edition_data_migrated'
- 'destination_pim_reference_data_migrated'
- 'destination_pim_product_migrated'
- 'destination_pim_product_variation_migrated'
- 'migration_finished'
transitions:
ask_source_pim_location:
from: 'ready'
to: 'source_pim_location_guessed'
local_source_pim_configuration:
from: 'source_pim_location_guessed'
to: 'source_pim_configured'
distant_source_pim_configuration:
from: 'source_pim_location_guessed'
to: 'source_pim_configured'
source_pim_api_configuration:
from: 'source_pim_configured'
to: 'source_pim_api_configured'
source_pim_detection:
from: 'source_pim_api_configured'
to: 'source_pim_detected'
ask_destination_pim_location:
from: 'source_pim_detected'
to: 'destination_pim_location_guessed'
download_destination_pim:
from: 'destination_pim_location_guessed'
to: 'destination_pim_downloaded'
destination_pim_pre_configuration:
from: 'destination_pim_downloaded'
to: 'destination_pim_pre_configured'
destination_pim_configuration:
from: ['destination_pim_downloaded', 'destination_pim_pre_configured']
to: 'destination_pim_configured'
destination_pim_api_configuration:
from: 'destination_pim_configured'
to: 'destination_pim_api_configured'
destination_pim_detection:
from: 'destination_pim_api_configured'
to: 'destination_pim_detected'
destination_pim_check_requirements:
from: 'destination_pim_detected'
to: 'destination_pim_requirements_checked'
local_destination_pim_system_requirements_installation:
from: 'destination_pim_requirements_checked'
to: 'destination_pim_system_requirements_installed'
destination_pim_file_database_migration:
from: 'destination_pim_system_requirements_installed'
to: 'destination_pim_file_database_migrated'
destination_pim_structure_migration:
from: 'destination_pim_file_database_migrated'
to: 'destination_pim_structure_migrated'
destination_pim_family_migration:
from: 'destination_pim_structure_migrated'
to: 'destination_pim_family_migrated'
destination_pim_system_migration:
from: 'destination_pim_family_migrated'
to: 'destination_pim_system_migrated'
destination_pim_job_migration:
from: 'destination_pim_system_migrated'
to: 'destination_pim_job_migrated'
destination_pim_group_migration:
from: 'destination_pim_job_migrated'
to: 'destination_pim_group_migrated'
destination_pim_extra_data_migration:
from: 'destination_pim_group_migrated'
to: 'destination_pim_extra_data_migrated'
destination_pim_enterprise_edition_data_migration:
from: 'destination_pim_extra_data_migrated'
to: 'destination_pim_enterprise_edition_data_migrated'
destination_pim_reference_data_migration:
from: 'destination_pim_enterprise_edition_data_migrated'
to: 'destination_pim_reference_data_migrated'
destination_pim_product_migration:
from: 'destination_pim_reference_data_migrated'
to: 'destination_pim_product_migrated'
destination_pim_product_variation_migration:
from: 'destination_pim_product_migrated'
to: 'destination_pim_product_variation_migrated'
finish_migration:
from: 'destination_pim_product_variation_migrated'
to: 'migration_finished'