DanB
dfc1ed0f0b
Completing TrendS documentation for readthedocs
2024-10-06 17:59:25 +02:00
ionutboangiu
796b508353
Improve dispatcher tests (incomplete)
2024-10-05 20:35:45 +02:00
ionutboangiu
1ab7f80d50
Improve engine setup helpers
...
- added hook support (executed after parsing config but before starting
engine)
- made db resets configurable
- merged config parsing helper with the main Setup function
- renamed TestEnvironment.Setup -> TestEngine.Run as it represents the
setup for a single cgr-engine instance
- removed engineDelay parameter. Added helper to wait up to 200ms for
the APIerSv1 service to be up and running to prevent 'can't find
service' errors.
- replaced t.Log with t.Error for engine process kill error
- improved option comments
2024-10-05 20:35:22 +02:00
armirveliaj
8733082fbc
Add new unit tests on libtrends
2024-10-05 20:34:43 +02:00
DanB
86ed9e932b
Alpha code for TrendS
2024-10-05 20:30:22 +02:00
DanB
bb6f9ca5ae
TrendS scheduleAutomaticQueries function
2024-10-03 18:41:11 +02:00
gezimbll
06a9e1b661
changed DataManager.GetTrendProfiles to GetTrendProfileIDs with new signature
2024-10-03 17:43:26 +02:00
DanB
28eb68241c
Small trend customisations
2024-10-02 21:28:59 +02:00
DanB
149ccc3eac
Trend.tMux as struct instead of pointer
2024-10-02 19:04:09 +02:00
gezimbll
f0598b050b
added unit test for Trend.cleanup && updated TestTrendSchedule
2024-10-02 16:15:27 +02:00
gezimbll
b134df83b7
added it tests and new APIs for TrendS
2024-10-01 20:05:29 +02:00
armirveliaj
d9a5458a43
Add new trends config option: scheduled_ids
2024-10-01 20:04:22 +02:00
ionutboangiu
769293d4db
XML rdr: use rowNr instead of reqVars for line nr
2024-09-26 17:33:16 +02:00
ionutboangiu
2e97cedc0c
Add test for ERs *fileLineNumber *vars field
2024-09-26 17:33:16 +02:00
DanB
a30286667a
Renaming V1ScheduleTrendQueries to V1ScheduleQueries to avoid repetition in API name
2024-09-24 20:26:57 +02:00
DanB
68a5a76b93
Adding TrendS.V1ScheduleTrendQueries API
2024-09-24 20:17:11 +02:00
DanB
52523d0a73
TrendS - cleanup method
2024-09-24 16:32:50 +02:00
arberkatellari
3df926c642
Improve V1ReprocessCDRs flags handling
2024-09-24 12:29:41 +02:00
armirveliaj
085365e35d
Revise redundant error handling in StatQueue rem methods
2024-09-24 09:24:35 +02:00
ionutboangiu
01dd4696cf
Fix flaky nats integration test
...
Was failing on the Jetstream JWTAuth case with error:
nats: API error: code=500 err_code=10047 description=insufficient
storage resources available
The issue was with the previously generated credentials. Generated
them again and added the program used as a comment at the end of
the file for future reference"
2024-09-23 11:54:13 +02:00
arberkatellari
bd6f5c661d
Add *eventTimestamp for EES
2024-09-23 11:52:31 +02:00
arberkatellari
c7e7634189
Add CDRsV1.ReprocessCDRs
2024-09-23 11:52:31 +02:00
armirveliaj
407f5fa062
Add new unit tests on apier/v1
2024-09-23 11:51:47 +02:00
armirveliaj
4b35d74a29
Add new unit tests on engine and config
2024-09-23 11:51:47 +02:00
armirveliaj
b523024ca2
Add new coverage tests on migrator and config
2024-09-23 11:51:47 +02:00
gezimblliku
bfba6c6f74
updated trendprofile model structure
2024-09-23 11:51:18 +02:00
ionutboangiu
fb9e69e812
Remove forced file logging from cgr-engine helper
2024-09-23 11:47:06 +02:00
armirveliaj
68b84d2ad3
Add new unit tests on cores
2024-09-17 18:18:02 +02:00
armirveliaj
1ad1b3d7d9
Add unit tests on engine
2024-09-17 18:18:02 +02:00
gezimblliku
187ac2e0c9
updated profile and model fields for trends
2024-09-17 18:17:28 +02:00
ionutboangiu
486fdf54a1
sessions: auth pseudoprepaid ProcessMessage requests
...
Previously, only *prepaid requests were authorized, for every other
request type, the default usage was used.
2024-09-17 18:16:45 +02:00
arberkatellari
bcb089822f
Add APIerSV1TimingIsActiveAt
2024-09-17 18:13:41 +02:00
DanB
347fe7f6ed
TrendS with separate variable for Mutex, to keep vet happy
2024-09-16 21:14:46 +02:00
DanB
6e84b555be
Updating TrendS with getTrendGrowth function
2024-09-16 21:01:42 +02:00
arberkatellari
f6879d1a24
Revise SetActions APIs
2024-09-16 20:59:38 +02:00
DanB
bc33821010
Finalising TrendS.computeTrend plus tests for GetTrendLabel
2024-09-14 21:05:53 +02:00
DanB
98818c3560
TrendS.computeTrend implementation
2024-09-13 21:31:53 +02:00
armirveliaj
d4e99419a5
Add coverage tests on engine
2024-09-13 21:29:23 +02:00
armirveliaj
4a10f164e3
Add coverage tests on engine
2024-09-13 21:29:23 +02:00
armirveliaj
f669be786a
Add coverage tests on engine
2024-09-13 21:29:23 +02:00
armirveliaj
de77f9b363
Add coverage tests on engine
2024-09-13 21:29:23 +02:00
armirveliaj
1854afd74d
Add coverage tests on agents and config
2024-09-10 21:10:24 +02:00
gezimblliku
7131698daf
updated processEEs to pass metrics in a map to event
2024-09-10 21:09:57 +02:00
armirveliaj
7560328388
Add coverage tests on ers and config
2024-09-10 13:20:39 +02:00
armirveliaj
03e5ee65ac
Add coverage tests on engine
2024-09-10 13:20:39 +02:00
gezimblliku
b56220933a
added ees_conns on stats
2024-09-10 13:20:05 +02:00
DanB
569ddd1956
Basic structure of TrendS using cron as scheduler
2024-09-09 20:53:51 +02:00
arberkatellari
932e86aa53
Revise balance blockers
2024-09-09 18:36:31 +02:00
ionutboangiu
62c30ab539
improve CoreSv1.Status API with more detailed metrics
...
- add new metrics (off by default)
- add Debug boolean option for full metric details
- add Timezone option for 'running_since' field
- update default metrics shown and their constants
- remove utils.GetStartTime(), now use process metrics
2024-09-09 16:47:38 +02:00
arberkatellari
98f770c61b
Adjust balance timing test
2024-09-06 18:29:23 +02:00