ionutboangiu
8037076ded
ers: remove redundant concurrency channel init
2025-11-20 11:35:29 +01:00
arberkatellari
89653a9c80
Add *redis DBType case to it_tests
2025-11-05 17:52:03 +01:00
arberkatellari
a3f25d1ec5
Adjust tests and sample json files
2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae
change license from GPLv3 to AGPLv3
2025-10-13 09:57:41 +02:00
arberkatellari
5847ceab00
Add and revise tests for offline internal DB
2025-05-13 17:07:17 +02: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
b1a5874215
Move config/rsrparser.go to utils package
2025-02-24 13:36:32 +01:00
ionutboangiu
3e98e37db3
Revise NewRPCClient helper function
2024-10-23 21:11:25 +02:00
ionutboangiu
e1adb674b8
Remove redundant dir parameter from processFile methods
...
Applies to both file readers and loader (for loader, the blank statement
was used anyway).
It's redundant because for file readers, the rdr.sourceDir value was
always passed as the parameter when it was already part of the method's
object.
Parameter had to also be removed from the WatchDir function and the
functions it depends on.
2024-09-23 20:28:26 +02:00
ionutboangiu
7998ed6a0f
Extract common dir processing logic to a func
...
It will be reused for all file readers.
Rename rdrDir field to sourceDir.
2024-09-23 20:28:26 +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
arberkatellari
c7221f0d1e
Add reader id within the *vars in ERs
2024-08-12 18:34:50 +02:00
gezimbll
009895f92a
revising integration tests
2024-06-07 17:18:23 +02:00
ionutboangiu
4c34d321de
Add sanity check to prevent xml reader panic
...
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).
If isAbsolute is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. Alternatively, if isAbsolute is false, it
will just return . to signal that the path currently
being processed is the one required.This avoids a nil
expr error coming from the xmlquery library.
Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.
Remove config default value for xmlRootPath. The field
will remain commented in config_defaults for reference.
Add tests for HierarchyPath.AsString function.
Add comments for XmlProvider and xmlRootPath opt.
Update XmlProvider String() func based on the comment
which specifies that it should display the already
parsed values out of cache.
2023-10-19 17:19:30 +02:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +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
74d8a61c15
Repaired most integration tests using storDB
2022-03-09 14:14:30 +01:00
andronache
7ab4167613
Corrected header in multiple files
2021-11-01 13:50:00 +02:00
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
nickolasdaniel
89b4f70413
Testing output of onEvicted function in ers without CacheDumpFields
2021-10-27 19:49:29 +03:00
Trial97
6a3f8ddc57
Updated config
2021-09-20 10:45:14 +02:00
Trial97
f96dfab0ab
Updated sessions opts constants
2021-08-26 16:48:48 +02:00
Trial97
d6a63611a2
Updated integration tests
2021-06-11 13:11:00 +02:00
Trial97
e1b21983c4
Updated Threshold handling in datamanager
2021-05-26 15:54:36 +02:00
Trial97
d868c0a5f0
Added partial reader
2021-05-19 15:54:14 +02:00
ionutboangiu
a19093e95b
Remove unused variables and functions in engine
2021-04-02 14:57:32 +02:00
Trial97
5353b95e43
Updated go version and replaced ioutil package
2021-03-18 16:46:55 +01:00
Trial97
06e4fd13c3
Updated integration tests
2020-12-09 17:00:04 +01:00
Trial97
4355b07028
Renamed ERs *default folders
2020-06-04 16:59:53 +02:00
adragusin
025f6bd0a4
Updated all APIs from V2 with pointers args
2020-05-28 15:35:47 +02:00
TeoV
eaa3469aa2
Add test for *json type for ERs
2020-04-01 16:27:55 +02:00
adragusin
3eaf3232a1
Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2
2020-01-30 14:06:48 +01:00
adragusin
35e5fb2f9d
renamed dbType *sql to *mysql
2020-01-29 16:54:54 +01:00
TeoV
e7f95a98f3
Add Flastore Support in ERs
2020-01-22 11:06:43 +02:00
Dan Christian Bogos
cc9dab3ae3
Merge pull request #1882 from adragusin/master
...
Removed directions from templates
2020-01-21 14:25:23 +01:00
adragusin
3a1104ff01
Removed directions from templates
2020-01-21 13:36:07 +02:00
TeoV
0d796fd416
Finish implementing partial CDR in ERs
2020-01-21 11:31:59 +02:00
adragusin
a836232021
Updated it tests
2020-01-15 10:45:59 -05:00
TeoV
4f9d5cb7e7
Add fwv type in event reader
2020-01-13 08:00:28 -05:00
TeoV
4ea9cd3a48
Add XML to EventReader and test for it
2020-01-11 14:52:37 +02:00