Commit 6cecd1f
Add support for multiple order types in order sequences
* A new `orderTypes` set has been added that replaces the single `type`
field. This set defines the allowed order types for the order
sequence, meaning that each order in the sequence must match one of
these types.
* The request body of the `POST /orderSequences/{NAME}` endpoint has
been extended so that it can accept either a list of order types or a
single type, but not both simultaneously.
Additionally, the responses of the order sequence endpoints
(e.g., GET /orderSequences/) now also return the order types.
Merged-by: Martin Grzenia <martin.grzenia@iml.fraunhofer.de>1 parent 4109b5f commit 6cecd1f
File tree
29 files changed
+708
-374
lines changed- opentcs-api-base/src/main/java/org/opentcs
- access/to/order
- data/order
- opentcs-documentation/src/docs
- release-notes
- service-web-api-v1
- paths
- users-guide
- opentcs-kernel-extension-http-services/src
- main/java/org/opentcs/kernel/extensions/servicewebapi/v1
- binding
- sse
- converter
- test/java/org/opentcs/kernel/extensions/servicewebapi/v1
- binding
- sse
- converter
- sse
- opentcs-kernel/src/main/java/org/opentcs/kernel/workingset
- opentcs-operationsdesk/src/main
- java/org/opentcs/operationsdesk/transport/sequences
- resources/i18n/org/opentcs/plantoverview/operating/dialogs
- opentcs-strategies-default/src/main/java/org/opentcs/strategies/basic/dispatching/phase/assignment
29 files changed
+708
-374
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | 27 | | |
| |||
Lines changed: 59 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
31 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
53 | | - | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| |||
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
| 76 | + | |
| 77 | + | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
72 | | - | |
| 84 | + | |
| 85 | + | |
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
| |||
90 | 103 | | |
91 | 104 | | |
92 | 105 | | |
| 106 | + | |
93 | 107 | | |
94 | 108 | | |
95 | 109 | | |
| |||
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
| 128 | + | |
114 | 129 | | |
115 | 130 | | |
116 | 131 | | |
| |||
138 | 153 | | |
139 | 154 | | |
140 | 155 | | |
| 156 | + | |
141 | 157 | | |
142 | 158 | | |
143 | 159 | | |
| |||
169 | 185 | | |
170 | 186 | | |
171 | 187 | | |
| 188 | + | |
172 | 189 | | |
173 | 190 | | |
174 | 191 | | |
| |||
178 | 195 | | |
179 | 196 | | |
180 | 197 | | |
| 198 | + | |
181 | 199 | | |
| 200 | + | |
| 201 | + | |
182 | 202 | | |
183 | 203 | | |
184 | 204 | | |
| |||
189 | 209 | | |
190 | 210 | | |
191 | 211 | | |
| 212 | + | |
192 | 213 | | |
| 214 | + | |
| 215 | + | |
193 | 216 | | |
194 | 217 | | |
195 | 218 | | |
| |||
199 | 222 | | |
200 | 223 | | |
201 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
202 | 257 | | |
203 | 258 | | |
204 | 259 | | |
| |||
230 | 285 | | |
231 | 286 | | |
232 | 287 | | |
| 288 | + | |
233 | 289 | | |
234 | 290 | | |
235 | 291 | | |
| |||
258 | 314 | | |
259 | 315 | | |
260 | 316 | | |
| 317 | + | |
261 | 318 | | |
262 | 319 | | |
263 | 320 | | |
| |||
0 commit comments