Commit Graph

2155 Commits

Author SHA1 Message Date
TeoV
abb6507006 Add comments to methods 2021-01-07 15:34:41 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +01:00
TeoV
1ff5adfa9d Rename from BalanceValue to BalanceUnits for AccountProfile 2021-01-06 15:50:23 +01:00
TeoV
6980a3f322 Update integration test 2021-01-06 13:56:03 +01:00
TeoV
6887863ed1 Update encoding for Get/Set AccountProfile for DataManager 2021-01-06 13:56:03 +01:00
TeoV
806d932fe0 Update TPAccountProfile struct 2021-01-06 13:56:03 +01:00
andronache
9f39d1240d Fixed minor issue 2021-01-05 17:42:44 +01:00
andronache
88a87ffeb8 Modified consts in utils 2021-01-05 17:42:44 +01:00
andronache
da91b07eb7 Started replacing snake_case with camelCase in utils/consts.go 2021-01-05 17:42:44 +01:00
andronache
5607db3c50 Added tpaccountprofiles.go and integration tests in APIer 2021-01-05 17:42:44 +01:00
DanB
0aa85c5da6 AccountS - concrete debitUnits with unlimited balance 2021-01-05 12:34:30 +01:00
porosnicuadrian
7ae311de6a Clone function in accountprofile + tests 2021-01-04 17:09:09 +01:00
TeoV
d316df7ae3 Remove Account2 2021-01-04 17:07:24 +01:00
DanB
5a632207ac AccountS - abstractBalance with costIncrement, unitFactor, balanceLimit and partial debitUsage implementation 2021-01-03 19:47:26 +01:00
DanB
325d0f0131 AccountS - concreteBalance.debitUnits implementation with tests 2021-01-02 18:54:48 +01:00
DanB
cccf2a7b17 AccountS UsageFactor - UnitFactor 2021-01-02 14:41:26 +01:00
DanB
77677b3019 AccountS - debitUnits for concreteBalance, Balance SetDecimalValue and DecimalValue export methods 2020-12-30 20:54:16 +01:00
DanB
56fbc84bea Adding Cache to CGREventWithOpts 2020-12-30 17:02:36 +01:00
DanB
11d6d9be42 AccountS - usage and usageFactor as decimal.Big 2020-12-30 16:17:56 +01:00
DanB
c3616b96dc AccountS - concrete and abstract balance processors 2020-12-29 17:14:13 +01:00
DanB
f712785f78 AccountS - newAccountBalances, utils.EventCharges 2020-12-28 19:55:01 +01:00
DanB
fd090f5b36 AccountS - matchingAccountForEvent implementation 2020-12-24 18:34:30 +01:00
DanB
007240bd73 Unique Routes based on ID returned, using OrderedNavigableMap mechanism 2020-12-23 13:35:49 +01:00
DanB
6d5b7ef313 ActionSv1 ScheduleActions and ExecuteActions API calls 2020-12-23 13:35:49 +01:00
TeoV
382a970782 Add AccountS in services and cmd/cgr-engine 2020-12-23 13:31:41 +01:00
andronache
ebce4d39dc Fixed services tests, added tenants to actioncfg in config 2020-12-22 10:50:16 +01:00
TeoV
4eefdc9a03 Add ThresholdIDs to AccountProfiles 2020-12-21 17:51:02 +01:00
TeoV
fd3defa7ef Add infrastructure for AccountS in LoaderS 2020-12-21 17:51:02 +01:00
TeoV
41d9599d87 Add infrastructure for Account in StorDB 2020-12-21 17:51:02 +01:00
TeoV
68c8625250 Add infrastructure in models for AccountProfile 2020-12-21 10:19:59 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
DanB
73e897916d ActionS - schedInit for scheduler reload 2020-12-20 17:09:13 +01:00
porosnicuadrian
f7d4a7b52c Added *activation_interval filter + tests 2020-12-20 16:59:30 +01:00
DanB
07353f8724 AccountS service skel 2020-12-20 11:51:07 +01:00
TeoV
d955fbc959 Add integration test for *sql exporter 2020-12-18 18:30:22 +01:00
TeoV
07159d8d6a Add SQL Exporter 2020-12-18 18:30:22 +01:00
andronache
fcea399472 cgr-loader parameters are constants from utils now 2020-12-16 15:32:59 +01:00
TeoV
dcab9bb180 Remove AccountIDs from ActionProfile and add Targets ( TargetType and TargetIDs ) 2020-12-16 15:31:05 +01:00
andronache
992d9e03ce Finished issue #1201 2020-12-14 18:10:58 +01:00
andronache
493193c3c8 Finished #1201 2020-12-14 18:10:58 +01:00
andronache
489b72182d Added default tenant to /apier/v1/ 2020-12-14 18:10:58 +01:00
andronache98
58be573cf4 Added integration tests for apier/v1/tpactionprofiles.go 2020-12-14 18:10:58 +01:00
TeoV
9152bb452c Add integration test for cache replication from AttributeSv1/RateSv1.ProcessEvent 2020-12-14 16:38:58 +01:00
TeoV
05143d62d1 Rename in ERs from *json to *file_json to be consistent 2020-12-14 16:38:58 +01:00
porosnicuadrian
31b10532b9 Added verbosity in RateS config 2020-12-11 17:46:49 +01:00
root
01c92e7da4 Added missing tenant case for /apier/v1/tp....go files 2020-12-10 17:58:52 +01:00
DanB
0666bc5596 ActionS - scheduleActions and asapExecuteActions implementation 2020-12-10 15:26:30 +01:00
porosnicuadrian
4fa97786ae Integration tests for TPRateProfile + updated RateProfile Struct + tests 2020-12-10 10:18:33 +01:00
andronache
12c19ed255 Finished integration tests for apier/v1/actionprofiles.go 2020-12-09 17:00:49 +01:00
porosnicuadrian
ce013604be Migrate functions + tests for TpActionProfile in migrator 2020-12-09 12:11:43 +01:00