ionutboangiu
36a7d174ab
Remove RSRSep opt from general section
...
- allows RSRParser to be split gracefully from config (was depending on
RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
ionutboangiu
2f387b5a0e
chore: remove unnecessary parentheses
...
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02: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
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02:00
ionutboangiu
4857245aa5
Use copy instead of loop + other staticcheck fixes
2022-07-15 09:28:57 +02:00
ionutboangiu
8fed131219
Add clone function for Rate struct
2022-04-06 11:17:50 +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
ionutboangiu
cb3531d61b
Add clone function for EventCharges
2022-02-14 20:45:49 +02:00
porosnicuadrian
2c953ef513
Finished CRUD tests for rates
2022-02-06 09:49:37 +01:00
porosnicuadrian
2c587c1b6c
Redesigned APIRateProfile + tests
2022-02-06 09:49:37 +01:00
porosnicuadrian
e748667165
Updated rates set/get/remove for mongo
2022-02-03 16:11:16 +01:00
porosnicuadrian
ae4e92ded4
Moved marshaler and added to map ratePrf
2022-02-03 16:11:16 +01:00
porosnicuadrian
e84b89186c
Updated redis itnerface for rates
2022-02-03 16:11:16 +01:00
ionutboangiu
2a956af08c
Add merge function for interval rates and update some set funcs
2022-02-02 14:17:40 +01:00
ionutboangiu
30e419429d
Update match functions for dispatcher profiles
2022-02-02 14:17:40 +01:00
ionutboangiu
ba47460b64
Consider loading dynWeights only when they are populated
2022-01-21 17:11:56 +01:00
Trial97
b9617f6fe3
Added DataProvider methods
2021-12-21 15:05:44 +01:00
Trial97
c1e399de6d
Added all merge functions
2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77
Added tests for all Set methods
2021-12-21 15:05:44 +01:00
Trial97
fca363623e
Updated integration tests
2021-12-21 15:05:44 +01:00
Trial97
6a3c682f42
Fixed the config for loaders
2021-12-21 15:05:44 +01:00
Trial97
fd5cf12eac
Updated all the loaders types
2021-12-21 15:05:44 +01:00
Trial97
46f0ddb860
Added decimal context config
2021-12-15 19:57:25 +01:00
porosnicuadrian
63f553d5ca
Fixed bug on RateWeights and Weights
2021-11-11 10:55:52 +02:00
nickolasdaniel
88e07e0f5d
Unit tests in utils
2021-11-04 20:07:54 +02:00
andronache
7ab4167613
Corrected header in multiple files
2021-11-01 13:50:00 +02:00
nickolasdaniel
e1ba6f7457
Unit testing in utils
2021-10-27 19:49:29 +03:00
porosnicuadrian
b6b39b0e7d
Removed external structs for event charges
2021-10-12 18:10:49 +03:00
porosnicuadrian
8c3b0343d6
Removed CostForIntervals func
2021-10-08 17:52:56 +03:00
porosnicuadrian
05e7900aea
Tested the resolved panic with evChargers in account
2021-10-08 11:07:45 +03:00
porosnicuadrian
dcdfabb5f6
Tested cdrs ProcessEvent with rates
2021-10-08 11:07:45 +03:00
porosnicuadrian
0d255ae136
Formated code + usage case for account debiting
2021-07-27 16:18:43 +02:00
porosnicuadrian
2dccdb2162
Updated Equals method + tests
2021-07-27 16:18:43 +02:00
porosnicuadrian
d24f5805fb
Removed prints
2021-07-08 09:56:26 +02:00
porosnicuadrian
320f14157e
Fixed tests
2021-07-03 16:42:03 +02:00
porosnicuadrian
6678b03969
Renaming IntervalRateIndex to RateIntervalIndex within RateSIncrement
2021-06-23 20:54:32 +02:00
porosnicuadrian
498bfdeac5
Last fixes for RateProfileCost
2021-06-23 20:54:32 +02:00
porosnicuadrian
6573963c2b
Worked for RateProfileCost fields
2021-06-22 19:24:00 +02:00
porosnicuadrian
0213bfa28f
CostIntervals instead of RateSIntervals
2021-06-22 19:24:00 +02:00
porosnicuadrian
411e4a4515
Decimal fields instead of float in RateProfileCOst + tests
2021-06-22 19:24:00 +02:00
DanB
a7d6ea6231
Adding RateSIntervalCost structure in librates
2021-06-17 17:46:48 +02:00
porosnicuadrian
9c9bd14807
Little fixes on IntervalRates/EventCharges
2021-05-17 17:58:44 +02:00
ionutboangiu
1b28758dfb
Remove ActivationInterval and fix tests
2021-05-17 17:54:24 +02:00
ionutboangiu
c3cd02f02b
Remove ActivationInterval from RateProfile
2021-05-17 17:54:24 +02:00
porosnicuadrian
fb5890ae63
Modified Rates field in RateProfileCost + Equals/As methods
2021-05-12 16:26:10 +02:00
porosnicuadrian
f6dbb2b782
New Equals Methods for RateProfile Cost + new rates field
2021-05-12 16:26:10 +02:00
DanB
32c6b4a673
AccountS - TestV1DebitAbstractsEventCharges with Abstracts and Concretes matching, RateProfileCost with indexed Rates
2021-05-10 16:45:01 +02:00
porosnicuadrian
b9de24cdc5
Revewed and simplified all equals cases
2021-05-07 10:53:47 +02:00
porosnicuadrian
95d4a6cd96
Fixed CompressFactor check for comparing
2021-05-06 13:56:43 +02:00