Commit Graph

725 Commits

Author SHA1 Message Date
ionutboangiu
132a23144a add ips flags to sessions cfg 2025-06-01 14:04:28 +02:00
ionutboangiu
eed6b8a51a add implementation for new ips module 2025-05-29 15:46:42 +02:00
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
2c8c9b326e remove previous prometheus integration 2025-03-09 17:27:31 +01:00
ionutboangiu
875fdb3993 implement config object for prometheus_agent 2025-03-09 17:27:31 +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
7db65ca62c Clean up DispatcherS 2025-01-17 17:29:46 +01:00
DanB
dd299361e6 Rebase fixtures 2025-01-10 20:16:27 +01:00
DanB
4025e5a34b Sessions struct changes 2025-01-10 20:14:45 +01:00
gezimbll
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +01:00
gezimbll
bb0116c543 added it test && loaders templates for ranking and trend profiles 2024-11-22 20:29:27 +01:00
ionutboangiu
d27e7aae20 Improve nats integration test
- made use of the test setup helpers.
- used t.Cleanup instead of defer.
- instead of waiting 50ms for the nats-server to start, used a helper
hook to attempt connections in fibonacci intervals. On success it
keeps a reference to the connection for later usage.
- handle error for stream delete function executed during cleanup.
- shorten time.Sleep durations when waiting for exports to finish.
- extract the cache itemID checking logic into a separate func
- retry failed requests in fibonacci intervals for up to 500ms
2024-09-23 20:28:26 +02:00
gezimblliku
73a7590f1c added profiles,configs and services for trend && ranking 2024-08-02 09:37:52 +02:00
Gezim Blliku
80249e1074 implemented janusagent & added to services 2024-07-21 19:07:43 +02:00
arberkatellari
2e4d8bdcf4 Remove unnecessary LazySanityCheck 2024-01-06 17:12:02 +01:00
ionutboangiu
5f4da20881 Add *refund dynamic opt for cdrs section 2023-12-12 10:09:18 +01:00
ionutboangiu
560f42bf8d Add store block back inside *CDRServer.processEvents
Added *store and *rerate dynamic opts for cdrs.
2023-12-12 10:09:18 +01:00
gezimbll
5b5a159706 Added sentrypeer filter type 2023-08-02 16:49:33 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
df1dc5e838 Add StorDB service
Add StorDB to config and services.

Put back the store_cdrs option under cdrs and update the CDRs
service to depend on StorDB.

Define the StorDB interface and add a constructor for it.

Add a constructor for postgres storage.

Add a config sanity check to validate SSL modes for postgres.

Update cgr-engine to consider StorDB on startup.
2023-05-03 10:05:28 +02:00
arberkatellari
c216fad65c Improving loadConfigFromHTTP redundant URL parse & testing it 2022-12-12 11:20:08 +02:00
ionutboangiu
4c9b5b5cbe Add *dispatcherS opt 2022-08-17 20:27:30 +03:00
adi
86d2f1476a Attemtps config change 2022-07-30 08:19:08 +02:00
adi
6c1c26be34 Added efs config 2022-07-13 19:24:50 +02:00
adi
7cfa7c2697 Logger config 2022-06-29 12:00:42 +02:00
porosnicuadrian
94292cc35b Added opts exporterIDs to analyzers + tests 2022-05-13 08:30:29 +02:00
ionutboangiu
25b5ad22ac Add opts field containing exporterIDs in GeneralCfg 2022-05-06 20:49:11 +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
andronache98
03793c0082 Removed storDB from config 2022-03-09 14:14:30 +01:00
porosnicuadrian
cafa791a11 Changed TpeS to TPeS 2022-03-03 20:35:24 +02:00
porosnicuadrian
4de3b13c12 Added tpes infrastructure and ping method 2022-03-02 11:47:22 +02:00
ionutboangiu
a927220fdb Rename ItemOpt structs to ItemOpts and repair its diff function 2022-01-14 18:15:59 +01:00
ionutboangiu
46c04410b9 Add MaxItems opt for routes 2022-01-10 19:59:10 +01:00
porosnicuadrian
40c6b6ac29 Modified prometehus opts in stats 2022-01-06 08:20:21 +01:00
porosnicuadrian
7bf007da5b Added prometheusMetrics in stats config 2022-01-03 12:25:42 +01:00
ionutboangiu
9d62d65200 Fix routes' profileCount type 2021-12-03 11:15:05 +01:00
Trial97
96e50f3962 Added config infrastructure for the new loaders 2021-11-16 13:05:40 +01:00
Trial97
6fe79e016e Added *roundingDecimals for GetQueueStringMetrics API 2021-11-08 17:03:58 +02:00
ionutboangiu
75353e759d Make ers opts into structs 2021-11-01 13:51:02 +02:00
ionutboangiu
32c9550bcb Make ees opts of type struct 2021-11-01 13:51:02 +02:00
porosnicuadrian
c2f9e0ae3f New verify in sanity for *rpc exporter 2021-10-28 18:04:47 +03:00
ionutboangiu
b0cac1b6ee Revise usage of httpcfg's transport and fix tests 2021-10-22 12:05:22 +03:00
ionutboangiu
9ba6df7fc0 Make ClientOpts of type struct in httpcfg 2021-10-22 12:05:22 +03:00
ionutboangiu
21bb1f27df Remove unused fields and rename some of the opts 2021-10-20 16:54:58 +03:00