Commit Graph

11171 Commits

Author SHA1 Message Date
andronache
e5ea13a63e Tests for engine/statmetrics.go 2021-01-12 12:49:56 +01:00
andronache
dfc55dc23a Test in engine/statmetrics. 2021-01-12 12:49:56 +01:00
porosnicuadrian
5a3d48a9ea Removed error from decimal convert func + tests in utils 2021-01-12 12:49:31 +01:00
porosnicuadrian
db7f982169 Cover tests in utils package 2021-01-12 12:49:31 +01:00
porosnicuadrian
dd4d42e323 Covered config to 100% 2021-01-12 12:49:31 +01:00
porosnicuadrian
0958def326 Removed unnecessary if from AsNavigableMap methods in sessions 2021-01-12 12:49:31 +01:00
porosnicuadrian
36fa7c234a Covered loaders to 100% 2021-01-12 12:49:31 +01:00
TeoV
d3adaf16a3 Update integration test 2021-01-12 12:48:43 +01:00
Trial97
7dcc168892 Updated engine integration tests 2021-01-12 12:48:02 +01:00
Trial97
30713fc61f Updated analyzers codec to use the response id instead of the global one 2021-01-12 12:48:02 +01:00
TeoV
0125824c9c Update integration test 2021-01-11 12:44:28 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
andronache
5ac350031a Fixed tests 2021-01-11 10:57:44 +01:00
andronache
3e51f58d8c Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
ea796ec9f9 Fixed integration test in engine and general_tests 2021-01-11 10:57:44 +01:00
porosnicuadrian
a01afde795 Added an integration test for ActionTriggers in apier 2021-01-08 17:55:12 +01:00
porosnicuadrian
17c8a46263 Changed the Unit value in Decimal type 2021-01-08 17:55:12 +01:00
porosnicuadrian
8cc4c629e1 Coverage tests for loaders 2021-01-08 17:55:12 +01:00
TeoV
fd3d0fd8c2 Update on AccountProfile from []*Balance to map[string]*Balance 2021-01-08 17:53:59 +01:00
DanB
e285568cbe Migrating ConcreteBalance to utils.Decimal 2021-01-07 18:16:07 +01:00
DanB
59c35393c5 Converting AbstractBalance to use utils.Decimal instead of decimal.Big 2021-01-07 18:16:07 +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
570356b459 Changed consts in utils and repaired account profiles it testin apier/v1 2021-01-07 18:15:35 +01:00
andronache
4883754cf0 Changed consts in utils 2021-01-07 18:15:35 +01:00
andronache
8bcbd789e6 Added tests for Get/Set/Remove Account profile in z_onstor_it_test.go 2021-01-07 18:15:35 +01:00
porosnicuadrian
3b230e084f Coverage tests in laoders + finished mocking error cases 2021-01-07 18:14:42 +01:00
TeoV
029f84e5f2 Encode and Decode decimal.Big structure as slice of bytes in mongo 2021-01-07 18:14:06 +01:00
TeoV
abb6507006 Add comments to methods 2021-01-07 15:34:41 +01:00
TeoV
f1c3ff0113 Use Cmp to compare decimal.Big 2021-01-07 15:34:41 +01:00
TeoV
aa343ce50c Update merge problems 2021-01-07 14:25:01 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +01:00
DanB
d7d7a4f914 AccountS - fine tuning unitFactor for ConcreteBalance 2021-01-06 19:55:38 +01:00
porosnicuadrian
ebbcbb10a3 Removed a test from loaders 2021-01-06 17:08:22 +01:00
porosnicuadrian
43b8400e25 Mocked DataDB for coverage + tests 2021-01-06 17:08:22 +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
DanB
f80f3b90c7 AccountS - change decimal rounding closer to 0 so we don't debit too much in case of limits 2021-01-05 17:44:41 +01:00
porosnicuadrian
56dced241a Coverage tests in loaders 2021-01-05 17:44:29 +01:00
porosnicuadrian
32e9a44273 Changed by adding account profiles 2021-01-05 17:44:29 +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