Commit Graph

80 Commits

Author SHA1 Message Date
ionutboangiu
a66c472a36 sessions: rename jsoncfg obj fields to camel case 2025-06-01 14:04:28 +02:00
arberkatellari
5847ceab00 Add and revise tests for offline internal DB 2025-05-13 17:07:17 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
0b26559d1f move chargers to dedicated package 2025-03-16 16:28:30 +01:00
ionutboangiu
24d886c8e0 Pass CGRConfig to DataManager
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
17405af987 Revise service manager logs
Logging is now done as ServiceManager level. Removed any other logs.
2025-01-10 20:18:08 +01:00
ionutboangiu
b7038dd61e Rename AnalyzerS constructor
NewAnalyzerService -> NewAnalyzerS
2024-11-14 17:48:09 +01:00
ionutboangiu
3e98e37db3 Revise NewRPCClient helper function 2024-10-23 21:11:25 +02:00
ionutboangiu
fe1a2a13bd Update bleve library to latest version 2024-09-25 20:58:51 +02:00
ionutboangiu
b5362f89ef Optimize and fix unstable tests
Revise backup loop tests to not rely on time.Sleep anymore and remove
unused fields from them.

Optimize some analyzers tests.
2024-09-25 20:58:51 +02:00
ionutboangiu
aa5069e16e Remove go type limits constants
They can be retrieved directly from the std math package.
Slightly optimize the Fib functions and improve comments.
2024-09-05 20:46:40 +02:00
ionutboangiu
0f70af84e9 centralize test flags for shared use across tests 2024-08-15 18:17:33 +02:00
ionutboangiu
0dfb3b860d Centralize RPCClient constructor 2024-08-15 18:17:33 +02:00
ionutboangiu
1ef2afaa97 Update/remove dependencies
Remove cenkalti/rpc2 dependency and update client constructor.
Commented tests that only start and stop engine.

Fixed compilation errors caused by Azure/go-amqp update.

Remove cgrates/ugocodec dependency since we have everything
we need in ugoriji/go/codec and add tests for it.
2023-11-15 14:03:21 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
3e22cef9cb Revise integration tests after StorDB addition 2023-05-03 10:05:28 +02:00
ionutboangiu
5bf67119ad Increase analyzer search hits maximum size 2022-09-13 18:47:47 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
70c7fca03f Use rand instead of GenUUID when composing index id 2022-08-05 14:30:45 +02:00
ionutboangiu
b8fee3f007 Solve indexing for calls that share methods + tests 2022-08-05 14:30:45 +02:00
ionutboangiu
6bcb9b0008 Switch from redis keys to scan for GetKeys driver + tests and fixes 2022-07-19 17:17:33 +02:00
porosnicuadrian
540dead69c Analyzer it test 2022-04-20 10:35:59 +02:00
porosnicuadrian
8e7c7d1c75 Improved chargers reply for attributes 2022-04-20 10:35:59 +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
e2901630c9 Removed json files using stordb 2022-03-09 14:14:30 +01:00
andronache98
47f0017970 Refactored integration tests 2022-02-20 10:38:07 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
Trial97
f1bb562b34 Finished cover tests for loaders 2021-11-16 13:05:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
andronache
f737256675 Fixed integration test 2021-11-11 12:21:43 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
nickolasdaniel
e104c2d297 Unit testing for utils 2021-10-08 11:09:55 +03:00
nickolasdaniel
44c41add6a Fixed tests so that now loading can be made through the AnalyzerS API 2021-10-08 11:09:55 +03:00
nickolasdaniel
56518262a1 Enabled API for AnalyzerS 2021-10-08 11:09:55 +03:00
Trial97
0c51a3ee32 Updated analyzers 2021-09-20 10:45:14 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
Trial97
7fa6ea769c Added support for in memory db for analyzers 2021-09-15 10:06:13 +02:00
Trial97
f96dfab0ab Updated sessions opts constants 2021-08-26 16:48:48 +02:00
Trial97
806485c4f4 Updated analyzers V1StringQuery 2021-07-16 17:04:54 +02:00
Trial97
07a9586543 Updated analyzers index key 2021-07-15 18:41:08 +02:00
Trial97
8585cd940a Added tests for analyzers over birpc 2021-07-15 18:41:08 +02:00
Trial97
7a2d234108 Updated caps for birpc server 2021-07-15 18:41:08 +02:00
ionutboangiu
f3c4d659df Remove Time field from CGREvent and fix failing tests 2021-05-19 19:27:43 +02:00
Trial97
cfbe6e709d Added AdminSv1 service 2021-04-13 13:35:03 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
ionutboangiu
a19093e95b Remove unused variables and functions in engine 2021-04-02 14:57:32 +02:00
andronache
d88f112f2e Resolved redundencies 2021-04-01 16:36:51 +02:00