Commit Graph

95 Commits

Author SHA1 Message Date
ionutboangiu
3254e0d35f Export RSRParser Path field
configsanity and its tests need access to it
2025-02-24 13:36:32 +01:00
ionutboangiu
b1a5874215 Move config/rsrparser.go to utils package 2025-02-24 13:36:32 +01:00
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +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
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
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +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
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
6fbf001116 Add and improve coverage tests 2023-02-27 09:14:19 +01:00
adi
fe3d34639a Fixed tests of cache 2022-09-19 16:39:47 +02:00
ionutboangiu
e98f230f04 Change type name from Blockers to DynamicBlockers 2022-05-10 17:05:31 +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
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
52a1902c65 Make APIAttributeProfile Weights field of type DynamicWeights 2022-02-20 10:37:19 +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
aaada9da07 Fixed tests 2022-02-06 09:52:26 +01:00
andronache98
ff9257fd64 Repaired most tests 2022-02-06 09:52:26 +01:00
andronache98
88b57840c0 Fixed most tests related to change from Weight to Weights for AttributeProfile 2022-02-06 09:52:26 +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
andronache98
6727c0916f Test for attributes 2022-01-09 14:46:55 +01:00
Trial97
f25acdaf77 Added tests for all Set methods 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
andronache
b6b094391c Attributes tests in engine 2021-12-03 11:13:55 +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
6d193ad97a Some cover tests in engine for attributes 2021-11-02 18:35:13 +02:00
andronache
74587b992e Some cover tests for engine 2021-11-02 10:29:22 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
27ea25a838 Fixed test for attributes with opt MetaProfileIgnoreFilters 2021-10-20 16:54:20 +03:00
ionutboangiu
8e2fa41705 Fix failing tests after merge 2021-10-19 09:18:36 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
andronache
08b061f9cd Moved unncessary test 2021-10-18 18:03:13 +03:00
andronache
6dbdc01c90 Removed unnecessary test file 2021-10-18 18:03:13 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
Trial97
87ce843810 Updated services 2021-09-13 16:08:39 +02:00
ionutboangiu
a2829a3f1a Add AttributeIDs to opts struct 2021-09-12 13:23:08 +02:00
Trial97
d3f58e311d Added profile_runs in attributes 2021-09-07 17:04:05 +02:00
ionutboangiu
6d091ea30e Add default_opts for attributes 2021-08-26 18:09:25 +02:00
Trial97
af9e9913cd Updated routes matching 2021-08-26 16:48:48 +02:00
porosnicuadrian
0b9e9762ee Fixed test.sh 2021-08-24 20:19:53 +02:00
porosnicuadrian
8c762e8e7e MOved attrbiute test + clear cache for compute indexes 2021-08-24 20:19:53 +02:00