Commit Graph

2692 Commits

Author SHA1 Message Date
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
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
ionutboangiu
e3369cc817 ansible: ensure latest cgrates when installing via packages 2025-09-15 13:10:01 +02:00
ionutboangiu
37acdd1723 sessions: port session APIs and flag handling 2025-08-30 14:02:48 +02:00
ionutboangiu
44df79fe7b add RADIUS IP auth reject test case 2025-08-21 10:14:30 +02:00
arberkatellari
7678bf181f Add ce_applications to diameter_agent config 2025-08-15 13:20:57 +02:00
ionutboangiu
cd0c7245f7 ansible: add TP directory permissions setup 2025-08-15 13:16:42 +02:00
ionutboangiu
0e06476d74 fix Ansible 2.19 conditional compatibility in github_ssh role
Fixes 'Conditional result was 'true' of type 'str'' errors.
See: https://ansible.readthedocs.io/projects/ansible-core/devel/porting_guides/porting_guide_core_2.19.html#broken-conditionals
2025-08-15 13:16:42 +02:00
arberkatellari
262f1dafa3 Add action type *dynamicAction 2025-08-15 13:01:50 +02:00
gezimbll
71e4563ecd benchmarks for ips functionality && rewriting actionTypes constants 2025-07-28 20:05:10 +02:00
armirveliaj
1f49779685 Add integration tests for StatusServer messages in RadiusAgent 2025-07-27 11:44:34 +02:00
arberkatellari
2ab652ebdd Add tests for ActionProfile modifications 2025-07-21 13:40:22 +02:00
ionutboangiu
b77ae537d2 ansible: ensure git is installed in github_ssh role 2025-07-17 13:19:55 +02:00
ionutboangiu
8bba489c3d ansible: add cgrates_deb_install playbook 2025-07-17 09:18:17 +02:00
ionutboangiu
b52bfa71b1 ansible: add github_ssh role for SSH key management 2025-07-17 09:18:17 +02:00
ionutboangiu
e211a1dd0d ansible: update cgrates role to also allow pkg install 2025-07-17 09:18:17 +02:00
ionutboangiu
2968cc5e3c ansible: add monitoring setup playbook 2025-07-17 09:18:17 +02:00
ionutboangiu
c3c5b617d2 ips: integrate CDRs into RADIUS IPAM integration test 2025-07-10 16:56:08 +02:00
ionutboangiu
f68b6e8f79 radius: pass ips flag to sessions via opts 2025-07-10 16:56:08 +02:00
ionutboangiu
7845074db5 ips: add RADIUS IPAM integration test 2025-07-10 16:56:08 +02:00
ionutboangiu
1e2f39c13e ips: update csv header 2025-07-10 16:50:32 +02:00
arberkatellari
baf767c966 Correct addition of vendor at radReplyAppendAttributes & IT test for it 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
arberkatellari
d227dfba06 Allow cache to be created for operational data on internal dataDB 2025-06-25 19:11:44 +02:00
ionutboangiu
062074b953 update RabbitMQ repos and auto-detect distro 2025-06-24 18:18:58 +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
ionutboangiu
180eb6cbfd extract resources apis to different file 2025-05-29 15:46:42 +02:00
ionutboangiu
d02bfac20b Fix rsyslog config to capture logs across distros
Add three conditions to properly capture CGRateS logs:

- programname startswith 'cgr-engine': catches logs from external
  libraries that don't use our syslogger (e.g. diameter conn errors)
- programname startswith 'CGRateS': handles deb-based distros
  where our syslog tag becomes the program name
- msg contains 'CGRateS': handles rpm-based distros where systemd
  journal overrides programname but our tag remains in message content
2025-05-27 17:30:30 +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
ionutboangiu
961f132efb remove redundant dist entry in reprepro cfg 2025-05-08 16:31:10 +02:00
arberkatellari
7363e29f93 Revise deb_packages script and update Go version 2025-04-18 13:18:37 +02:00
gezimbll
1f686fca63 added RequestProcessors in fsAgent 2025-03-11 18:12:49 +01:00
ionutboangiu
2c8c9b326e remove previous prometheus integration 2025-03-09 17:27:31 +01:00
ionutboangiu
00c192251d fix checksum mismatch in ansible go role 2025-03-01 07:26:37 +01:00
gezimbll
5628a31852 updated rsyslog conf to include logs with tag CGRateS 2025-02-26 16:17:03 +01:00
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
ionutboangiu
c60712f454 Bump go version to 1.24.0 2025-02-21 13:22:04 +01:00
ionutboangiu
92cdda136b Update elasticsearch ansible role
- bump version from 8.8.0 to 8.16.1
- don't enable the systemd service by default(just start it)
- add restart handler on config changes
- configure before starting the service
- fix some linter errors
- hardcode auto_create_indexes to true
2025-01-29 10:52:24 +01:00
ionutboangiu
9bc51e7e64 Revise elasticsearch exporter integration test 2025-01-29 10:52:24 +01:00
ionutboangiu
f1b8fb8f40 Update default config sample 2025-01-29 10:52:24 +01:00
ionutboangiu
c1331531a7 Remove unusable elasticsearch opts 2025-01-29 10:52:24 +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