Commit Graph

246 Commits

Author SHA1 Message Date
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
gezimbll
c602dbc2a5 added rsparser field in dynamicOpts
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
ionutboangiu
17405af987 Revise service manager logs
Logging is now done as ServiceManager level. Removed any other logs.
2025-01-10 20:18:08 +01:00
DanB
4025e5a34b Sessions struct changes 2025-01-10 20:14:45 +01:00
gezimbll
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +01:00
DanB
c034868c43 debit and newBalanceOperators only works with abstract and concrete balances, ignore the rest 2024-12-23 17:47:26 +01:00
ionutboangiu
db301f7901 Remove StorDB service param from service constructors
Use ServiceIndexer instead.
Remove CDRs ListenAndServe method.
Pass the storDB connection directly to constructors instead of the
channel.
2024-12-12 11:55:14 +01:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
gezimbll
c51122fd20 Moving apis into each subsystem packages 2023-12-13 20:33:09 +01:00
gezimbll
32ed816de7 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions 2023-11-01 21:38:27 +01:00
gezimbll
c6571492fc Make go vet pass 2023-10-26 15:59:34 +02:00
ionutboangiu
efcb32741a Run gofmt 2023-09-28 20:48:39 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
1e51b6d73f Unified constants for subsystem/removed big S 2022-09-25 12:16:25 +02:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +02:00
porosnicuadrian
69a442a98a TEsted accounts and balances blocker + improved blncOPeratrs interface 2022-05-13 08:30:29 +02:00
ionutboangiu
e98f230f04 Change type name from Blockers to DynamicBlockers 2022-05-10 17:05:31 +02:00
porosnicuadrian
cea929269a Blockers for account/balance + tp/cfgs and tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
3c4aa8876d Added blockers for accounts 2022-05-06 17:00:30 +02:00
porosnicuadrian
b16b44732e Modified blocker into Blockers for attributes 2022-04-21 15:27:27 +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
porosnicuadrian
c7092cc0df Renamed AteredFields + updated uniqueALteredFields method 2022-03-01 15:51:07 +02:00
porosnicuadrian
75fc37db2c renamed into Filters + uniqueAlteredFields 2022-02-25 14:38:26 +01:00
porosnicuadrian
104a06d24b Added support at mongo dirver for count/list rates 2022-02-17 21:11:55 +02:00
porosnicuadrian
1cbf8c711e Improved SetRateProfile for data manager + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
5b1924391a Improved accounts + corrected tests after improve 2022-02-03 16:11:16 +01:00
porosnicuadrian
ab0475963b Improved unitFctor in refundCharges 2022-01-26 18:28:55 +01:00
porosnicuadrian
5098cce439 Tested refundCharges with different balances 2022-01-26 18:28:55 +01:00
porosnicuadrian
1e3e42ef86 Fixed test for accounts after improving code 2022-01-26 18:28:55 +01:00
porosnicuadrian
b8e4cfdaea Improved accounts code 2022-01-26 18:28:55 +01:00
DanB
2506c608d4 Backup and restore the eventCost in case of estimated concrete debits for abstracts 2022-01-23 16:29:37 +01:00
porosnicuadrian
d2b3620d4a IMproved refund apis with unitfactor + concrete merge 2022-01-21 16:38:45 +01:00
porosnicuadrian
100f797ee7 Tested refundCHarges and started to improve it 2022-01-20 21:03:47 +01:00
porosnicuadrian
ccbb53be8f Improved accountSRefundCharges 2022-01-20 21:03:47 +01:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
DanB
285b45ef8e AccountSv1.RefundCharges API 2022-01-17 17:45:24 +01:00
ionutboangiu
b55dc3d3a8 Fix tests after updating loggers 2021-12-19 17:12:47 +01:00
Trial97
46f0ddb860 Added decimal context config 2021-12-15 19:57:25 +01:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
6b3c2235d1 Tests for error case in case of ProfileIgnoreFilters in accounts 2021-10-22 12:04:12 +03:00
andronache
3b3567b5f6 Fixed wrong expected in test 2021-10-21 14:32:34 +03:00
andronache
58de965fa5 Cover tests for MetaProfileIgnoreFilters in accounts finished 2021-10-21 14:32:34 +03:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
porosnicuadrian
277d8b388a Finished account test with rates in debit abstract with no effect on increment 2021-10-13 20:33:19 +03:00