Commit Graph

191 Commits

Author SHA1 Message Date
M1ha
166d23ca7c Refactoring 2018-11-28 15:33:01 +05:00
M1ha
abe0ae45c5 Added QuerySet that determines db with router help.
Added using(), create(), bulk_create(), all() methods to QuerySet
2018-11-28 15:30:19 +05:00
M1ha
ce1a206b04 Moved model_to_dict to utils 2018-11-27 13:09:20 +05:00
M1ha
d300d6e46e Фиксы по тестам 2018-11-26 19:17:58 +05:00
M1ha
745b7b7788 Fixed some bugs 2018-11-26 17:37:31 +05:00
M1ha
0e4dd6b69f Fixed some bugs 2018-11-26 17:28:03 +05:00
M1ha
e81a6b5e4a Bugfix in ClickHouseMultiModel sync 2018-11-26 15:38:10 +05:00
M1ha
ecff04aaf2 Removed database connections from router 2018-11-26 15:13:18 +05:00
M1ha
382655224b Fix 2018-11-26 12:40:32 +05:00
M1ha
e8161ee7ce Fixes in migration system to pass database directly 2018-11-26 11:56:50 +05:00
M1ha
e1d7db1525 Bugfix 2018-11-23 13:16:35 +05:00
M1ha
5add74cc39 Bugfix 2018-11-23 12:05:16 +05:00
M1ha
a5bbc9ba00 Made get_database for ClickHouseModel a class method 2018-11-23 11:58:44 +05:00
M1ha
68914a20f0 Infi https://github.com/Infinidat/infi.clickhouse_orm/issues/89 fix
some refactoring
2018-11-23 11:04:31 +05:00
M1ha
cea0f3cab5 import all infi modules in migrations 2018-11-22 17:01:57 +05:00
M1ha
5455d6d9b4 Fixed bug in migrations, if migrations directory doesn't exist in module 2018-11-22 16:59:39 +05:00
M1ha
ea5d9a7dfd Added ClickHouseMultiModel 2018-11-22 16:22:34 +05:00
M1ha
6261d69821 Added extra method in model to get insert batch 2018-11-22 12:54:51 +05:00
M1ha
e4b2958895 Changed serializer init to concrete model fields 2018-11-22 12:33:51 +05:00
M1ha
da755da09d Added wrappers for Infi querysets 2018-11-22 11:18:53 +05:00
M1ha
9b02a49bc9 Added all MergeTree engines supported in infi.clickhouse_orm 2018-11-22 11:09:38 +05:00
M1ha
084c218d2a Added tests on 2018-11-21 17:10:35 +05:00
M1ha
0dbfa8fff1 Added tests on 2018-11-21 16:51:19 +05:00
M1ha
2dab8fcccb Added tests on 2018-11-21 16:50:54 +05:00
M1ha
a37cd25453 Removed deprecated comment 2018-11-20 17:25:03 +05:00
M1ha
6e0bc424d7 1) Finished sync celery tasks.
2) RedisStorage now prevents parallel sync with RedisLock
2018-11-20 17:24:15 +05:00
M1ha
6e4a5d7723 1) Исправил счетчик автоответов по баге https://carrot.atlassian.net/browse/RED-5318
2) Фиксы по тестам
2018-11-19 16:58:53 +05:00
M1ha
61066e0ec7 statsd metrics set up 2018-11-16 17:41:54 +05:00
M1ha
e0fe50d534 Расставил метрики statsd 2018-11-16 17:36:04 +05:00
M1ha
d4e9a705d1 1) Refactoring
2) Bug fixes
3) Simple tests on syncing MergeTree and CollapsingMergeTree
2018-11-16 15:16:36 +05:00
M1ha
4480c1ae1d Added migration system. 2018-11-16 13:14:40 +05:00
M1ha
cdc8a2cd26 Added tests for utils and serializers 2018-11-15 17:41:18 +05:00
M1ha
235b690f35 Added tests for utils and serializers 2018-11-15 17:37:58 +05:00
M1ha
8e9963ad3b Added sync mechanism without tasks, but not tested as no migrations 2018-11-15 16:50:38 +05:00
M1ha
7c39bd5c84 BUG comment on update 2018-11-15 13:03:24 +05:00
M1ha
c6da379be7 1) Tests for ClickHouseSyncModel
2) Bugfixes in ClickHouseSyncModel
2018-11-15 13:02:05 +05:00
M1ha
0967614318 Django models and managers refactoring, but not tested 2018-11-14 15:18:06 +05:00
M1ha
4e340e6212 1) Some bugs fixed
2) Added test on RedisStorage.post_sync
2018-11-14 13:02:33 +05:00
M1ha
bac333d03a 1) RedisStorage and tests for it
2) Some fixes
2018-11-14 12:52:01 +05:00
M1ha
2a9567d27f Initial commit 2018-11-12 20:20:51 +05:00
M1ha Shvn
e3a6d3baae
Initial commit 2018-11-12 17:47:30 +05:00