Commit Graph

5625 Commits

Author SHA1 Message Date
arberkatellari
9783cdbf3e Make CDRs storable in Redis DB 2025-12-21 18:33:36 +01:00
ionutboangiu
9754bdf575 move opts field to dbconn cfg for helper object 2025-11-20 11:35:29 +01:00
ionutboangiu
0c2b9a403a stats: add error return for StatSum constructor
refactor NewStatMetric to also account for metric constructors that
return error
2025-11-20 11:35:29 +01:00
ionutboangiu
ce720a259d refactor StatSum and use string conn status values 2025-11-20 11:35:29 +01:00
ionutboangiu
d7612eb30d revert bulk index removal and add early return optimization 2025-11-20 11:35:29 +01:00
ionutboangiu
682c080c73 stats: register newly implemented metrics with gob 2025-11-20 11:35:29 +01:00
ionutboangiu
1cd4d07cc9 stats: ensure repsc/repfc metrics are properly decoded 2025-11-20 11:35:29 +01:00
ionutboangiu
42b0ec3abe stats: implement new REPSC/REPFC metrics
used to track successful/failed requests. REPFC supports error filtering.
2025-11-20 11:35:29 +01:00
ionutboangiu
a09e0bb606 update wrong receiver name for Metric methods 2025-11-20 11:35:29 +01:00
ionutboangiu
240a93b512 add StatHighest and StatLowest metric implementations 2025-11-20 11:35:29 +01:00
ionutboangiu
c245e162ca default to no internal storage for test suite 2025-11-20 11:35:29 +01:00
ionutboangiu
e269276fbd test newFilterIndex 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
0da0f69e1c Make Indexes storable in MySQL and Postgres 2025-11-19 15:59:20 +01:00
arberkatellari
7722265e11 Make LoadIDs storable in MySQL and Postgres 2025-11-19 15:59:20 +01:00
arberkatellari
19675d6b20 Make Trends and TrendProfiles storable in MySQL and Postgres 2025-11-17 18:05:57 +01:00
arberkatellari
1d866c4d35 Make Ranking and RankingProfiles storable in MySQL and Postgres 2025-11-16 10:28:24 +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
arberkatellari
bb5d589dce Make resources storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
gezimbll
d760ab319e added replicator for each dbconn 2025-11-12 12:54:46 +01:00
gezimbll
378e8fd000 moving opts to each dbconn 2025-11-05 17:56:34 +01:00
arberkatellari
38a02535f0 Make Attribute Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
eda80242eb Make Charger Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +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
40a8e6ae31 Make IPProfiles and IPAllocations storable in MySQL and Postgres 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
8af781fb75 Add tests for multiple DB conns 2025-10-20 21:13:51 +02: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
arberkatellari
119481b3d1 Update ERs SQL functionalities 2025-10-13 09:58:45 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
armirveliaj
9552acc16b Add coverage tests on engine 2025-10-13 09:57:01 +02:00
armirveliaj
ca868923cf Add warning log regarding too many profiles matched for a request 2025-10-05 08:55:25 +02:00
ionutboangiu
eb796bd04f ips: fix deadlock from cached allocs missing profile reference 2025-08-21 10:14:30 +02:00
ionutboangiu
f5be437711 ips: move ComputeUnexported to DataManager 2025-08-15 13:15:26 +02:00
arberkatellari
262f1dafa3 Add action type *dynamicAction 2025-08-15 13:01:50 +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
09624ff660 Revise mongo decoding for decimals in interfaces 2025-07-06 19:46:53 +02:00
armirveliaj
eda74a79a9 Add coverage tests on FilterS 2025-07-02 21:47:14 +02:00
armirveliaj
22845b1e15 Add coverage tests on engine 2025-07-02 21:47:14 +02:00
arberkatellari
7872d2f33b Improve valueQry function and filters validation 2025-07-02 21:45:29 +02:00
ionutboangiu
644661b778 ips: register types with gob 2025-07-02 21:44:01 +02:00