Commit Graph

177 Commits

Author SHA1 Message Date
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
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
gezimbll
1c6c733a3f added dispatcher methods for rankings and trends 2024-11-22 20:29:27 +01:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
gezimbll
368c046805 added *http filter type 2024-02-09 15:59:00 +01: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
arberkatellari
c8b9ae6732 Initialized map in attributes 2022-12-02 18:41:55 +02:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +02:00
porosnicuadrian
6561d4d110 New AttributeBlocker 2022-04-27 17:49:14 +02:00
porosnicuadrian
b16b44732e Modified blocker into Blockers for attributes 2022-04-21 15:27:27 +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
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
93a5e66774 Renamed AlteredFields into Fields 2022-02-25 14:38:26 +01:00
porosnicuadrian
bf5c694ecd Combined matchedProfile and alteredField for attributes 2022-02-24 17:28:38 +01:00
ionutboangiu
c6ca3573ae Add APIAttributeProfile and structs related to it 2022-02-17 21:14:48 +02:00
ionutboangiu
6612b461c4 Remove APIAttributeProfile and all structs related to it 2022-02-07 20:05:36 +01:00
andronache98
3ed0e7eaa2 Changed Weight to Weights of type DynamicWeights in AttributeProfile 2022-02-06 09:52:26 +01:00
porosnicuadrian
e2024aaa5c Udapted matchingAttributeForEvent 2022-01-20 21:03:47 +01:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
ionutboangiu
ff474cf16c Encrypt the value for *password type attributes (update) 2022-01-13 17:24:22 +01:00
ionutboangiu
da80005a60 Encode the value for *password type attributes 2022-01-13 17:24:22 +01:00
Trial97
a826209834 Updated integration tests 2021-12-21 15:05:44 +01:00
Trial97
a36587a53e Added back most of the dispatchers APIs 2021-12-20 16:17:24 +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
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
0c367f1ac7 Rename Attribute opts field from IDs to profileIDs 2021-10-18 18:09:44 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
Trial97
e1701b314e Added *profileIgnoreFilters for rates 2021-10-11 12:06:57 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
porosnicuadrian
25ed4f63ea Fixed session volume test 2021-10-05 08:31:39 +02:00
ionutboangiu
1a4e73a8c6 Fix the compilation errors in non test files (incomplete) 2021-10-04 11:29:37 +02:00
ionutboangiu
4c71c77cdb Remove unneeded verification and refactor test 2021-09-12 13:23:08 +02:00
ionutboangiu
a2829a3f1a Add AttributeIDs to opts struct 2021-09-12 13:23:08 +02:00
ionutboangiu
1d168b196e Add ProcessRuns and ProfileRuns to opts struct in attributes 2021-09-12 13:23:08 +02:00
Trial97
d3f58e311d Added profile_runs in attributes 2021-09-07 17:04:05 +02:00
Trial97
cec7899bc9 Updated DynamicDP to use AccountSv1 for account 2021-08-30 17:53:42 +03:00
ionutboangiu
6d091ea30e Add default_opts for attributes 2021-08-26 18:09:25 +02:00
ionutboangiu
7b7d46251a Implement new function that splits filter rules 2021-07-23 10:59:18 +02:00
ionutboangiu
f0727e12f9 Add tests for *sipcid case from ParseAttribute function 2021-07-13 13:44:47 +02:00
Trial97
fbdac6f42c Added tenant to the MatchedProfiles reply in attributes 2021-07-09 16:32:49 +02:00
Trial97
28425b99da Renamed attributes vars fields 2021-07-09 16:32:49 +02:00
Trial97
b41d9ae2d6 Added ProcessedProfileIDs in vars for attributes 2021-07-08 16:43:18 +02:00
Trial97
5350eb5d9a Updated *sipcid 2021-07-08 16:43:18 +02:00