Commit Graph

37 Commits

Author SHA1 Message Date
TeoV
7e0ae18009 Remove *account filter type and add is as a DataProvider 2019-09-08 17:39:11 +02:00
TeoV
2e742aa947 Add ReflectFieldMethodInterface method in utils + tests for it 2019-09-08 17:39:11 +02:00
Tripon Alexandru-Ionut
ff9e44b639 Updated EventType and renamed EqualThan to EqualTo 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
a7e65058a1 Added *eq and *noteq as filters 2019-07-04 12:23:54 -10:00
Tripon Alexandru-Ionut
5af9e7385f Updated IfaceAsString and MapEvent tests 2019-06-21 15:35:01 +02:00
DanB
8433e1914b Reflect test with prefix 2019-06-06 18:46:44 +02:00
Tripon Alexandru-Ionut
173deee70b Added IfaceAsTInt64 2019-06-04 12:22:26 +02:00
TeoV
7a971cbb2e Improve Sum method from utils/reflect.go 2019-04-14 11:26:36 +02:00
TeoV
a484fc9388 Add new type for AgentRequest *difference and CGRActiveRequest(*cgrareq) 2019-04-14 11:26:36 +02:00
Trial97
ab849d3785 Added test for GetUniformType and updated tests for GreaterThan 2019-03-18 11:49:16 +01:00
Trial97
896362f32e Updated tests for GreaterThan 2019-03-18 11:49:16 +01:00
TeoV
a0c2c7ed6a Cover more cases for IfaceAsString method from utils 2018-11-25 17:42:42 +01:00
TeoV
96caf804c5 Add test for IfaceAsString net.IP case 2018-11-25 17:42:42 +01:00
TeoV
c69c97f073 Add new error type ErrNotEnoughParameters 2018-11-07 17:12:13 +01:00
TeoV
4c2eb336c2 Rename MultipleSum to Sum 2018-11-07 17:12:13 +01:00
TeoV
ace31f8256 Remove previos sum from utils 2018-11-07 11:55:33 +01:00
TeoV
12b6807950 Add support for multiple sup in agent request fixes #1284 2018-11-07 11:55:33 +01:00
TeoV
5fc02a5478 Add support for *sum + test fixes #1279 2018-11-02 10:01:46 +01:00
Trial97
1741cca805 Replace CastFieldIfToString with IfaceAsString 2018-10-02 11:35:37 +02:00
DanB
9098714251 reflect.IfaceAsDuration with support for int 2018-08-20 14:22:20 +02:00
DanB
88a31dd533 reflect.IfaceToDuration to consider float64 as nanoseconds since also ints are converted to float 2018-08-20 14:22:20 +02:00
DanB
6f178bb38c CastFieldToString returning for nil interface 2018-06-08 18:39:31 +02:00
Anevo
72b01dcfc1 Tested functions in utils/reflect.go 2018-03-27 18:47:38 +02:00
TeoV
6f4a0025dd Update test for go 1.10 and update travis to run on go 1.10 2018-02-19 16:57:25 +01:00
DanB
ceeba2770b UsageSecondsRSRTransformer, reflect.IfaceAsDuration 2018-02-09 19:22:16 +01:00
DanB
7d7865c0cb Radius *usage_seconds, reflect IfaceAsFloat64 method 2018-02-05 10:00:35 +01:00
TeoV
3939b02aac Add test for IfaceAsTime 2018-01-25 10:09:33 +01:00
TeoV
21707a5119 Put time.Time before time.Duration 2017-12-12 13:06:07 +01:00
DanB
48ad63baa3 SMG event using CastFieldIfToString instead of deprecated ConvertIfaceToString, SMGClientV1.DisconnectSession with nanosecond units, more test fixes 2017-11-06 12:52:46 +01:00
DanB
c135290fc3 CastFieldIfToString with time.Duration support for acd/tcd 2017-10-22 17:21:50 +02:00
DanB
d6bb574e65 Adding time comparison in GreaterThan 2017-10-20 21:04:50 +02:00
DanB
b7a46619a7 Reflect StringToInterface 2017-10-13 17:03:00 +02:00
DanB
2d6d968076 Reflect GreaterThan comparison 2017-10-13 14:10:09 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
14c3f988dd ReflectStructAsMap 2016-08-26 09:44:49 +02:00
DanB
6530871e93 ReqFilter accepting map as input, tests for MatchingResourceLimitsForEvent 2016-08-07 13:49:20 +02:00
DanB
2f71f1fdd9 RequestFilter, ReflectFieldAsString, initial ResourceLimit structure 2016-07-13 20:52:34 +02:00