ionutboangiu
79f824c575
Add support for Git 2.45+ iso-strict date format
...
Git 2.45+ introduced a backward incompatible change in the iso-strict
date format, showing time in the Zulu timezone with Z suffix instead
of +00:00. This commit adds parsing for the new date format before
falling back to the old format.
Revise GetCGRVersion error messages.
Revise GetCGRVersion unit test.
2024-06-30 17:54:25 +02:00
Bas Couwenberg
915733e04e
Pass commit date and hash to -ldflags separately.
2024-02-27 16:27:07 +01:00
ionutboangiu
6b831d3ba3
Make Paginate function generic
...
Also move the paginator implementation and its tests to their
own files.
2023-11-09 20:50:36 +01:00
gezimbll
32ed816de7
Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions
2023-11-01 21:38:27 +01: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
arberkatellari
fcaa3fb360
Make RandomInteger() return int64
2023-07-21 09:03:22 +02:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02:00
ionutboangiu
0653e9b5d7
Apply go fmt
2022-08-24 09:32:23 +03:00
ionutboangiu
09c6261903
Fix issue where fib function overflows
2022-08-05 14:30:45 +02:00
adi
0eb61c965a
Efs tests + improves
2022-07-30 08:19:08 +02:00
adi
da358161a7
EFs service to logger/ees and APIS
2022-07-30 08:19:08 +02:00
adi
bf870b1e2b
Failover ees/loggers improved + tests
2022-07-11 17:27:46 +02:00
ionutboangiu
70ea038f08
Update FibDuration function
2022-07-03 13:08:52 +02:00
adi
c22f43c788
Failed posts and failover for export loggers
2022-06-29 12:00:42 +02:00
porosnicuadrian
51e4159be0
Updated Panic API on cores
2022-04-26 08:33:23 +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
ionutboangiu
bfccb7c43c
Move functions and struct types to the folders they belong to
2022-01-12 20:16:43 +01:00
ionutboangiu
583cd71a42
Remove unused struct types, functions and tests related to paginator
2022-01-10 19:59:10 +01:00
ionutboangiu
9d2cf432f3
Rename ArgsItemIDs Prefix to ItemsPrefix
2022-01-09 14:48:18 +01:00
ionutboangiu
cfcb55790d
Change paginator behaviour for GetFilterIDs API
2022-01-06 12:23:46 +01:00
Trial97
876955f9e2
Started redesigning loaders
2021-11-16 13:05:40 +01:00
Trial97
6bff7dfb9b
Updated Redis storage
2021-10-08 11:12:50 +03:00
ionutboangiu
7b7d46251a
Implement new function that splits filter rules
2021-07-23 10:59:18 +02:00
nickolasdaniel
9fa61de229
Added FirstIntNonEmpty and FirstDurationNonEmpty functions in utils
2021-07-16 17:15:05 +02:00
porosnicuadrian
291a791f37
Memory profile apis + tests
2021-07-03 16:42:03 +02:00
porosnicuadrian
6451d4ab1c
Added context in accounts methods for apis
2021-05-17 17:58:44 +02:00
Trial97
aef563ae17
Added more diff functions
2021-04-22 21:00:44 +02:00
Trial97
c04c0a5adb
Added ConfigDB and option to read config from DB
2021-04-16 17:53:36 +02:00
Trial97
3406d3c7c9
Updated based on new rpc library
2021-04-13 13:35:03 +02:00
Trial97
b028a99050
Removed rals config
2021-04-01 16:36:51 +02:00
Trial97
b8437f4a7d
Updated utils tests
2021-03-26 13:46:25 +01:00
andronache
806c8295be
Finished changing Opts to APIOpts for structs used in api_interfaces
2021-03-23 14:35:11 +01:00
andronache
38b02c642c
Changed Opts to APIOpts in multiple structs used in apier/
2021-03-23 14:35:11 +01:00
andronache
b573e12233
Changed Opts to APIOpts in multiple structs used in apier/
2021-03-23 14:35:11 +01:00
andronache
c61e2046f3
Changed in multiple structs the field Opts to APIOpts
2021-03-18 16:48:54 +01:00
andronache
804cc12c9e
Changed in multiple structs the field Opts to APIOpts
2021-03-18 16:48:54 +01:00
andronache
a6f41adaf9
Replaced TenantIDWithOpts with TenantIDWithAPIOpts
2021-03-18 13:04:28 +01:00
andronache
22f207441e
Replaced cache with opts in several structs
2021-03-17 13:46:33 +01:00
andronache
635bdd88b8
Replaced ResourceWithCache with ResourceProfileWithOpts in apier
2021-03-17 13:46:33 +01:00
andronache
c2bd07a44b
Changed TenantIDWithCache to TenantIDWithOpts
2021-03-17 13:46:33 +01:00
Trial97
78cbb5932b
Added replication filtering
2021-03-09 17:37:59 +01:00
Trial97
7e90a42c1f
Added filtered replication for dataDB items
2021-03-09 17:37:59 +01:00
Trial97
54ee982314
Updated config for registrarc
2021-03-02 20:06:30 +01:00
Trial97
83c26e5fd6
Updated actions
2021-02-25 18:13:01 +01:00
Trial97
9f75ab918c
Updated biRPC support in connmanager
2021-02-22 11:53:56 +01:00
andronache
3e51f58d8c
Changed consts in utils
2021-01-11 10:57:44 +01:00
andronache
1d0a814e42
Changed consts in utils
2021-01-11 10:57:44 +01:00
andronache
36da1a6309
Consts in utils
2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d
Consts in utils
2021-01-07 18:15:35 +01:00