41 Commits

Author SHA1 Message Date
arberkatellari
7273384828 make accounts storable in postgres 2025-10-29 19:45:33 +01:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
DanB
39952a3388 SessionS Authorize and ProcessCDR methods tested 2024-12-30 19:55:42 +01:00
ionutboangiu
37578d3743 Add FieldAsInterface implementation for EventCharges
and for types within EventCharges that are required for this
functionality.
2024-01-06 17:12:57 +01:00
arberkatellari
8abd4d93c4 Improving coverage at utils 2022-11-18 11:48:24 +01:00
porosnicuadrian
3325d7707a Improved compare for NaN 2022-04-07 08:34:24 +02:00
porosnicuadrian
729719bd4d Updated decimals + tests 2022-04-06 18:16:32 +02:00
DanB
57c970486d Decimal NA marshal/unmarshal with tests 2022-04-06 11:19:35 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
Trial97
a826209834 Updated integration tests 2021-12-21 15:05:44 +01:00
Trial97
94c4d0ffc1 Updated RoundingMode config 2021-12-16 16:01:54 +01:00
Trial97
46f0ddb860 Added decimal context config 2021-12-15 19:57:25 +01:00
Trial97
fe7f07b987 Updated meterics interface 2021-11-08 17:03:58 +02:00
Trial97
117f6ccb9b Updated Stats with decimal 2021-11-08 17:03:58 +02:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
porosnicuadrian
768fcde9f9 Rermoved case in NewDecimalFromUsage 2021-10-14 18:16:18 +03:00
porosnicuadrian
58f9965019 Make increment and Units string instead of float64 2021-10-13 20:33:19 +03:00
DanB
38f8ba8a32 SessionS MaxUsage as Decimal 2021-09-27 13:21:29 +02:00
DanB
14f5fe80f1 Decimal NewDecimalFromUsage accepting empty string 2021-08-28 12:39:55 +02:00
porosnicuadrian
411e4a4515 Decimal fields instead of float in RateProfileCOst + tests 2021-06-22 19:24:00 +02:00
DanB
1e11ae7784 EventCharges.Merge using SumDecimalAsBig 2021-04-06 17:52:39 +02:00
porosnicuadrian
5d323f4671 Removed RateProfile from engine package to utils 2021-03-18 18:12:47 +01:00
Trial97
9182696abb Added tests for *add_balance, *set_balance and *rem_balance actions 2021-02-25 18:13:01 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
porosnicuadrian
6f52361ab7 Changed from AddBig to SumBig 2021-01-20 17:38:10 +01:00
andronache
fcbd0f19fe Refactored tests in engine 2021-01-20 17:37:34 +01:00
TeoV
ef922c116b Improve NewDecimalFromUnit 2021-01-14 10:30:35 +01:00
porosnicuadrian
5a3d48a9ea Removed error from decimal convert func + tests in utils 2021-01-12 12:49:31 +01:00
TeoV
d3adaf16a3 Update integration test 2021-01-12 12:48:43 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
DanB
e285568cbe Migrating ConcreteBalance to utils.Decimal 2021-01-07 18:16:07 +01:00
DanB
59c35393c5 Converting AbstractBalance to use utils.Decimal instead of decimal.Big 2021-01-07 18:16:07 +01:00
TeoV
abb6507006 Add comments to methods 2021-01-07 15:34:41 +01:00
TeoV
6887863ed1 Update encoding for Get/Set AccountProfile for DataManager 2021-01-06 13:56:03 +01:00
DanB
77677b3019 AccountS - debitUnits for concreteBalance, Balance SetDecimalValue and DecimalValue export methods 2020-12-30 20:54:16 +01:00
porosnicuadrian
921d1d2023 Removed Decimal struct in utlis and repalced with *decimal.Big 2020-11-20 11:27:20 +01:00
DanB
103ed0ddb3 First test of CostForIntervals 2020-11-12 18:53:45 +01:00
DanB
20c086e42a RateS computeRateSIntervals implementation, engine.CostForIntervals 2020-11-12 18:53:45 +01:00
DanB
64cd0f365e Adding JSON serialization/deserialization for the ChargedIncrement 2020-06-07 20:38:52 +02:00
DanB
2fdc0ad262 Reorganizing Charged* structs, adding ericlagergren/decimal 2020-06-07 17:28:58 +02:00