ionutboangiu
e7152dacf8
Implement ConnManager service
...
Use it to register internal rpc conns instead of ServManager
DispatcherS now waits for AttributeS to start (only when enabled)
2025-01-14 19:00:37 +01:00
armirveliaj
9728908c56
Revise tests for sessions
2025-01-13 17:51:43 +01:00
armirveliaj
aea5fb0f18
Fix compilation errors
2025-01-13 13:39:50 +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
armirveliaj
8921bf8b99
Revise && add new unit tests
2024-12-20 18:01:15 +01:00
ionutboangiu
cfdb3e80ca
Integrate state deps across services for SERVICE_UP
2024-12-04 19:28:50 +01:00
gezimbll
1c6c733a3f
added dispatcher methods for rankings and trends
2024-11-22 20:29:27 +01:00
gezimbll
bb0116c543
added it test && loaders templates for ranking and trend profiles
2024-11-22 20:29:27 +01:00
ionutboangiu
ad104573e9
Remove concurrent_requests diameter opt
...
Will be replaced by caps.
2024-11-04 21:22:58 +01:00
gezimbll
132a2b3bf9
rankings,trends: added implementation,services and tests
2024-11-04 19:03:21 +01:00
ionutboangiu
0dfe689d8e
Add postgres stor_db SSL opts
2024-11-03 13:19:45 +01:00
ionutboangiu
b2e25047bb
Improve alignment inside config_defaults file
2024-11-01 15:59:39 +01:00
ionutboangiu
a251547408
Use correct consts for stordb types
2024-11-01 15:59:39 +01:00
ionutboangiu
ce856c7815
Add http pprof_path cfg option
...
Remove redundant http_pprof cgr-engine flag since runtime profiling is now
configurable within the http cfg section and is enabled by default
2024-11-01 15:59:39 +01:00
ionutboangiu
e0c05ecfa7
Add redis pipeline window and limit cfg opts
...
Set redisPoolPipelineWindow to control duration before pipeline
flush (0 disables implicit pipelining) and redisPoolPipelineLimit
for max commands per pipeline (0 means no limit, only time window
applies).
2024-10-29 18:54:51 +01:00
ionutboangiu
3666dea54e
Remove global CGRConfig used by tests
2024-10-29 18:54:51 +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
c69d5afc56
Add kafkaBatchSize configuration field
...
Avoids the default 1 second delay when the batch doesn't
reach 100 messages within that time.
Useful when the Kafka exporter is not cached, as it would
otherwise encounter that delay. Setting BatchSize to 1
prevents this.
2024-10-23 21:11:25 +02:00
armirveliaj
a6529e7879
Revise TrendS && RankingS config
2024-10-18 16:21:35 +02:00
armirveliaj
eead7f373b
Adding rankings section to config_defaults
2024-10-17 16:34:33 +02:00
armirveliaj
f839a678f3
Add new unit tests for rankings
2024-10-16 12:25:24 +02:00
armirveliaj
2a95c49d3b
Add new options to trends configuration
...
- store_interval
- ees_conns
- ees_exporter_ids
2024-10-08 20:52:19 +02:00
armirveliaj
37322e9c4c
Add coverage test for trendscfg
2024-10-01 20:04:54 +02:00
armirveliaj
5b039c1d0b
Add new trends config option: scheduled_ids
2024-10-01 20:04:54 +02:00
gezimblliku
d20f1a50fd
added ees_conns on stats
2024-09-24 10:41:18 +02: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
ionutboangiu
9236c8a1e7
Add method on ERsCfg to retrieve reader by ID
2024-09-23 20:28:26 +02:00
ionutboangiu
6ed3c5592d
Add reply_timeout field for FS event socket conns
2024-09-23 20:28:26 +02:00
ionutboangiu
87847f5028
Update xmldp sanity check test to check non-*req paths
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
gezimblliku
0f81b78321
updated trend profile && trends service implementation
2024-09-23 11:48:04 +02:00
ionutboangiu
0063ef3822
Add support for mongodb+srv conn format
...
Option can be found in db opts under the name 'mongoConnScheme'.
2024-09-05 20:46:40 +02:00
ionutboangiu
1c73e42307
Revise ERs event exporting
...
Make use of the previously added ees_success_ids and ees_failed_ids
configuration fields.
Remove Processed opts and everything related to them since they should
not be used anymore.
Fixed test compilation errors caused by the change.
2024-09-05 20:46:40 +02:00
ionutboangiu
4135760e9d
fix failing config integration tests
2024-09-05 20:46:40 +02:00
ionutboangiu
795fc18195
Add ees_conns field option for ERs section
...
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 (implementation
will follow).
Add config sanity checks for the added options.
2024-09-05 20:46:40 +02:00
ionutboangiu
dc53171ce2
Add reconnects and max_reconnect_interval config options for ers
...
They are separate for each configured reader.
Additional changes:
- rearrange config_defaults fields for ers/ees;
- add comment for RunDelay config option inside struct definition;
- improve comments for amqp opts in config_defaults.
2024-09-05 20:46:40 +02:00
ionutboangiu
bd691d8301
Adjust prefixes to skip when sanity checking xmlRootPath
...
Before everything starting with '~' was considered, but the check
should be done only with paths starting with '~*req'.
2024-09-05 20:46:40 +02:00
ionutboangiu
2f387b5a0e
chore: remove unnecessary parentheses
...
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +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
de5db4a938
Add caching_delay to config and loaders
2024-03-06 16:16:08 +01:00
arberkatellari
727f90fc6b
Add CAPs counting to cgr-console status command
2024-03-04 19:17:53 +01:00
arberkatellari
2e4d8bdcf4
Remove unnecessary LazySanityCheck
2024-01-06 17:12:02 +01:00
arberkatellari
ca01cbcd6b
Replacing old log_level from configs with new logger->level
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
3403a91a2b
Revise integration tests
2023-11-29 16:25:18 +01:00
gezimbll
32ed816de7
Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions
2023-11-01 21:38:27 +01:00