Commit Graph

4501 Commits

Author SHA1 Message Date
Trial97
7647c367b6 Updated all libraries 2021-01-12 20:01:16 +01:00
Trial97
ca13e8d364 Updated tariffplans gorm statements 2021-01-12 20:01:16 +01:00
Trial97
13f2449376 Started updating to new gorm library 2021-01-12 20:01:16 +01:00
andronache
8da3618402 Added tests for engine/statmetrics.go 2021-01-12 12:49:56 +01:00
andronache
a2f6d80836 Added tests to engine/statmetrics 2021-01-12 12:49:56 +01:00
andronache
7f67c9cf7b Added tests for engine/statmetrics 2021-01-12 12:49:56 +01:00
andronache
64e65d70d2 Added tests to statmetrics 2021-01-12 12:49:56 +01:00
andronache
9d8bc0f7c6 Added tests to engine/statmetric 2021-01-12 12:49:56 +01:00
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
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
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
17c8a46263 Changed the Unit value in Decimal type 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
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
TeoV
029f84e5f2 Encode and Decode decimal.Big structure as slice of bytes in mongo 2021-01-07 18:14:06 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +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
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
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
TeoV
d316df7ae3 Remove Account2 2021-01-04 17:07:24 +01:00
DanB
325d0f0131 AccountS - concreteBalance.debitUnits implementation with tests 2021-01-02 18:54:48 +01:00
DanB
11d6d9be42 AccountS - usage and usageFactor as decimal.Big 2020-12-30 16:17:56 +01:00
andronache
888cfa2ae6 Tests in engine 2020-12-23 17:00:33 +01:00
andronache
a4be6add47 Tests in engine 2020-12-23 17:00:33 +01:00
andronache
3177b1b8bb Completed test for engine/model_helpers.go 2020-12-23 17:00:33 +01:00
andronache
76409f1ad7 Tests for model helpers in engine 2020-12-23 17:00:33 +01:00
DanB
007240bd73 Unique Routes based on ID returned, using OrderedNavigableMap mechanism 2020-12-23 13:35:49 +01:00
TeoV
4eefdc9a03 Add ThresholdIDs to AccountProfiles 2020-12-21 17:51:02 +01:00
TeoV
8e3bf6e945 Add unit test in loader_csv_test for AccountProfile 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
bfa419a1b6 Add infrastructure for AccountS in TPReader and update config defaults 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