-
Notifications
You must be signed in to change notification settings - Fork 6
/
wfx.workflow.dau.direct.yml
104 lines (83 loc) · 2.26 KB
/
wfx.workflow.dau.direct.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
# SPDX-FileCopyrightText: 2023 Siemens AG
# SPDX-License-Identifier: Apache-2.0
---
name: wfx.workflow.dau.direct
description: a workflow for device artifact updates without confirmation
groups:
- name: OPEN
description: regular workflow-advancing states
states:
- INSTALL
- INSTALLING
- INSTALLED
- ACTIVATE
- ACTIVATING
- name: CLOSED
description: a successful update's terminal states
states:
- ACTIVATED
- name: FAILED
description: a failed update's terminal states
states:
- TERMINATED
states:
- name: INSTALL
description: instruct client to start installation
- name: INSTALLING
description: installation progress update from client
- name: INSTALLED
description: client signaled installation success
- name: ACTIVATE
description: instruct client to start activation
- name: ACTIVATING
description: client activates update
- name: ACTIVATED
description: client signaled activation success
- name: TERMINATED
description: client aborted update with error
transitions:
- from: INSTALL
to: INSTALLING
eligible: CLIENT
description: Installation preparation successful
- from: INSTALL
to: TERMINATED
eligible: CLIENT
description: Installation preparation failed
- from: INSTALLING
to: INSTALLING
eligible: CLIENT
description: Installation in progress
- from: INSTALLING
to: TERMINATED
eligible: CLIENT
description: Update installation failed
- from: INSTALLING
to: INSTALLED
eligible: CLIENT
description: Update installation has been successful
- from: INSTALLED
to: ACTIVATE
eligible: WFX
action: IMMEDIATE
description: Continue with activation stage
- from: ACTIVATE
to: ACTIVATING
eligible: CLIENT
description: Activation preparation successful
- from: ACTIVATE
to: TERMINATED
eligible: CLIENT
description: Activation preparation failed
- from: ACTIVATING
to: ACTIVATING
eligible: CLIENT
description: Activation in progress
- from: ACTIVATING
to: TERMINATED
eligible: CLIENT
description: Update activation failed
- from: ACTIVATING
to: ACTIVATED
eligible: CLIENT
description: Update activation has been successful