View Issue Details

IDProjectCategoryView StatusLast Update
0007987Talerlibeufin-bankpublic2024-03-07 19:49
ReporterMS Assigned ToAntoine A Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytrivialReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0007987: Make TalerCommon.kt HTTP- and bank-agostic and move it into util
DescriptionTalerCommon.kt has useful logic also for Nexus. One example is the one to manipulate amounts. However, TalerCommon.kt depends a lot on HTTP-definitions, like it throws "bad request" if the parser fails. The util module should instead be as protocol-agnostic as possible, and try to avoid HTTP or bank/nexus-specific definitions as much as possible: the way to fail is then decided by the caller application.

TalerCommon.kt does not even only depend on HTTP, but also on *bank* specific definitions, like LibeufinBankException and several GANA errors like BANK_BAD_FORMAT_AMOUNT. That does not belong to util, where other non-bank applications may accidentally import and throw such errors.

TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2023-11-21 06:26MSNew Issue
2023-11-21 06:26MSStatusnew => assigned
2023-11-21 06:26MSAssigned To => MS
2023-11-21 06:27MSDescription Updated
2023-11-21 06:27MSAssigned ToMS =>
2023-12-02 10:54Christian GrothoffTarget Version => 0.11
2023-12-02 11:01Christian GrothoffAssigned To => Antoine A
2023-12-22 13:17Christian GrothoffSeverityminor => trivial
2023-12-22 13:17Christian GrothoffTarget Version0.11 => post-1.0
2024-01-24 14:20Antoine AStatusassigned => informing
2024-01-24 14:20Antoine AResolutionopen => fixed
2024-01-27 00:14Christian GrothoffFixed in Version => 0.9.4
2024-01-27 00:14Christian GrothoffTarget Versionpost-1.0 => 0.9.4
2024-03-07 19:49Christian GrothoffStatusinforming => closed