ionutboangiu
6c16ff320f
Replace interface{} with any
2023-05-31 10:23:12 +02:00
ionutboangiu
373df2329c
Revise CDR rerating
...
If the reRate parameter is set to true, also set the refund to true.
The rerate parameter is now no longer hardcoded to true for the RateCDRs API.If
required, the "*rerate" flag must be provided by the caller.
In case CostDetails is not populated, retrieve it from StorDB if possible
and add it to the CGREvent before converting to CDRs.
Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-20 20:06:16 +02:00
ionutboangiu
d262aaac8b
Revise CDR rerating
...
If the reRate parameter is set to true, also set the refund to true.
In case CostDetails is not populated, before attempting to refund try to
retrieve it from StorDB.
Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-19 16:09:41 +02:00
ionutboangiu
895c140209
Port dispatcher changes from 1.0 to v0.11
2022-09-25 12:17:37 +02:00
ionutboangiu
de0b0569c3
Update fibDuration function
2022-05-28 09:50:01 +02:00
ionutboangiu
d4264e62a3
Remove loggers
2022-02-25 15:24:28 +01:00
ionutboangiu
29ca16daac
Fix opts retrieval
2022-02-25 15:24:28 +01:00
ionutboangiu
3471d868b6
Add rpcAPIOpts in ees cfg and change PrepareMap structure
2022-02-24 21:29:19 +01:00
porosnicuadrian
8941b1ef0d
Added *ec field to ees as DataProvider
2022-02-22 17:37:36 +01:00
ionutboangiu
46eccb6542
Remove refund sequence from store block (CDRsProcessEvent) and make CostDetails nil after a refund
2022-02-13 15:10:35 +02:00
DanB
4d9c9d248a
CDRs - processEvents instead of processEvent to properly rerate group of CDRs
2022-02-06 14:09:14 +01:00
ionutboangiu
d4123e9df3
Fix the way context is passed between subsystems and fix some integration tests
2021-11-22 11:15:45 +01:00
ionutboangiu
baeb3f3c0a
Change the way context is passed
2021-11-22 11:15:45 +01:00
ionutboangiu
777580a06e
Add opts field for thresholds cfg struct and use the CGREvent instead of the ArgsProcessEvent struct
2021-11-05 21:15:50 +02:00
ionutboangiu
5802e868c8
Remove StatsArgsProcessEvent and use CGREvent in its stead
2021-11-04 20:08:29 +02:00
ionutboangiu
2e241d9632
Remove AttrArgsProcessEvent type and use CGREvent in its stead
2021-11-03 21:03:33 +02:00
ionutboangiu
7250168176
Fix unit tests after adding opts field in attributes cfg struct
2021-11-03 21:03:33 +02:00
ionutboangiu
48feaf2bed
Add opts field for attributes cfg struct and fix compilation errors
2021-11-03 21:03:33 +02:00
andronache
bcb564240e
Corrected header in multiple files
2021-11-01 13:49:33 +02:00
Trial97
239cbb7365
Updated Redis storage
2021-10-08 11:12:04 +03:00
Trial97
243242360f
Updated EventCost Rounding. Fixes #3018
2021-09-23 11:40:49 +02:00
Trial97
4555789d53
Updated guardian
2021-07-19 15:37:19 +02:00
andronache
121c97c545
Moved dynprepaidActionPlans from ralscfg to schedulercfg
2021-05-25 20:18:56 +02:00
andronache
806c8295be
Finished changing Opts to APIOpts for structs used in api_interfaces
2021-03-23 14:35:11 +01:00
andronache
32c234a6c7
In CGREvent changed Opts in APIOpts
2021-03-23 14:35:11 +01:00
andronache
a6f41adaf9
Replaced TenantIDWithOpts with TenantIDWithAPIOpts
2021-03-18 13:04:28 +01:00
Trial97
f2c9ca3530
Fixed typo in license header
2021-03-10 16:22:37 +01:00
Trial97
1437cfaff3
Updated SetBalance action
2021-02-25 18:13:01 +01:00
TeoV
9c2f639115
Remove print from the code
2021-01-28 09:29:53 +01:00
TeoV
7fd5bd9e22
Update integration test for apier/v2
2021-01-15 09:53:55 +01:00
TeoV
ae146640f4
Start merging CGREventWithOpts with CGREvent
2021-01-14 10:30:35 +01:00
andronache
1d0a814e42
Changed consts in utils
2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d
Consts in utils
2021-01-07 18:15:35 +01:00
andronache
1470267727
Modified consts in utils
2021-01-07 18:15:35 +01:00
andronache
dbb9216b6e
Modified consts in utils
2021-01-07 18:15:35 +01:00
andronache
da91b07eb7
Started replacing snake_case with camelCase in utils/consts.go
2021-01-05 17:42:44 +01:00
TeoV
445ec8d9b1
Rename EventExporterSv1 to EeSv1 and update integration tests
2020-12-02 17:06:20 +01:00
Trial97
a81fce8341
Updated services shutdown
2020-11-16 10:11:46 +01:00
Trial97
54b4b0e003
Added support for HTTP Headers in *http exporters. Fixes #1874
2020-11-09 09:47:24 +01:00
Trial97
568df81745
Added cores package and tests for caps
2020-11-05 17:07:50 +01:00
porosnicuadrian
a7a9055908
Covered fscdr to 100%. Fixed #440
2020-11-05 14:46:08 +01:00
porosnicuadrian
84c8cf038c
Synched FSCDR with FSCdr object + coeverage tests
2020-11-05 14:46:08 +01:00
porosnicuadrian
c408254743
Synched Http CDR with CDR object
2020-11-03 14:17:37 +01:00
porosnicuadrian
a951487d23
Updated after merge problems
2020-10-15 18:34:53 +02:00
Trial97
b94e9b5b1b
Updated ConcReqs
2020-10-15 12:41:04 +02:00
Trial97
61d2b4e922
Added *eventType to opts for process threhold
2020-10-09 14:27:48 +02:00
Trial97
db582797d3
Added RoundIncrement to EventCost
2020-10-07 18:23:06 +02:00
Trial97
a289fc0f59
Updated arguments for sessions RPC
2020-10-04 11:20:16 +02:00
Trial97
4fe3b8e257
Removed TenantArg
2020-09-04 12:32:09 +02:00
TeoV
8340e65ebd
Update EventExporter ProcessEvent to include metrics informations
2020-09-03 17:02:47 +02:00