574 Commits

Author SHA1 Message Date
gezimbll
0400f4a177 added all new subsytems to load with tpreader 2026-01-30 12:56:32 +01:00
armirveliaj
5f2b6beaa6 add slices.compact for filterids 2025-12-21 18:28:09 +01:00
ionutboangiu
86090635e4 add apis file for ees 2025-11-20 11:35:29 +01:00
arberkatellari
0a67068163 Adjust tests to new tutorial samples 2025-11-19 15:59:20 +01:00
arberkatellari
da41db3f56 Make RateProfiles storable in MySQL and Postgres 2025-11-16 10:28:24 +01:00
arberkatellari
c51d3f27de Make Filters and RouteProfiles storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
arberkatellari
61e7bacab1 Make Thresholds and ThresholdProfiles storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
arberkatellari
dcdf55e5d4 Make StatQueues and StatQueueProfiles storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
gezimbll
917ecb62ab disabling offline internal in integration tests 2025-11-12 12:54:46 +01:00
arberkatellari
d78f34bdc5 Make Action Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
89653a9c80 Add *redis DBType case to it_tests 2025-11-05 17:52:03 +01:00
arberkatellari
1657f015fc make accounts storable in mysql 2025-11-05 17:52:03 +01:00
arberkatellari
7273384828 make accounts storable in postgres 2025-10-29 19:45:33 +01:00
arberkatellari
a3f25d1ec5 Adjust tests and sample json files 2025-10-19 13:15:57 +02:00
arberkatellari
5f2b1f67df Add multiple DB connections functionality 2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
707826359b ips: add ClearAllocations API 2025-08-15 13:13:49 +02:00
gezimbll
71e4563ecd benchmarks for ips functionality && rewriting actionTypes constants 2025-07-28 20:05:10 +02:00
arberkatellari
2ab652ebdd Add tests for ActionProfile modifications 2025-07-21 13:40:22 +02:00
arberkatellari
38e7c7eb39 ActionProfile modifications 2025-07-21 13:40:22 +02:00
ionutboangiu
e8c770c415 prometheus: add node_id label to cache metrics 2025-07-21 10:27:10 +02:00
ionutboangiu
785236592b Port RADIUS DMR/CoA functionality
This commit ports the following changes from v0.11:

- 9991b29 - Implement DisconnectSession API for RADIUS Agent
- 02c8ed1 - Implement support for RADIUS CoA
- 7129d34 - Merge CoA into ReAuthorize logic
- d8ad760 - Update both ReAuthorize API signatures
- 5560608 - Dynamic templates for Radius CoA out of APIOpts
- f9d1c0f - Refactor ReAuthorize to AlterSessions
- 8388832 - Rename agents API object: SessionSv1 to AgentV1
- b580e09 - Add sanity checks for radius templates
- ca6a944 - Update client_da_addresses structure
- 98265a1 - Refactor function names and error msgs related to AlterSessions
- ee98dbe - Update AgentV1DisconnectSession api signature
- c9b6c1f - Add support for sending *dmr template via APIOpts
- 03eff44 - Cache RADIUS packets during accounting instead of auth
- 28e53ce - Add requests_cache_key field to radagent cfg
2025-07-08 08:18:30 +02:00
arberkatellari
e9a1b93229 Add action type *dynamic_threshold & add admins_conns to ActionS module 2025-07-02 21:46:10 +02:00
arberkatellari
1d8e84892a Revise postgres tp tables creation & fix tests 2025-07-02 21:45:29 +02:00
gezimbll
3f83200936 updated thresholded implementation to pass event in EeS 2025-06-27 20:45:33 +02:00
ionutboangiu
932e0dba05 ips: match a single IPAllocations object 2025-06-27 20:42:41 +02:00
ionutboangiu
17b70d907b ips: integrate allocation logic and refactor structure 2025-06-27 20:42:41 +02:00
gezimbll
3c11cddb0d added api definitions in the apis package 2025-06-24 18:17:10 +02:00
ionutboangiu
33735613e7 Rename Pool type to IPPool for clarity 2025-06-03 14:23:29 +02:00
ionutboangiu
df10601b18 include ips cases in index admins apis 2025-06-03 14:23:29 +02:00
ionutboangiu
eb9f826ffd Rename IP to IPAllocations 2025-06-03 14:23:29 +02:00
ionutboangiu
3d76af47bc Revise IPProfile definition + tests 2025-06-03 13:10:15 +02:00
ionutboangiu
eed6b8a51a add implementation for new ips module 2025-05-29 15:46:42 +02:00
arberkatellari
7fe60c2b8b fix failing tests 2025-05-18 16:21:37 +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
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
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
52177197f2 refactor matched thresholds sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
0b26559d1f move chargers to dedicated package 2025-03-16 16:28:30 +01:00
ionutboangiu
c762de5c28 move rankings to dedicated package 2025-03-10 13:49:34 +01:00
ionutboangiu
47fb25b4ef move trends to dedicated package
reivse/add comments and order of funcs/definitions
2025-03-10 13:49:34 +01:00
ionutboangiu
24d886c8e0 Pass CGRConfig to DataManager
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
1d536c6390 Revise ServiceManagerV1.Status API
Allows querying for the status of all/multiple services at once.
Reply becomes a map[string]string, where the key is the service name
and the value represents the name of the state the service is in
(instead of returning just RUNNING/STOPPED).
2025-02-07 13:23:59 +01:00
gezimbll
06ccafb5fd added tests for opts with dynamic values 2025-01-22 17:36:26 +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
armirveliaj
7db65ca62c Clean up DispatcherS 2025-01-17 17:29:46 +01:00
ionutboangiu
089dfc00ae Use SyncedChan to handle shutdown 2025-01-14 19:00:37 +01:00