Pablo Martin
a25f7d267b
add AED to default deployment currencies
2025-05-27 13:03:05 +02:00
Pablo Martin
52adcc7538
Merged PR 5324: --pairs option for CLI
...
This PR implements an alternative option to `--currencies`, named `--pairs`. This options lets the user specify pairs of currencies instead of just a list of currencies (which assumes you want all pairs).
This is useful to run backfills for one new currency without having to also fetch from XE rates that are already present in the DWH.
Related work items: #29931
2025-05-27 09:44:24 +00:00
Pablo Martin
03134b08f7
.
2025-05-27 11:31:43 +02:00
Pablo Martin
d2e53e40be
update version and changelog
2025-05-27 11:31:39 +02:00
Pablo Martin
9d6c93c89f
always add pairs to handling output, if was pointless
2025-05-27 11:25:47 +02:00
Pablo Martin
d20c46d52d
update readme
2025-05-27 11:18:34 +02:00
Pablo Martin
22bfc217f3
remove unused arg
2025-05-26 17:02:13 +02:00
Pablo Martin
7f8001ffca
pulled up, fixed tests
2025-05-26 17:00:57 +02:00
Pablo Martin
a7a37d4614
remove unused code
2025-05-26 16:42:09 +02:00
Pablo Martin
b52af85987
it's all pairs
2025-05-26 16:41:49 +02:00
Pablo Martin
aba2920a70
pull one up
2025-05-26 16:33:25 +02:00
Pablo Martin
d74be13372
add test for pair path
2025-05-26 16:30:21 +02:00
Pablo Martin
568e27adbe
pairs are usable
2025-05-26 16:14:51 +02:00
Pablo Martin
2432b7d6dc
pass pairs down
2025-05-26 15:50:17 +02:00
Pablo Martin
92eca9e06b
pairs input gets handled
2025-05-26 15:14:01 +02:00
Pablo Martin
7cfbe2284d
implement equality
2025-05-26 15:03:08 +02:00
Pablo Martin
132d51777a
add currency pair class
2025-05-26 14:50:21 +02:00
Pablo Martin
048d6833b4
add tests for input handling
2025-05-26 14:21:48 +02:00
Pablo Martin
6139856a3c
add pairs as new option
2025-05-26 14:16:15 +02:00
Pablo Martín
c2c3c85af9
Merged PR 2142: More decimals
...
This PR implements foundational changes in how money amounts ara managed to allow exchange rates to have up to 8 decimal positions. Before, this was limited to 0, 2 or 3 decimal positions, depending on the currency.
2024-06-27 16:17:24 +00:00
Pablo Martin
81eec04eec
add changelog
2024-06-27 18:15:48 +02:00
Pablo Martin
639893bf23
bump version
2024-06-27 18:11:29 +02:00
Pablo Martin
2ab9ca5456
improve typing
2024-06-27 18:11:22 +02:00
Pablo Martín
3d3661388d
Merged PR 2138: added chf to deployment default currencies
...
added chf to deployment default currencies
2024-06-27 16:02:36 +00:00
Pablo Martin
0bd0d7c862
increase decimals in table
2024-06-27 17:48:07 +02:00
Pablo Martin
236fb39f28
fix integration tests
2024-06-27 17:42:10 +02:00
Pablo Martin
0db434ee5b
add csvs to gitignore
2024-06-27 17:28:30 +02:00
Pablo Martin
d00a501730
remove unused import
2024-06-27 17:19:16 +02:00
Pablo Martin
0947b34ebf
swap Money for MoneyAmount, fix a couple of things along the way
2024-06-27 17:18:43 +02:00
Pablo Martin
ab2ac1ec6a
fix rounding errors in tests
2024-06-27 17:06:31 +02:00
Pablo Martin
33487521a7
implement money amount
2024-06-27 17:06:25 +02:00
Pablo Martin
e4d355c00c
add empty class so tests are runnable
2024-06-27 16:56:29 +02:00
Pablo Martin
eac16b53ba
add tests for money amount
2024-06-27 16:55:43 +02:00
Pablo Martin
a29573320e
add more decimals to inverse test to ensure it handles decimals properly
2024-06-27 16:46:17 +02:00
Pablo Martin
02e608fa02
added new test for decimal positions
2024-06-27 16:44:30 +02:00
Pablo Martin
29a0dacb2e
added chf to deployment default currencies
2024-06-27 16:41:09 +02:00
Pablo Martin
135d204dad
add command so that poetry is available in shell runner
2024-06-14 12:08:25 +02:00
Pablo Martin
fd70e27b5d
change output redirection strategy
2024-06-14 11:50:48 +02:00
Pablo Martin
ae3ad75073
more readme instructions
2024-06-13 19:24:57 +02:00
Pablo Martin
f21c0c187b
bump version
2024-06-13 19:19:56 +02:00
Pablo Martin
bea13acd68
fix script
2024-06-13 19:19:37 +02:00
Pablo Martin
f8fb8e6b76
more deployment stuff
2024-06-13 19:18:40 +02:00
Pablo Martin
4626152379
suggested bash script
2024-06-13 18:21:18 +02:00
Pablo Martin
55ef7ab273
more readme stuff
2024-06-13 18:03:46 +02:00
Pablo Martin
cf24605e44
some updates in readme
2024-06-13 18:00:48 +02:00
Pablo Martin
029514d80b
add healthcheck cli command
2024-06-13 16:32:03 +02:00
Pablo Martin
6e8b0a1c58
db rate writing implemented
2024-06-13 16:26:59 +02:00
Pablo Martin
bcd9993723
properly check that output is dwh if not file
2024-06-13 15:59:13 +02:00
Pablo Martin
aa0919c790
activate environment again in test
2024-06-13 15:59:03 +02:00
Pablo Martin
515a4527af
tests passing
2024-06-13 15:56:57 +02:00