Commit Graph

4492 Commits

Author SHA1 Message Date
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
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
porosnicuadrian
f7d4a7b52c Added *activation_interval filter + tests 2020-12-20 16:59:30 +01:00
andronache
13cbdcfb91 Continuing tests for services 2020-12-17 17:08:39 +01:00
porosnicuadrian
128e1d7dad Cover tests in loader package 2020-12-16 15:32:15 +01:00
porosnicuadrian
6aba024875 Cover tests in engine 2020-12-16 15:32:15 +01:00
TeoV
dcab9bb180 Remove AccountIDs from ActionProfile and add Targets ( TargetType and TargetIDs ) 2020-12-16 15:31:05 +01:00
TeoV
9152bb452c Add integration test for cache replication from AttributeSv1/RateSv1.ProcessEvent 2020-12-14 16:38:58 +01:00
Trial97
539db4334a Updated general integration tests 2020-12-11 16:08:43 +01:00
Trial97
63345c3c85 Updated integration tests 2020-12-11 16:08:43 +01:00