Commit Graph

74 Commits

Author SHA1 Message Date
ionutboangiu
a66c472a36 sessions: rename jsoncfg obj fields to camel case 2025-06-01 14:04:28 +02:00
ionutboangiu
132a23144a add ips flags to sessions cfg 2025-06-01 14:04:28 +02:00
gezimbll
1f686fca63 added RequestProcessors in fsAgent 2025-03-11 18:12:49 +01:00
ionutboangiu
b1a5874215 Move config/rsrparser.go to utils package 2025-02-24 13:36:32 +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
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
armirveliaj
a05834af81 Adding *accountsForceUsage variables for GetBoolOpts 2025-01-29 10:49:15 +01:00
armirveliaj
cae468454c Adding *sessionSOriginID StringOpts variables 2025-01-29 10:49:15 +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
aea5fb0f18 Fix compilation errors 2025-01-13 13:39:50 +01:00
gezimbll
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +01:00
ionutboangiu
8cbeb45adf Remove global err used by tests
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-10-29 18:54:51 +01:00
ionutboangiu
6ed3c5592d Add reply_timeout field for FS event socket conns 2024-09-23 20:28:26 +02:00
ionutboangiu
449bc5c08a Add active_session_delimiter option for fs_agent
Used for 'show_channels' requests and responses.
2024-09-23 20:28:26 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
ionutboangiu
dd7bab666f Repair failing unit tests after adding max_reconnect_interval option 2022-07-03 13:08:52 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
Trial97
5953eec22a Updated tests for dispatchers and registrarc 2021-12-22 17:48:42 +01:00
ionutboangiu
b0cac1b6ee Revise usage of httpcfg's transport and fix tests 2021-10-22 12:05:22 +03:00
ionutboangiu
f3031196f0 Fix unit tests after opts changes 2021-10-20 16:54:58 +03:00
nickolasdaniel
37dfdf6e58 Config and utils unit testing 2021-10-20 16:53:46 +03:00
ionutboangiu
1670b1b0c9 Fix tests after adding opts to sessions 2021-10-18 18:09:44 +03:00
nickolasdaniel
be173e1e07 Fixed and added tests in config 2021-10-18 17:14:33 +03:00
ionutboangiu
cbc314e059 Fix tests after adding opts for sessions subsystem 2021-10-18 10:36:16 +03:00
ionutboangiu
6a8b16fd0c Fix tests after adding sessions opts struct 2021-10-15 10:59:19 +03:00
nickolasdaniel
5beac404ed Unit testing in config 2021-10-13 20:34:01 +03:00
ionutboangiu
c0ba516c52 Closes #1730; Add accounts and rates conns to session's cfg section 2021-09-27 17:27:18 +02:00
ionutboangiu
a5ed4f1aa4 Closes #1731; Rename abbreviated fields from sessionscfg 2021-09-27 17:27:18 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
nickolasdaniel
96f11748e2 Removed synchronous field from DispatcherHost and RemoteHost, as well as switched DispatchHost csv files 2021-07-25 12:07:09 +02:00
nickolasdaniel
6399c506a6 Added unit tests for config 2021-06-08 11:55:12 +02:00
nickolasdaniel
2909abb969 Added unit tests for config 2021-05-28 12:39:28 +03:00
nickolasdaniel
418a8086de Added unit tests for config 2021-05-21 14:11:57 +02:00
nickolasdaniel
f085ba1391 Added unit tests for config 2021-05-21 14:11:57 +02:00
nickolasdaniel
1c64f014b4 Added unit tests for config 2021-05-18 15:03:01 +02:00
nickolasdaniel
d9941b095a Added unit tests for config 2021-05-17 17:59:08 +02:00
Trial97
b63649eef4 Added sessioncfg diff functions 2021-04-22 21:00:44 +02:00
Trial97
c04c0a5adb Added ConfigDB and option to read config from DB 2021-04-16 17:53:36 +02:00
Trial97
9324789ac7 updated integration tests 2021-04-05 20:54:48 +02:00
porosnicuadrian
0f70d542f8 Fixed warnings in config package 2021-04-02 13:45:26 +02:00
porosnicuadrian
2cb978314e Removed scheduler 2021-03-30 20:49:53 +02:00
Trial97
48205d689d Removed until build 2021-03-30 20:49:53 +02:00
Filip Nickolas
9960ea0c10 Added coverage test in config 2021-03-04 14:01:49 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
Trial97
3afe8fc6a6 Added support for BiGOB server 2021-02-22 11:53:56 +01:00
Trial97
9f75ab918c Updated biRPC support in connmanager 2021-02-22 11:53:56 +01:00
Trial97
27cae3856e Replaced max_call_duration config with default_usage for each ToR 2021-02-19 19:15:16 +01:00