Commit Graph

704 Commits

Author SHA1 Message Date
ionutboangiu
d22727782e change IP API methods from plural to singular 2025-06-03 16:07:28 +02:00
ionutboangiu
805ae5d916 integrate ips with sessions (incomplete) 2025-06-01 14:04:28 +02:00
ionutboangiu
6557c13b61 remove unused chargers conn in test
to prevent errors due to chargers not being enabled
2025-05-26 08:22:23 +02:00
ionutboangiu
8d8af20ee1 ensure MaxAbstracts reply is the right type
to prevent panic while using *internal conn
2025-05-26 08:22:23 +02:00
arberkatellari
5847ceab00 Add and revise tests for offline internal DB 2025-05-13 17:07:17 +02:00
ionutboangiu
ac0b43a218 update session basics test 2025-05-12 17:31:19 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes 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
gezimbll
2f808badb7 added cache parameter in Get*Opts methods 2025-03-12 15:24:18 +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
armirveliaj
d2c175141f Add coverage tests on SessionS 2025-02-13 19:17:20 +01:00
armirveliaj
ae8564ad50 Add coverage tests on sessionS 2025-02-07 13:26:56 +01:00
armirveliaj
6928674716 Add coverage tests on SessionS 2025-02-07 13:26:56 +01:00
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
gezimbll
c602dbc2a5 added rsparser field in dynamicOpts
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
armirveliaj
aea5fb0f18 Fix compilation errors 2025-01-13 13:39:50 +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
DanB
4025e5a34b Sessions struct changes 2025-01-10 20:14:45 +01:00
ionutboangiu
26910c5c01 Change build tag for basics_it_test.go (temp)
currently depends on local cfg files
2025-01-08 20:32:55 +01:00
ionutboangiu
96c957ba1c Format sessions/basics-it-test.go file 2025-01-08 20:32:55 +01:00
DanB
39952a3388 SessionS Authorize and ProcessCDR methods tested 2024-12-30 19:55:42 +01:00
ionutboangiu
3e98e37db3 Revise NewRPCClient helper function 2024-10-23 21:11:25 +02:00
ionutboangiu
ede004bc44 remove deprecated rand.Seed calls 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
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
gezimbll
32ed816de7 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions 2023-11-01 21:38:27 +01:00
ionutboangiu
efcb32741a Run gofmt 2023-09-28 20:48:39 +02: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
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
1e51b6d73f Unified constants for subsystem/removed big S 2022-09-25 12:16:25 +02:00
adi
523bfde23e Removed DataProvider func and improved GetBoolOpts args 2022-09-25 12:16:25 +02:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
adi
fe3d34639a Fixed tests of cache 2022-09-19 16:39:47 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
70ea038f08 Update FibDuration function 2022-07-03 13:08:52 +02:00
porosnicuadrian
8e7c7d1c75 Improved chargers reply for attributes 2022-04-20 10:35:59 +02:00
ionutboangiu
4fb2f7dc0b Return nil instead of NOT_FOUND if no opts pass the filters 2022-03-09 17:26:35 +01: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
porosnicuadrian
c7092cc0df Renamed AteredFields + updated uniqueALteredFields method 2022-03-01 15:51:07 +02:00
porosnicuadrian
75fc37db2c renamed into Filters + uniqueAlteredFields 2022-02-25 14:38:26 +01:00
porosnicuadrian
bf5c694ecd Combined matchedProfile and alteredField for attributes 2022-02-24 17:28:38 +01:00
andronache98
24a1531c5b Modified tests using *originID in Event 2022-02-06 09:52:26 +01:00
andronache98
bb30b65ef5 Fixed tests using originID in event instead of opts 2022-02-06 09:52:26 +01:00