Commit Graph

253 Commits

Author SHA1 Message Date
ionutboangiu
df1dc5e838 Add StorDB service
Add StorDB to config and services.

Put back the store_cdrs option under cdrs and update the CDRs
service to depend on StorDB.

Define the StorDB interface and add a constructor for it.

Add a constructor for postgres storage.

Add a config sanity check to validate SSL modes for postgres.

Update cgr-engine to consider StorDB on startup.
2023-05-03 10:05:28 +02:00
ionutboangiu
dd7bab666f Repair failing unit tests after adding max_reconnect_interval option 2022-07-03 13:08:52 +02:00
ionutboangiu
70ea038f08 Update FibDuration function 2022-07-03 13:08:52 +02:00
ionutboangiu
7299b09107 Add max_reconnect_interval for dispatcherhost csv models 2022-07-03 13:08:52 +02:00
ionutboangiu
ebee8c1233 Remove actionblockers 2022-05-06 20:49:11 +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
5537e8993d Improved stats + tests 2022-05-06 17:00:30 +02:00
ionutboangiu
887b6db5b8 Add blockers field to chargers + tests 2022-04-29 20:33:51 +02:00
ionutboangiu
52c79ca8db Change RouteBlockers type from bool to DynamicBlockers 2022-04-29 20:33:51 +02:00
ionutboangiu
065ffcfbdf Change blocker type from bool to DynamicBlockers for APActions 2022-04-29 20:33:51 +02:00
porosnicuadrian
9197a10f42 Moved AttributeBlockers next to filterIDs 2022-04-29 14:43:18 +02:00
porosnicuadrian
eddfe1776b Organized stats fields + route blockers + improved tests 2022-04-28 17:14:05 +03:00
ionutboangiu
aca1dc2cff Change blockers field's position within RouteProfile 2022-04-28 08:52:03 +02:00
ionutboangiu
39c2d97333 Add Blockers field to ActionProfile + tests 2022-04-28 08:52:03 +02:00
ionutboangiu
147cc8f8f0 Add Blockers field for RouteProfiles 2022-04-28 08:52:03 +02:00
porosnicuadrian
41a7ee8add DynamicBlocker for stats + unit test 2022-04-27 17:49:14 +02:00
porosnicuadrian
6561d4d110 New AttributeBlocker 2022-04-27 17:49:14 +02:00
porosnicuadrian
85ba81c71f Moved blocker next to weights + it tests fixes 2022-04-27 13:03:59 +02:00
porosnicuadrian
bc5f1b5e10 Updated configs for Blockers and unused configs 2022-04-21 15:27:27 +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
andronache98
03793c0082 Removed storDB from config 2022-03-09 14:14:30 +01:00
porosnicuadrian
4a2b8ff6e1 Fixed loaders cfg and weights 2022-03-07 10:58:21 +02:00
andronache98
fad736e5a6 Changed Weights from float64 to DynamicWeights for Resources and Chargers 2022-02-13 15:09:53 +02:00
andronache98
ffb41e083b Fixed tests 2022-02-10 10:48:29 +02:00
andronache98
3432bbd853 Repaired tests 2022-02-08 19:08:45 +01:00
andronache98
7649028a99 Fixed tests for Stats 2022-02-06 09:52:26 +01:00
andronache98
ff9257fd64 Repaired most tests 2022-02-06 09:52:26 +01:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
porosnicuadrian
8f6d7ff5ab FIxed tests for units/increment type 2021-10-14 18:16:18 +03:00
Trial97
6bff7dfb9b Updated Redis storage 2021-10-08 11:12:50 +03:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
Trial97
a5d95f9fe7 Updated Routes with DynamicWeights 2021-08-30 17:53:42 +03:00
ionutboangiu
59d7e71e4f Rename Route field RatingPlanIDs to RateProfileIDs 2021-08-27 17:33:19 +02:00
nickolasdaniel
96f11748e2 Removed synchronous field from DispatcherHost and RemoteHost, as well as switched DispatchHost csv files 2021-07-25 12:07:09 +02:00
nickolasdaniel
d8a803db0b Added extra fields for DispatcherHost such as in RemoteHost in rpcconn.go 2021-07-15 18:40:12 +02:00
Trial97
0682251fff Removed dispatcher subsystems 2021-06-11 13:11:00 +02:00
andronache
ef896f7577 Fixed bug for config 2021-06-09 20:15:57 +02:00
andronache
b4d550a1d0 100% Coverage for Config in apis and added initConfigDB func in libtest 2021-06-08 11:55:46 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
ionutboangiu
8984f1167c Remove Contexts from Attributes 1.0 2021-05-19 19:27:43 +02:00
andronache
7671c0cb5e Started removing timing 2021-05-18 15:01:27 +02:00
andronache
53474406e3 Started removing timing 2021-05-18 15:01:27 +02:00
ionutboangiu
6b71087e90 Remove ActivationInterval from Accounts 2021-05-17 17:54:24 +02:00
ionutboangiu
05de1f5bc4 Remove ActivationInterval from Filters 2021-05-17 17:54:24 +02:00
ionutboangiu
563314ecb0 Remove ActivationInterval from Thresholds 2021-05-17 17:54:24 +02:00
ionutboangiu
4a5e4ea885 Remove ActivationInterval from Stats 2021-05-17 17:54:24 +02:00
ionutboangiu
a55f3037ec Remove ActivationInterval from ActionProfiles 1.0 2021-05-17 17:54:24 +02:00