ionutboangiu
56f8549ea4
Ensure EC FieldAsInterface method works correctly
...
- trim fldPath Increments before retrieving the field
- Rating map can be accessed from Accounting
- ExtraCharges can be accessed from Accounting
- RatingUnit fields that did not represent the id of
another EC struct are now retrievable
- add unit tests
2024-04-11 13:23:23 +02:00
NikolasPetriti
870b6e87ae
Add gofmt
2023-09-01 17:28:31 +02:00
NikolasPetriti
fe2f034a7a
Add coverage tests for config and engine
2023-09-01 17:28:31 +02:00
NikolasPetriti
7b016eef3b
Add coverage tests for engine
2023-08-07 11:42:27 +02:00
NikolasPetriti
94afae087f
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
302cb2aec8
Add coverage tests for eventcost.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
36cfcfec26
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
ionutboangiu
62619ba3a5
Replace interface{} with any
2023-06-05 10:55:32 +02:00
ionutboangiu
a748ab629e
Apply gofmt simplify code
2022-12-02 14:24:18 +02:00
Trial97
0dd7a37f9b
Updated EventCost Rounding. Fixes #3018
2021-09-23 11:49:17 +02:00
Trial97
1f0931f8f3
Revert "Updated EventCost rounding increment handling.Fixes #3018 "
...
This reverts commit 6fdc2e56bd .
2021-08-30 17:55:51 +03:00
Trial97
d67b529b14
Updated EventCost rounding increment handling.Fixes #3018
2021-08-30 17:55:51 +03:00
Trial97
d58e231beb
Added nil check when creating EventCost DataProvider. Fixes #2764
2021-03-23 14:32:02 +01:00
Trial97
bc08d94fae
Updated EventCost FieldAsInterface function. Fixes #2743
2021-03-19 18:48:54 +01:00
Trial97
0fc47733a2
Cloned the charging interval added on EventCost merge
2021-01-27 15:04:22 +01:00
Trial97
4c8f5a2205
Added extra condition to determine if the increment is considered the roundIncrement
2021-01-13 15:51:12 +01:00
Trial97
b1b9a81fc1
Added RoundIncrement to EventCost
2020-10-08 11:16:01 +02:00
Trial97
ab4944dc1a
Removed config.NavigableMap
2020-05-18 12:43:13 +02:00
Trial97
ffef415e8c
Added cache for EventCost.FieldAsInterface
2020-02-05 18:05:53 +01:00
Trial97
f18525a1db
Updated path for cdre
2020-01-30 10:21:48 +01:00
DanB
a4d11fe776
SessionS.refundSession to add TOR for proper refunds
2020-01-06 19:31:02 +01:00
Trial97
e5c97a94ab
Renamed META_DEFAULT to MetaDefault
2019-12-13 15:04:34 +02:00
TeoV
a2954c77c9
Finish updating integration test after modification
2019-11-27 11:10:32 -05:00
DanB
8aeeda4885
EventCost AsRefundIncrements properly handling extra charges
2019-11-22 19:54:16 +01:00
TeoV
ae7785910f
Add test for EventCost as DataProvider using ObjectDP
2019-09-18 08:23:56 +02:00
TeoV
c170910a33
Update correctly the EventCost in case of refund
2019-06-03 10:33:21 +02:00
DanB
351d0fb39e
EventCost compressing correcting RatingID within Accounting
2019-03-13 19:49:09 +01:00
DanB
43296dd9e8
EventCost.SyncKeys method with tests
2019-03-01 19:32:53 +01:00
DanB
417b4fadff
Actions.csv - removing balance direction filter
2019-02-13 11:23:27 +01:00
DanB
128628a6a8
EventCost compressing optimizations
2018-11-01 18:12:27 +01:00
DanB
c9a6d158d5
EventCost compressing at ChargingIncrement level during Merge
2018-11-01 18:12:26 +01: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
0cb9dca9a2
Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates
2017-11-09 18:27:09 +01:00
DanB
c6e96e3f0e
EventCost fixes
2017-08-22 16:33:38 +02:00
DanB
c02e49cbd1
EventCost fixes, more testing
2017-08-21 20:49:18 +02:00
DanB
af02a4da03
Adding keeping cdrstats_test.go -> statscdrs_test.go to keep the order of test execution
2017-07-09 16:15:34 +02:00
DanB
93ede51d06
EventCost UUIDs -> IDs
2017-05-29 17:23:42 +02:00
DanB
1e76a7aa0c
EventCost ComputeUsage -> GetUsage, ComputeCost -> GetCost
2017-05-29 17:13:53 +02:00
DanB
a1f207dd00
EventCost BalanceChargeUUID -> AccountingUUID
2017-05-29 16:31:22 +02:00
DanB
4592523e46
EventCost.Merge tests
2017-05-26 20:02:51 +02:00
DanB
bfe42356b0
RemoveStaleReferences only at end of Trim, better testing of EC.Trim
2017-05-26 18:22:42 +02:00
DanB
8421d74d85
EventCost.Trim in middle with tests, libeventcost
2017-05-25 19:16:15 +02:00
DanB
2341ea95aa
EventCost Clone and initial Trim methods
2017-05-23 19:08:54 +02:00
DanB
418715febb
EventCost with Start and EndTime per increment
2017-05-23 12:26:02 +02:00
DanB
b0d4d8c42a
Tests for EventCost.AccountSummary
2017-05-21 21:13:32 +02:00
DanB
9face8a58f
EventCost with two way testing
2017-05-19 18:38:39 +02:00
DanB
652157a85c
SMG - simplified sessionStart handling, returning error from upstream
2017-05-18 21:11:33 +02:00
DanB
335840ab58
EventCost improvements
2017-05-18 20:59:48 +02:00
DanB
920f1c35df
EventCost - generic RatingMatchedFilters, TestNewEventCostFromCallCost
2017-05-18 17:06:42 +02:00