Commit Graph

1277 Commits

Author SHA1 Message Date
arberkatellari
b8cc20bb7c Add sqlBatchSize to ERS SQL OPTS and adjust delete functionality 2025-01-14 17:04:18 +01:00
arberkatellari
3acc76474d Apply minor changes to FilterRule function's error handling 2025-01-14 17:04:18 +01:00
arberkatellari
2252765e93 Add 'ees_ids' field to ERs readers config 2024-12-20 17:33:45 +01:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
ionutboangiu
6270885405 Add config sanity checks for elasticsearch ee 2024-11-28 17:24:39 +01:00
ionutboangiu
2511c00db7 Add elsCAPath opt and improve opt comments 2024-11-28 17:24:39 +01:00
ionutboangiu
e982499e71 Update default config sample 2024-11-28 17:24:39 +01:00
ionutboangiu
8d7628410e Make elasticsearch refresh opt configurable 2024-11-28 17:24:39 +01:00
ionutboangiu
f1cdf920df Remove unusable elasticsearch opts 2024-11-28 17:24:39 +01:00
ionutboangiu
dd045148ad Revise elasticsearch exporter integration test 2024-11-27 16:50:47 +01:00
gezimbll
ee312b13b6 Added dispatchers it tests for rankings and trends 2024-11-23 20:01:25 +01:00
gezimbll
b8616282ee added integration tests for ranking scheduling 2024-10-30 22:14:03 +01:00
ionutboangiu
aad5c4a66f Add benchmark for diameter+caps 2024-10-29 18:53:22 +01:00
ionutboangiu
7df0494913 Consider diameter requests when limiting caps
- add possibility to pass custom Error-Message AVP to negative diameter
  answers
- negative answer is now built only when an error occurs
- remove tests that were testing behaviour with max concurrent requests 0
2024-10-29 18:53:22 +01:00
ionutboangiu
dd95a2837a Revise registrarc integration test 2024-10-16 18:43:34 +02:00
gezimbll
e518e7b913 Integration test for scheduleAutomaticQueries && api for scheduled trends 2024-10-08 20:49:13 +02:00
ionutboangiu
796b508353 Improve dispatcher tests (incomplete) 2024-10-05 20:35:45 +02:00
gezimbll
b134df83b7 added it tests and new APIs for TrendS 2024-10-01 20:05:29 +02:00
ionutboangiu
01dd4696cf Fix flaky nats integration test
Was failing on the Jetstream JWTAuth case with error:

nats: API error: code=500 err_code=10047 description=insufficient
storage resources available

The issue was with the previously generated credentials. Generated
them again and added the program used as a comment at the end of
the file for future reference"
2024-09-23 11:54:13 +02:00
arberkatellari
bd6f5c661d Add *eventTimestamp for EES 2024-09-23 11:52:31 +02:00
arberkatellari
c7e7634189 Add CDRsV1.ReprocessCDRs 2024-09-23 11:52:31 +02:00
gezimblliku
ccc999642d added *fileLineNumber variable 2024-08-22 20:40:46 +02:00
gezimblliku
58e419b002 updated trend structure && model 2024-08-16 12:32:21 +02:00
ionutboangiu
4693983891 Update default config sample 2024-08-12 18:36:45 +02:00
arberkatellari
9a79b092a5 Add exporter id within the *vars in EEs for templates 2024-08-12 18:34:01 +02:00
ionutboangiu
6079fb23bc Update default config sample 2024-08-09 09:24:04 +02:00
arberkatellari
0bab7d5557 Add reader id within the *vars in ERs 2024-08-09 09:14:24 +02:00
gezimblliku
59b61f2354 added janusagent documentation 2024-08-04 21:12:01 +02:00
arberkatellari
5ccb77c5dc Add mongo support for sessions backup 2024-07-22 15:31:02 +02:00
ionutboangiu
36598294a2 Revise Kafka SSL test
- Updated to use the test suite
- Deleted kafka_ssl sample configuration (moved to test file)
- Replaced 'logger' section with 'general' in configuration
- Revised Kafka server SSL setup comment
- Ensured exporters are synchronous to avoid missing errors
- Implemented helper function to create and clean up kafka topics
2024-06-30 16:28:52 +02:00
arberkatellari
f356695f6f Add active sessions backup functionalitiy 2024-06-12 18:21:50 +02:00
gezimbll
c41bbcf119 revised janusagent and thresholds it test 2024-05-23 00:15:50 +02:00
gezimbll
64692891bb added V1GetActiveSessionIDs method for JanusAgent && revised tests 2024-05-16 16:24:50 +02:00
gezimbll
8c88f9d961 added integration tests for janus_agent 2024-05-05 14:26:45 +02:00
gezimbll
82b0e02788 integration tests for janus agent 2024-04-26 17:02:18 +02:00
ionutboangiu
28e53cecc9 Add requests_cache_key field to radagent cfg 2024-03-07 17:20:23 +01:00
ionutboangiu
03eff44767 Cache RADIUS packets during accounting instead of auth 2024-03-07 17:20:23 +01:00
ionutboangiu
ca6a9440f7 Update client_da_addresses structure
Supports configuring transport (tcp/udp), host, port and
flags (only *log for now).
2024-03-06 16:15:36 +01:00
ionutboangiu
b580e09a00 Add sanity checks for radius templates 2024-03-04 19:17:31 +01:00
arberkatellari
9be32c36da Add CAPs counting to cgr-console status command 2024-03-04 09:50:10 +01:00
ionutboangiu
a9079154da Add possibility to pass conn cfg to actions 2024-02-27 16:28:48 +01:00
DanB
675d9e25ce Updating Radius CoA integration test to make use of the *alter_sessions action 2024-02-21 20:33:06 +01:00
DanB
ec9b95088f Updating radius_coa integration test to use thresholds for generating SessionSv1.ReAuthorize 2024-02-20 20:40:10 +01:00
DanB
556060817c Dynamic templates for Radius CoA out of APIOpts 2024-02-20 16:21:13 +01:00
ionutboangiu
7129d349a1 Merge CoA into ReAuthorize logic
Also updated the integration test.
2024-02-08 13:14:14 +01:00
ionutboangiu
9991b29cae Implement DisconnectSession API for RADIUS Agent
Updated radigo library to latest version.

Updated RadiusAgent to satisfy the birpc client interface.

Added *radDAdiscMsg OrderedNavigableMap type field within AgentRequest.
This one is similar to *diamreq, as it is used for building RADIUS
server-initiated Disconnect Requests.

radReplyAppendAttributes: refactored to reflect that it can now be
used to also append attributes to request packets, not only reply.

Added bidirectional support for session related RadiusAgent methods.

For Dynamic Authorization to be possible, a new field was added within RadiusAgent
that holds dicts and secrets only for the clients that support it. They are used
to create the DA Client sending Disconnect Requests.

Added a new cache partition to store Access-Request packets with the purpose
of using them to build the Disconnect Requests. They are identified by sessionID.
It defaults to the value of 'Acct-Session-id'.

Added a predefined '*dmr' template as well as a 'dmr_template' config option within
the 'radius_agent' config section. This will map to a custom or to the predefined
template and will be used to build the Disconnect Request. By default, it doesn't
point to any template (this also means that the Access-Request packets will not be
cached).

Another option added to 'radius_agent' is 'client_da_addresses', which lists the
RADIUS clients supporting Dynamic Authorization. The key represents the host of
the client, while the value represents the address to which we will send the
Disconnect Request.

Added integration test.
2024-02-07 18:28:17 +01:00
ionutboangiu
36bdc41e97 Add support for kafka ssl encryption
For both poster and reader.
Added integration test.
2024-01-23 14:12:33 +01:00
arberkatellari
0cfc4b5658 Continue caching_delay implementation & tests 2024-01-08 11:00:10 -05:00
gezimbll
443cb81828 Updated registrarc config to populate connection id from NodeID 2023-11-30 16:52:43 +01:00
ionutboangiu
0c91933065 Revise ERs event exporting
Add ees_success_ids and ees_failed_ids fields in reader config. The
former will be used to set EeIDs when the event processing returns
no error, while the latter will be used otherwise.

Add config sanity checks for the added options.

Remove Processed opts and everything related to them since they should
not be used anymore.

Fixed test compilation errors caused by the change.
2023-11-29 16:21:51 +01:00