Commit Graph

14080 Commits

Author SHA1 Message Date
ionutboangiu
a4e45cd7db ci: fix var name to disable repo cloning 2025-05-14 12:11:06 +02:00
arberkatellari
5847ceab00 Add and revise tests for offline internal DB 2025-05-13 17:07:17 +02:00
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
ac0b43a218 update session basics test 2025-05-12 17:31:19 +02:00
ionutboangiu
07da68b0bb prevent redundant cost calculations in V1CostForEvent
Previously the function continued looping through all verbosity
iterations (default 1000) even after finding a valid cost,
causing unnecessary processing.
2025-05-12 17:29:41 +02:00
ionutboangiu
0937d374e5 remove outdated documentation files 2025-05-12 14:15:13 +02:00
ionutboangiu
c30c09084d cast cached resource into the correct type
and ensure it is wrapped to allow locking
2025-05-09 09:45:40 +02:00
ionutboangiu
2e883b2489 update installation docs + cleanup 2025-05-09 09:44:53 +02:00
ionutboangiu
6a2654e6d8 port doc changes from v0.11 2025-05-09 09:44:53 +02:00
ionutboangiu
3acb9deac5 Simplify GetCDRs implementation
Remove redundant checks and use a single CDR instance for both filtering and
results.
2025-05-09 09:43:04 +02:00
ionutboangiu
2a85e371a2 Fix GORM pagination with zero limit/offset
Previously, q.Limit(0) was always set, causing GORM to
return no records since limit=0 was interpreted as "get 0
records" rather than "no limit". Now we only set limit and
offset when they're > 0, which makes pagination behave
correctly with default values.
2025-05-09 09:43:04 +02:00
ionutboangiu
961f132efb remove redundant dist entry in reprepro cfg 2025-05-08 16:31:10 +02:00
ionutboangiu
109ed8fe34 prometheus: replace string literals with constants 2025-05-03 21:44:51 +02:00
ionutboangiu
c2fb0df6c6 normalize metric types for mixed connection types 2025-05-03 21:44:51 +02:00
ionutboangiu
b86e5d2b14 prom: append correct subsystem to cores internal conn 2025-05-03 21:44:51 +02:00
ionutboangiu
d8eccf83da revise wrong prom metric comment 2025-05-03 21:44:51 +02:00
ionutboangiu
a71c803bc1 update prometheus deps 2025-05-03 21:44:51 +02:00
ionutboangiu
5e46eeb28a move action type definitions to utils 2025-05-03 21:42:36 +02:00
ionutboangiu
eeecae4576 move resources to dedicated package 2025-05-03 21:42:36 +02:00
ionutboangiu
40c2c11158 remove empty chargers test file 2025-05-03 21:42:36 +02:00
gezimbll
1c11eb3582 add *gigawords dataconverter 2025-04-25 16:24:43 +02:00
ionutboangiu
b715aa392c analyzers: lower RequestDuration query threshold 2025-04-22 19:35:11 +02:00
ionutboangiu
e84c434073 remove prints from integration tests 2025-04-22 19:35:11 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
61e94b4a14 refactor URL extraction and API request functions 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
9a42adc716 Retrieve routes default ratio from global var
to prevent cyclic import (utils > config > utils)
2025-04-22 19:33:12 +02:00
ionutboangiu
7b74552c8f export DynamicDP type and constructor 2025-04-22 19:33:12 +02:00
armirveliaj
4507d55b0b add coverage tests in RateS 2025-04-22 19:22:59 +02:00
arberkatellari
7363e29f93 Revise deb_packages script and update Go version 2025-04-18 13:18:37 +02:00
ionutboangiu
f56e46e00d prevent panic when len(AlteredFields) == 0 2025-04-11 12:51:29 +02:00
armirveliaj
ab8188c923 CGREvent inside AttrSProcessEventReply change 2025-03-30 13:55:30 +02:00
ionutboangiu
eafde112ea include recently split pkgs in test scripts 2025-03-30 13:54:43 +02:00
ionutboangiu
14516b69e5 fix wrong api reply type in test 2025-03-30 13:54:43 +02:00
ionutboangiu
ea3ebcc6dd add config sanity checks for prometheus_agent 2025-03-25 14:27:52 +01:00
ionutboangiu
347ea9d988 Add CoreS metrics collection to PrometheusAgent 2025-03-25 14:27:52 +01:00
ionutboangiu
d8c75dd2c3 cores: add GOMAXPROCS, GC percent and memlimit metrics
- gathered when Debug=true
- removed Lookups (always 0)
2025-03-25 14:27:52 +01:00
ionutboangiu
d14d62b865 update prom client library 2025-03-25 14:27:52 +01:00
ionutboangiu
e117b2df30 prometheus_agent: add cores_conns config opt 2025-03-25 14:27:52 +01:00
ionutboangiu
13044ddd9d refactor matched accounts sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
70b6cca25b refactor rating profile matching by weight 2025-03-25 14:25:00 +01:00
ionutboangiu
927a30b682 refactor profile sorting for actions 2025-03-25 14:25:00 +01:00
ionutboangiu
3f3605b349 refactor matched resources sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
37de0c3bd1 refactor matched statqueues sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
52177197f2 refactor matched thresholds sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
4083eb35df refactor attribute matching by weight 2025-03-25 14:25:00 +01:00
ionutboangiu
4244ba2cdf refactor profile sorting for routes 2025-03-25 14:25:00 +01:00
ionutboangiu
b00b2f07ae refactor profile sorting for chargers 2025-03-25 14:25:00 +01:00
ionutboangiu
0b26559d1f move chargers to dedicated package 2025-03-16 16:28:30 +01:00