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
ionutboangiu
18a11ceef3
Trigger workflows on push events
2024-10-08 20:49:35 +02:00
ionutboangiu
bfd83b51f5
Add possibility to manually trigger workflows
...
and bump workflow go version
2024-10-08 20:49:35 +02:00
gezimbll
e518e7b913
Integration test for scheduleAutomaticQueries && api for scheduled trends
2024-10-08 20:49:13 +02:00
DanB
9c05a5817e
Updating TrendS with proper StoreInterval and EEsConns from configuration
2024-10-07 20:45:32 +02:00
armirveliaj
fbdc789f5c
Add new options to trends configuration
...
- store_interval
- ees_conns
- ees_exporter_ids
2024-10-07 20:03:38 +02:00
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