5415 Commits

Author SHA1 Message Date
armirveliaj
de77f9b363 Add coverage tests on engine 2024-09-13 21:29:23 +02:00
gezimblliku
7131698daf updated processEEs to pass metrics in a map to event 2024-09-10 21:09:57 +02:00
armirveliaj
03e5ee65ac Add coverage tests on engine 2024-09-10 13:20:39 +02:00
gezimblliku
b56220933a added ees_conns on stats 2024-09-10 13:20:05 +02:00
DanB
569ddd1956 Basic structure of TrendS using cron as scheduler 2024-09-09 20:53:51 +02:00
arberkatellari
932e86aa53 Revise balance blockers 2024-09-09 18:36:31 +02:00
ionutboangiu
6e971e954c chore: remove unused call & redundant ping methods
- Ping methods defined by engine.NewService for all services
- Call methods were previously replaced by the centralized call method
(on *birpc.Service) for all components
- All services now register V1/V2 objects from apier package for
consistency
2024-09-06 17:37:05 +02:00
ionutboangiu
162b077d0e SplitPath: stop at '#' for nesting separator 2024-09-05 20:51:30 +02:00
arberkatellari
a898e67558 Add active time checker on DebitConnectionFee 2024-09-05 20:48:23 +02:00
armirveliaj
8fe0fc0cf0 Add new unit tests on engine 2024-09-05 20:47:27 +02:00
armirveliaj
0a5a7b7d61 Add coverage on engine 2024-09-05 20:47:27 +02:00
armirveliaj
27b789707c Add new unit tests on engine 2024-09-05 20:47:27 +02:00
ionutboangiu
8fec8dbca1 fix: maintain fallback subj keys configured order 2024-08-30 13:01:01 +02:00
armirveliaj
4dea21c268 Add new unit tests on engine 2024-08-22 20:41:28 +02:00
armirveliaj
8baf2f0988 Add new unit tests on engine 2024-08-21 21:07:15 +02:00
armirveliaj
dabbde881c Add coverage tests on engine 2024-08-21 21:07:15 +02:00
gezimblliku
ac44500fea updated dependencies to last versions 2024-08-21 21:04:36 +02:00
gezimblliku
b7b931b8f6 added datamanager GetTrendProfiles method && api 2024-08-21 21:04:36 +02:00
gezimblliku
58e419b002 updated trend structure && model 2024-08-16 12:32:21 +02:00
gezimblliku
b1218c4ae3 added service for trends 2024-08-16 12:32:21 +02:00
armirveliaj
4e6e1e8159 Add unit tests for trends 2024-08-16 11:34:45 +02:00
armirveliaj
67594abffb Add coverage tests on engine 2024-08-16 11:34:45 +02:00
armirveliaj
87648996c6 Add coverage tests on engine 2024-08-14 14:05:33 +02:00
ionutboangiu
6474c1076f update rpcclient library (#4413)
for more details: https://github.com/cgrates/rpcclient/pull/37
2024-08-14 14:04:33 +02:00
ionutboangiu
abba61723a Optimize removeFilterIndexesForFilter func (#4357)
Previously made two trips (get and set) for each group of items from
an index key being removed. Now, we fetch indexes once at the beginning
and store the updated indexes once at the end.

There was a difference compared to the previous v0.10 implementation
regarding the get/set behaviour. On v0.11, we used to get only the items
separately for each index and update only that index. Even though it
might have been more efficient, trips to the db are still too expensive
so it didn't matter much in the end.
2024-08-14 14:03:55 +02:00
gezimblliku
5b75bacff7 added trend with get,set and remove methods in datamanager 2024-08-14 14:03:21 +02:00
armirveliaj
6f65f09e4f Add new unit tests on engine 2024-08-12 18:37:15 +02:00
ionutboangiu
73fc386036 Add stordb pgSSLCertMode option 2024-08-12 18:36:45 +02:00
ionutboangiu
d0183597f1 Add postgres stor_db SSL opts 2024-08-09 09:13:10 +02:00
gezimblliku
22b96ca1e3 added tests for filter statmetric 2024-08-04 21:10:50 +02:00
armirveliaj
3d9a94c5c5 Add new unit tests 2024-08-04 21:04:41 +02:00
armirveliaj
f6f49f47a2 Add new unit tests on engine 2024-08-02 09:36:54 +02:00
arberkatellari
5ccb77c5dc Add mongo support for sessions backup 2024-07-22 15:31:02 +02:00
ionutboangiu
4cba4a699d Implement SharedActionsData for action groups
- holds common relevant data between actions.
- currently supports only *cdrlog, making the process more reliable
and less repetitive. It also provides access to more information about
actions when creating CDRs.
- easier to scale.
- removes the need for cloning accounts before executing a group of
actions.
- added Actions method to check if specific action types exist inside.
2024-07-21 19:04:53 +02:00
arberkatellari
dd5e5b1147 Revise debitCreditBalance 2024-07-14 14:11:16 +02:00
armirveliaj
54a90fe543 Add new unit test on engine 2024-07-14 14:07:21 +02:00
armirveliaj
fb04c28dab Add new unit tests on engine 2024-07-14 14:07:21 +02:00
gezimbll
85bd7a50e7 updated sags service name to ranking 2024-07-14 13:39:20 +02:00
gezimbll
4d4392d196 revised comments && renamed sars to trends 2024-07-14 13:39:20 +02:00
gezimbll
6c2fbbec28 added sars model,tp,api 2024-07-14 13:39:20 +02:00
ionutboangiu
9d7fcdc0c6 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 configuration of processing args.
2024-07-14 13:28:18 +02:00
ionutboangiu
435e4f59b5 Add set_versions flag to cgr-engine
If set to true, it sets/overwrites all versions to the
current ones.
2024-07-14 13:27:09 +02:00
ionutboangiu
eb3bd5cc1d Add redisPoolPipelineLimit configuration field for datadb
Sets the maximum number of commands that can be pipelined before flushing.
0 means no limit and pipelines will only be limited by the time window.
2024-07-05 11:21:16 +02:00
ionutboangiu
ed3fa0d294 Add redisPoolPipelineWindow configuration field for datadb
Sets the duration after which internal pipelines are flushed.
0 disabled implicit pipelining.
2024-07-02 19:58:03 +02:00
armirveliaj
8447bbb084 Add new unit tests on engine 2024-07-01 20:37:09 +02:00
arberkatellari
b88602cdf3 Update rpcclient revising error handling 2024-06-30 17:55:09 +02:00
armirveliaj
9ba8feeb71 Add new unit tests on engine 2024-06-30 17:51:59 +02:00
armirveliaj
09ec973a92 Add new unit tests on engine 2024-06-30 17:51:59 +02:00
armirveliaj
6c7c54ab58 Add unit tests on engine 2024-06-30 17:51:59 +02:00
armirveliaj
a945fccad6 Add new unit tests on engine 2024-06-30 17:51:59 +02:00