ionutboangiu
1630bc7aa3
Slightly revise formatting for dispatchers docs
2024-10-29 18:56:29 +01:00
ionutboangiu
52c52df6dd
Define a separate func for the diamErr constructor
...
Added back the warning logs for backwards compatibility.
Now passing err.Error() as Error-Message AVP where applicable.
Added comments and revised err messages.
2024-10-29 18:53:22 +01:00
ionutboangiu
aad5c4a66f
Add benchmark for diameter+caps
2024-10-29 18:53:22 +01:00
ionutboangiu
5fd8e50f98
Allow benchmarks to use the testing suite
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
e78654716d
Add DispatcherS component documentation
2024-10-23 20:26:28 +02:00
armirveliaj
05baa9fd86
Add && revise new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
90ec7d15a2
Add new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
9a531776d0
Add new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
1a38e51a5d
Add new API: RankingSv1.GetRankingSummary
2024-10-23 20:25:07 +02:00
DanB
14292a77ea
RankingSummary structure, LastUpdate timestamp inside Ranking struct, Ranking documentation
2024-10-18 18:53:58 +02:00
gezimbll
2e192dde78
added trend dynamicDP in filters and GetTrendSummary API
2024-10-18 16:24:02 +02:00
DanB
dd59fcb553
computeRanking and V1GetRanking functions
2024-10-17 17:36:35 +02:00
DanB
8c68763020
Adding comments to trends and rankings defaults
2024-10-17 16:50:30 +02:00
DanB
e3f5b2f264
Protect Trend.asTrendSummary method
2024-10-17 16:15:39 +02:00
DanB
bb42cbac42
TrendSummary implementation
2024-10-17 16:12:42 +02:00
gezimbll
88805ac074
added get/set methods for ranking in datamanager
2024-10-17 15:54:53 +02:00
DanB
c1b0efd455
Adding reversed logic for sortingParams in RankingS
2024-10-17 14:37:54 +02:00
DanB
27ea475984
Adding RankingS Ascendent Sorter
2024-10-17 13:46:23 +02:00
DanB
ec23771789
Enhanced TestRankingDescSorterSortStatIDs
2024-10-17 13:20:26 +02:00
DanB
8b0279d341
Completing rankingDescSorter
2024-10-17 13:07:01 +02:00
gezimbll
1765be1247
modified ranking csv and model
2024-10-17 12:17:21 +02:00
DanB
ed8ac2a317
Adding rankingSorter interface
2024-10-16 20:09:24 +02:00
DanB
4d7cb6c88a
Basic RankingS implementation
2024-10-16 18:44:57 +02:00
arberkatellari
762896c3d7
Revize authorization denial handling for sample FS dialplans
2024-10-16 18:44:36 +02:00
armirveliaj
a6d2a03dfd
Adding rankings to config_defaults
2024-10-16 18:44:11 +02:00
ionutboangiu
ec301b1c9d
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-10-16 18:43:34 +02:00
ionutboangiu
dd95a2837a
Revise registrarc integration test
2024-10-16 18:43:34 +02:00
ionutboangiu
531affc8ae
Update test helpers
...
- added support for dynamic configuration for dbs
- ConfigJSON field can now be used to partially overwrite an existing
configuration
- extra cgr-engine flags can now be passed to the Run method
- added default db configs for mongo/internal
- implemented helper to load using cgr-loader
2024-10-16 18:43:34 +02:00
ionutboangiu
ab02a8a8dd
Bump go version (1.22.5 -> 1.23.2)
...
needed for io.CopyFS function
2024-10-16 18:43:34 +02:00
ionutboangiu
b05ed15f25
Fix vet check errors and conflicts
2024-10-16 12:24:54 +02:00
ionutboangiu
429388367a
Add relevant build constraints to engine/libtest.go
...
To skip this when compiling cgr-engine.
2024-10-16 12:24:54 +02:00
ionutboangiu
d4e4facc6b
Revise NewRPCClient helper function
2024-10-16 12:24:54 +02:00
ionutboangiu
89dfc3e3d0
Centralize test RPC client constructor
...
For now, done only for general_tests
2024-10-16 12:24:54 +02:00
ionutboangiu
b7561497c7
Remove global err variable (general_tests)
...
Prevents compilation errors from tests moved to
flaky that use it.
2024-10-16 12:24:54 +02:00
ionutboangiu
4ec26a4996
Move test cgr-engine helpers to engine package
2024-10-16 12:24:54 +02:00
gezimbll
d50114fcbc
moved trend compressing in datamanager
2024-10-14 17:10:16 +02:00
armirveliaj
51e376d59b
Add new unit tests on engine && config
2024-10-14 17:06:29 +02:00
arberkatellari
2f05395ec1
Add cgr_max_usage variable to fsagent
2024-10-14 17:05:46 +02:00
armirveliaj
2137e141f6
Add coverage tests on engine
2024-10-14 16:04:06 +02:00
armirveliaj
4bf49be2be
Add new unit tests on TrendS
2024-10-14 16:04:06 +02:00
ionutboangiu
2b8a8676b6
Update CI workflow names
2024-10-14 16:03:21 +02:00
ionutboangiu
9aad1582f5
Update CI badges and add integration tests badge
2024-10-14 16:03:21 +02:00
ionutboangiu
c11b38ace0
Add paths-ignore to skip CI for docs and README changes
2024-10-14 16:03:21 +02:00
ionutboangiu
520dca3204
Add tests for load balancing to multiple workers
2024-10-14 16:02:41 +02:00
gezimbll
3dccb44511
added compressing for metrics on trends
2024-10-14 16:01:32 +02:00
gezimbll
69f4f08770
added integration tests for trend event to thresholds,EEs && fixes
2024-10-14 16:01:32 +02:00
ionutboangiu
0a89b131be
Add service toggle integration test
2024-10-08 20:53:36 +02:00
ionutboangiu
14e602452c
Update rcvr name for TestEngine.Run method
2024-10-08 20:53:36 +02:00
ionutboangiu
6bc162cbc1
Register Ping method for ERs
2024-10-08 20:53:36 +02:00