ionutboangiu
df7b65833a
remove deprecated math/rand.Seed calls
...
see https://pkg.go.dev/math/rand#Seed
2024-09-05 20:58:34 +02:00
ionutboangiu
e0d020b5d6
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-06 11:13:32 +02:00
Bas Couwenberg
ef1696d5e1
Pass commit date and hash to -ldflags separately.
2024-02-27 16:25:57 +01:00
ionutboangiu
d861dfa80e
Rename prefix to isAbsolute inside HP.AsString()
2023-10-17 17:41:19 +02:00
ionutboangiu
66893d3d76
Handle empty relative path case in HP.AsString()
...
Return '.' when HierarchyPath is empty and prefix is false.
2023-10-17 17:41:19 +02:00
ionutboangiu
0bc94857ca
Update empty xml_root_path sanity check case.
...
Also added tests for it.
Added comment to the *HierarchyPath.AsString() function,
addressing the issue of not being able to retrieve the
element when the root path is equal to the path that
is being processed.
2023-10-16 13:31:14 +03:00
ionutboangiu
dd82bb3c4b
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 the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. 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.
Added an integration tes for the special case where the
xml_root_path field is left empty. Before the change it
used to trim the root element from the path slice when
attempting to retrieve a the relative path slice.
2023-10-16 13:31:14 +03:00
arberkatellari
85f7198424
Make RandomInteger() return int64
2023-07-21 09:02:55 +02:00
ionutboangiu
62619ba3a5
Replace interface{} with any
2023-06-05 10:55:32 +02:00
adi
c9a9857152
Added relevant paratheses
2022-12-02 18:39:29 +02:00
ionutboangiu
1436bac61c
Remove unnecessary paranthesis
2022-12-02 14:24:18 +02:00
ionutboangiu
82468c580d
Replace deprecated ioutil library, remove redundant statements + small optimizations
2022-12-02 14:24:18 +02:00
ionutboangiu
22f9ec262e
Update most of the libraries
2022-11-09 14:04:58 +01:00
andronache
03fce91219
Finished replacing replication in v0.10
2021-07-13 19:14:30 +02:00
Trial97
cfc88400a7
Added *mo time support
2020-06-17 10:09:37 +02:00
TeoV
dabcb97b42
Update version v0.10.2~dev in utils
2020-05-12 16:25:56 +02:00
Trial97
80cdfe78c9
Added OrderedNavigableMap implementation
2020-05-07 11:19:03 +02:00
DanB
1f05f6e8ae
Default rating subject for *mms
2020-03-24 19:16:31 +01:00
adragusin
07877daef0
Changed the strip strategy (e.g. "right" to "*right")
2020-03-12 17:23:45 +01:00
Trial97
a19a5f1683
Updated cgrates version
2020-02-19 15:37:18 +01:00
Trial97
8f446b033d
Added check for git tag in version building
2020-02-11 10:54:19 +01:00
Trial97
87d2a6887b
Added back full version
2020-02-08 12:17:46 +01:00
Trial97
d22cb76050
Updated version for this tag
2020-02-06 15:07:46 +01:00
Trial97
f3f7f861d2
Updated version
2020-02-06 15:07:46 +01:00
Trial97
ff5f5f2d21
Added FieldAsInterface for EventCost
2020-02-05 16:00:32 +01:00
Trial97
2f8b7dc53e
Removed unused FallbackFileName
2020-02-05 16:00:32 +01:00
Trial97
a4870c5434
Updated FailedCDR posting
2020-01-28 10:07:34 +01:00
TeoV
ce01ee2f32
Update version format to match go module version
2020-01-10 12:29:53 +02:00
DanB
cdafb21fee
RandomIngeger without +1
2020-01-08 12:37:12 +01:00
DanB
084af48329
Skel for concurrency tests on sessions, RandomInteger function
2020-01-04 20:45:49 +01:00
adragusin
bf19cfe7ae
Updated tests in utils
2019-12-04 10:36:26 -05:00
adragusin
b1d91702d7
Updated tests in utils
2019-12-03 11:00:43 -05:00
adragusin
aa0f724bf7
Removed unused function
2019-11-21 18:45:26 +01:00
TeoV
af1cfc64c8
Implement Replication for all Set Methods
2019-11-20 19:48:14 +01:00
adragusin
d3522ef2e7
Updated engine tests after replacing MapStorage
2019-11-20 17:12:04 +01:00
adragusin
cb61c179b0
Updated tests in utils
2019-11-20 11:01:25 +01:00
TeoV
3e3cc70882
Update SetThresholdProfile in case of Replication
2019-11-20 10:54:31 +01:00
TeoV
25bc80458d
Finish get for remote functionality
2019-11-20 10:54:31 +01:00
DanB
c1f9a3f449
New API SessionSv1.ActivateSessions
2019-10-30 20:34:09 +01:00
TeoV
4a65133a1a
Update format for metrics ( *sum:~FieldName )
2019-08-12 08:38:16 +02:00
Trial97
5f7a5d856d
Added LongExecTimeDetector
2019-08-08 19:12:47 +02:00
TeoV
4b051121f9
Move constats from engine to utils and remove duplicate structures
2019-08-04 13:23:30 +02:00
TeoV
2b6adf539a
Replaced method utils.AccountKey with utils.ConcatenatedKey ( strings.Join is 4 times faster than fmt.Sprintf )
2019-08-04 13:23:30 +02:00
DanB
118461c1f7
WarnExecTime util function
2019-08-01 23:44:09 +02:00
TeoV
17db4f634d
Add RALsV1.GetRatingPlansCost ( in APIer DispatcherS and in cgr-console )
2019-07-25 02:55:15 -10:00
Trial97
c7e4c33391
Updated S3Poster
2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
fcab2792ba
Added S3 as cdre
2019-06-29 05:08:34 +02:00
Tripon Alexandru-Ionut
28776358aa
Added kafka as cdre
2019-06-29 05:08:34 +02:00
Tripon Alexandru-Ionut
ce1b27dfcd
Renamed aws_json_map to amqpv1_json_map
2019-06-12 22:11:43 +02:00
TeoV
1225d5e05d
Add option for balance_rating_subject in RALs section of config
2019-05-14 09:22:10 +02:00