View Issue Details

IDProjectCategoryView StatusLast Update
0005947libeufinsandboxpublic2020-11-10 12:06
ReporterMarcello Stanisci Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Target Version0.1 
Summary0005947: Design generation of "OrderID"
DescriptionThe element "ebicsKeyManagementResponse/header/mutable/orderID" is currently set to a mock value, but it must contain a meaningful identificator.
Additional InformationThe responsible object is generated in KeyManagementResponse.kt.
TagsNo tags attached.

Activities

Florian Dold

2019-10-25 11:02

manager   ~0015024

See "Order Number" in the glossary (https://docs.taler.net/libeufin/ebics.html#ebics-glossary) for more info about the order ID.

The number must be unique per subscriber and order type. I'd suggest keeping a counter per subscriber and incrementing that in the same (SQL) transaction where the (EBICS) transaction is created.

Florian Dold

2019-10-25 14:58

manager   ~0015025

Also, there needs to be some additional logic to "recycle" order IDs, since the space of order IDs is very small.

An order ID can be reused if the corresponding order is completely processed (e.g., there are no pending VEUs).

Marcello Stanisci

2020-05-15 19:24

reporter   ~0015918

Still open.

Issue History

Date Modified Username Field Change
2019-10-24 20:13 Marcello Stanisci New Issue
2019-10-24 20:14 Marcello Stanisci Additional Information Updated View Revisions
2019-10-25 11:02 Florian Dold Note Added: 0015024
2019-10-25 14:58 Florian Dold Note Added: 0015025
2019-11-18 14:22 Florian Dold Assigned To => Florian Dold
2019-11-18 14:22 Florian Dold Status new => assigned
2020-05-15 19:24 Marcello Stanisci Note Added: 0015918
2020-11-10 12:06 MS Target Version => 0.1