Commit Graph

374 Commits

Author SHA1 Message Date
ionutboangiu
4e6cbe26c5 Ensure refund flag is not ignored when rerate is true
By default setting rerate to true also sets refund to true, but
flags should take precedence over defaults.

If rerate is true and refund is false, remove any previous
CostDetails from event to force rerate.

Centralize the parsing of processing flags.
2024-07-14 13:29:23 +02:00
ionutboangiu
628df25caa Set TimeNotBuiltin msgpack option directly without using BasicHandle
Prevents a situation where when attempting to decode a string into a nil
interface, the decoded value would be the encoded slice of bytes instead
of the string we need.
2023-07-12 17:06:16 +02:00
ionutboangiu
9cea5f1f60 Make msgpack codec backwards compatible with version before 2017 2023-07-10 13:58:21 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
Trial97
a6aa435a8d Updated AcionPlans 2021-06-08 12:05:51 +02:00
TeoV
b8b65bb0b8 Send StoredStatQueue instead of StatQueue when replicate fixes #1864 2020-01-15 14:20:43 +02:00
Trial97
d1d851009a Updated SetStoredStatQueueDrv and removed unused Marshaler function 2019-12-02 13:15:26 +02:00
TeoV
11fa04f3d0 Implement rest of methods from StorageInterface in DataManager 2019-11-21 12:58:27 +01:00
TeoV
af1cfc64c8 Implement Replication for all Set Methods 2019-11-20 19:48:14 +01:00
TeoV
0f0c05633e Add Destination/ReverseDestination methods in DataManager 2019-11-20 10:54:31 +01:00
TeoV
4000890138 Implement GetAccountActionPlans in DataManager 2019-11-12 11:45:59 +01:00
TeoV
4edda324e0 Add more tests 2019-11-12 11:45:59 +01:00
TeoV
cc0855ce83 Rename GetAccount with GetAccountDrv and add GetAccount in DataManager 2019-11-07 17:52:59 +01:00
TeoV
35d981c182 Add connection from apier to scheduler for tutinternal config 2019-10-28 14:31:23 +01:00
TeoV
a74917a605 Add preload_url parameter for datadb config section 2019-10-28 14:31:23 +01:00
Trial97
8cddeca1a0 Added migrator for *load_ids 2019-10-09 17:27:43 +02:00
TeoV
d930e82886 Add tests for Offline TariffPlans 2019-10-04 20:17:40 +02:00
TeoV
2c8d717007 Finishing implemented datadb methods for InternalDB 2019-10-04 20:17:40 +02:00
TeoV
a27a03b7f6 Implement more methods for InternalDB 2019-10-04 20:17:40 +02:00
Trial97
e923babcee Updated mongo storage 2019-07-18 02:54:19 -10:00
Trial97
ab77aaebc8 Downgraded mongo library 2019-07-17 04:59:52 -10:00
Trial97
c1f49a6e73 Updated glide.yaml 2019-07-16 22:42:42 -10:00
TeoV
f779dc5084 Take out SearchTerm from Paginator and add to a top level 2019-04-18 12:24:20 +03:00
TeoV
93cb87bece LoadIDs use time.UnixNanoseconds instead of GenUUID 2019-04-04 14:30:08 +02:00
Tripon Alexandru-Ionut
022ad003d6 Renamed DispatcherS CSV file to DispatcherProfiles.csv 2019-03-28 09:35:50 +01:00
TeoV
ba419ec67e Adding LoadID methods in storage_interface 2019-03-27 11:51:20 +01:00
Tripon Alexandru-Ionut
ad54df15f7 Added Dispatcher Hosts 2019-03-26 19:46:42 +01:00
Trial97
fa591c50a7 Added *remove_session_costs action. fixes#1423 2019-03-25 19:11:44 +01:00
TeoV
76272b9b01 Make Engine build 2019-03-13 15:10:55 +01:00
Trial97
22828945a3 Removed PubSub 2019-02-19 16:42:33 +01:00
Trial97
b8ff4bdfd9 Removed DerivedChrgerS 2019-02-19 16:42:33 +01:00
Trial97
b87dbf650d Removed UserS and modified some meta consts 2019-02-18 12:37:50 +02:00
Trial97
7442753ed3 Removed AliaseS 2019-02-15 18:01:22 +02:00
TeoV
473d8dbc5a Add infrastructure for DispatcherProfile 2019-01-10 15:42:02 +01:00
TeoV
8184f51738 Update tp charger to use tenant 2019-01-09 15:46:20 +01:00
TeoV
b466b60238 Update tp suppliers to consider tenant 2019-01-09 15:46:20 +01:00
TeoV
c9ce2f6bc5 Update tp filter to consider tenant 2019-01-09 15:46:20 +01:00
TeoV
d52e62daf3 Update tp threshold to consider tenant 2019-01-09 11:24:46 +01:00
TeoV
08b76e84f5 Update tp stats to consider tenant 2019-01-09 11:24:46 +01:00
TeoV
b5708c18a5 Update tp resource to consider tenant 2019-01-09 11:24:46 +01:00
TeoV
2325f53550 Update tp attributes to consider tenant 2019-01-08 11:00:15 +01:00
Trial97
6900332dec Removed old mongo driver 2018-12-12 11:48:10 +01:00
TeoV
8af148da1a Remove CDRStats and LCR 2018-11-21 18:28:33 +01:00
Trial97
e135aac646 Add tests for engine.SafEvent 2018-10-01 16:59:56 +02:00
Trial97
7f5ced1689 Update msgpack library 2018-10-01 16:59:56 +02:00
TeoV
0f8dd3754e Remove reverse filter indexes (duplicate data) 2018-08-21 17:22:56 +02:00
TeoV
a31b1a91bd Add drv methods for ChargerProfiles 2018-07-10 12:30:09 +02:00
DanB
037bb1f0d8 Skel for TPLoader and TPcsvReader, changed file perms in engine 2018-03-11 19:41:30 +01:00
DanB
e77d24f356 DataManager RemoveReverseIndexes using cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00
DanB
cde86ff059 DataManager SetFilterReverseIndexes using cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00