Commit Graph

64 Commits

Author SHA1 Message Date
porosnicuadrian
a92ec06b54 Changed declaration of rtIds to avoid panic 2021-07-13 13:46:54 +02:00
Trial97
9fa3cd4b8c Added all index health APIs 2021-07-08 09:58:16 +02:00
porosnicuadrian
498bfdeac5 Last fixes for RateProfileCost 2021-06-23 20:54:32 +02:00
porosnicuadrian
6573963c2b Worked for RateProfileCost fields 2021-06-22 19:24:00 +02:00
porosnicuadrian
0213bfa28f CostIntervals instead of RateSIntervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
411e4a4515 Decimal fields instead of float in RateProfileCOst + tests 2021-06-22 19:24:00 +02:00
DanB
a7d6ea6231 Adding RateSIntervalCost structure in librates 2021-06-17 17:46:48 +02:00
andronache
dda327c13d Cover tests in apis for rates 2021-05-19 19:26:40 +02:00
porosnicuadrian
9c9bd14807 Little fixes on IntervalRates/EventCharges 2021-05-17 17:58:44 +02:00
ionutboangiu
c3cd02f02b Remove ActivationInterval from RateProfile 2021-05-17 17:54:24 +02:00
porosnicuadrian
fb5890ae63 Modified Rates field in RateProfileCost + Equals/As methods 2021-05-12 16:26:10 +02:00
porosnicuadrian
3ca4f20bf9 New rates map and RateID field for rates methods 2021-05-12 16:26:10 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
DanB
c8433aacd2 AccountS - properly process Abstract balance with unit factor and insufficient units 2021-05-03 13:17:57 +02:00
Trial97
b4768ce99a Added ConfigSv1 and RateSv1 APIs back 2021-04-16 17:53:36 +02:00
Trial97
c04c0a5adb Added ConfigDB and option to read config from DB 2021-04-16 17:53:36 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
porosnicuadrian
5d323f4671 Removed RateProfile from engine package to utils 2021-03-18 18:12:47 +01:00
andronache
3d08f30656 Fixed cover test 2021-02-25 18:14:21 +01:00
andronache
2edfd207d2 Refactoring and tests in services 2021-02-25 18:14:21 +01:00
TeoV
f6b6243961 Update RateS to seach for Usage in event in case is not found in Opts 2021-02-17 11:23:59 +01:00
DanB
5166bfe86f Adding DynamicWeight support to RateS 2021-02-16 18:03:00 +01:00
porosnicuadrian
ceb28a11b5 Commented part for a succesfully building 2021-02-15 20:28:00 +01:00
TeoV
328d6d1fcb Beautify the code 2021-02-09 13:36:28 +01:00
TeoV
9090af6270 Fix unit tests after last commit 2021-02-09 13:36:28 +01:00
DanB
7465f25ba0 RateS - return ErrNotFound in case of no profile matched, AccountS - testAccountSv1MaxUsage 2021-02-08 17:10:46 +01:00
TeoV
2700d58c0f Add comments where errors are not handled explicity 2021-01-19 13:12:52 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
TeoV
66e2b4cd01 Remove RoundingMethod and RoundingDecimals from RateProfile 2021-01-12 20:02:01 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
porosnicuadrian
1221e72598 Covered rates to 100% 2020-12-14 16:57:48 +01:00
porosnicuadrian
5e3e53e3ed Cover tests for rates.go 2020-12-11 17:46:49 +01:00
DanB
53f8b34f01 ActionS - ActionProfile initial definition 2020-12-02 14:00:51 +01:00
TeoV
318145d7c5 Populate other fields for RateCost and add an example of test for CorrectCost 2020-11-26 12:24:17 +01:00
porosnicuadrian
921d1d2023 Removed Decimal struct in utlis and repalced with *decimal.Big 2020-11-20 11:27:20 +01:00
Trial97
28ea7e8596 Updated AnalyzerSv1 API 2020-11-20 10:36:54 +01:00
TeoV
979a2818a7 Calculate cost from routes with rateS and move ArgsCostForEvent in utils 2020-11-18 13:07:47 +01:00
TeoV
83f5ad7b7f Add integration test for RateSv1.CostForEvent 2020-11-18 13:07:47 +01:00
Trial97
a81fce8341 Updated services shutdown 2020-11-16 10:11:46 +01:00
DanB
8940ebd7e8 RateS - adding V1CostForEvent API method 2020-11-15 14:37:37 +01:00
DanB
d2d1139de0 RateS - adding rateProfileCostForEvent 2020-11-13 20:39:54 +01:00
DanB
16fe6c2b2c RateS computeRateSIntervals accepting usageStart 2020-11-13 14:18:01 +01:00
porosnicuadrian
abf3c36259 Covered rates directory to 100% and added multiple cases for librates.go 2020-10-29 12:05:21 +01:00
DanB
a15c69a727 Adding RunTimes to Rate within RateS, redesign of orderRatesOnIntervals 2020-10-20 13:38:31 +02:00
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
TeoV
05e2377d3c Add infrastructure for *suffix filter indexes 2020-07-30 11:13:37 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00