Commit f6ff0c4
committed
feat: Refactor document issuance to support multiple configurations
This commit refactors the wallet core and issuance features to support issuing multiple documents simultaneously by transitioning from single-config to list-based configuration identifiers.
Key changes include:
- Removed `IssueDocumentPartialState` in favor of the more robust `IssueDocumentsPartialState`.
- Renamed `issueDocument` to `issueDocuments` in `WalletCoreDocumentsController`, updating its parameters to accept a list of `configIds`.
- Updated `AddDocumentInteractor` and `AddDocumentViewModel` to handle the updated flow and state changes.
- Refactored internal OpenID4VCI logic to use `issueDocumentByConfigurationIdentifiers` for multi-document support.1 parent 4498d5e commit f6ff0c4
File tree
3 files changed
+32
-42
lines changed- core-logic/src/main/java/eu/europa/ec/corelogic/controller
- issuance-feature/src/main/java/eu/europa/ec/issuancefeature
- interactor
- ui/add
3 files changed
+32
-42
lines changedLines changed: 19 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 79 | | |
92 | 80 | | |
93 | 81 | | |
| |||
164 | 152 | | |
165 | 153 | | |
166 | 154 | | |
167 | | - | |
| 155 | + | |
168 | 156 | | |
169 | | - | |
| 157 | + | |
170 | 158 | | |
171 | | - | |
| 159 | + | |
172 | 160 | | |
173 | 161 | | |
174 | 162 | | |
| |||
318 | 306 | | |
319 | 307 | | |
320 | 308 | | |
321 | | - | |
| 309 | + | |
322 | 310 | | |
323 | | - | |
| 311 | + | |
324 | 312 | | |
325 | | - | |
| 313 | + | |
326 | 314 | | |
327 | 315 | | |
328 | | - | |
| 316 | + | |
329 | 317 | | |
330 | 318 | | |
331 | | - | |
| 319 | + | |
332 | 320 | | |
333 | 321 | | |
334 | 322 | | |
335 | 323 | | |
336 | 324 | | |
337 | | - | |
338 | | - | |
| 325 | + | |
| 326 | + | |
339 | 327 | | |
340 | 328 | | |
341 | 329 | | |
342 | 330 | | |
343 | | - | |
| 331 | + | |
344 | 332 | | |
345 | 333 | | |
346 | 334 | | |
347 | 335 | | |
348 | 336 | | |
349 | 337 | | |
350 | | - | |
351 | | - | |
| 338 | + | |
| 339 | + | |
352 | 340 | | |
353 | 341 | | |
354 | 342 | | |
355 | 343 | | |
356 | | - | |
| 344 | + | |
357 | 345 | | |
358 | 346 | | |
359 | 347 | | |
| |||
362 | 350 | | |
363 | 351 | | |
364 | 352 | | |
365 | | - | |
| 353 | + | |
366 | 354 | | |
367 | 355 | | |
368 | 356 | | |
| |||
644 | 632 | | |
645 | 633 | | |
646 | 634 | | |
647 | | - | |
648 | | - | |
| 635 | + | |
| 636 | + | |
649 | 637 | | |
650 | 638 | | |
651 | 639 | | |
652 | 640 | | |
653 | 641 | | |
654 | 642 | | |
655 | 643 | | |
656 | | - | |
657 | | - | |
| 644 | + | |
| 645 | + | |
658 | 646 | | |
659 | 647 | | |
660 | 648 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
| |||
0 commit comments