Commit Graph

497 Commits

Author SHA1 Message Date
ionutboangiu
805ae5d916 integrate ips with sessions (incomplete) 2025-06-01 14:04:28 +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
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
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
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
DanB
39952a3388 SessionS Authorize and ProcessCDR methods tested 2024-12-30 19:55:42 +01:00
ionutboangiu
ede004bc44 remove deprecated rand.Seed calls 2024-09-05 20:46:40 +02:00
gezimbll
32ed816de7 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions 2023-11-01 21:38:27 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22: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
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
bb30b65ef5 Fixed tests using originID in event instead of opts 2022-02-06 09:52:26 +01:00
andronache98
2e4b77e4df Commented CGRID where it is not needed 2022-02-06 09:52:26 +01:00
andronache98
ebfd371bb7 Removed CGRID from Session struct 2022-02-06 09:52:26 +01:00
andronache98
23a7d846f5 Changed processing of CGRIDs in multiple places 2022-02-06 09:52:26 +01:00
andronache98
06d075304b Renamed GetSetCGRID to GetSetOptsOriginID 2022-02-06 09:52:26 +01:00
andronache98
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
andronache98
c804a93166 Changed CGRID location from Event to APIOpts 2022-02-06 09:52:26 +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
Trial97
84a63360db Updated sessions structure 2021-11-08 17:03:58 +02:00
Trial97
624ee9ef46 Updated session replication 2021-11-04 20:06:52 +02:00
ionutboangiu
b80a318df0 Add context parameter to setSTerminator function in sessions 2021-10-27 19:48:21 +03:00
ionutboangiu
5a92ce47cb Remove unnecessary err declaration 2021-10-22 12:05:22 +03:00
ionutboangiu
9f739b16ec Refactor in order to get opts using the libfilters functions in sessions 2021-10-20 16:54:58 +03:00
andronache
1e080a7123 RunID is not longer added to event but to APIOpts 2021-10-20 16:54:20 +03:00
ionutboangiu
428a63eb5b Add opts for sessions subsystem (cont.) 2021-10-18 10:36:16 +03:00
ionutboangiu
a4caeb1e38 Fix typo (alocate -> allocate) 2021-10-18 10:36:16 +03:00
ionutboangiu
548dd79742 Add opts for sessions (continued) 2021-10-15 10:59:19 +03:00
ionutboangiu
75335ba553 Add opts struct with some of the options for sessions 2021-10-15 10:59:19 +03:00
porosnicuadrian
3ee187c5a9 No more external in accounts apis 2021-10-11 17:41:34 +03:00
Trial97
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 2021-10-11 12:06:57 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
Trial97
6bff7dfb9b Updated Redis storage 2021-10-08 11:12:50 +03:00
Trial97
6ada20b632 Added protection for missing Event in Sessions 2021-10-05 21:01:26 +02:00
Trial97
5d540bc179 Updated Sessions Auth API 2021-10-05 21:01:26 +02:00
porosnicuadrian
287730b6cc Finished session volume discount test 2021-10-04 17:38:49 +02:00
ionutboangiu
c63e0bff5f Add filterS field in the SessionS object 2021-10-04 13:37:36 +02:00
porosnicuadrian
b311fede51 Updated accoutns code for cost increment + tests 2021-10-04 11:30:36 +02:00
Trial97
f801d747e2 Updated sessions and cdrs flag handling 2021-10-01 13:32:42 +02:00