Commit Graph

70967 Commits

Author SHA1 Message Date
Bo Maryniuk
234e342aa7 Add unit test for object serialization 2016-07-06 10:09:14 +02:00
Bo Maryniuk
0a177297f4 Rename Writable class 2016-07-06 10:09:14 +02:00
Bo Maryniuk
8927d6fef6 Rename "TestEntity" as it accidentally picked by PyTest 2016-07-06 10:09:14 +02:00
Bo Maryniuk
4c7e4d36b7 Fix docstring 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1df6b0a6a9 Add test creating table 2016-07-06 10:09:14 +02:00
Bo Maryniuk
54e5655e11 Add unit test for database close 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f9c40170e5 Add initial tests for fsdb 2016-07-06 10:09:14 +02:00
Bo Maryniuk
eff3f4ef66 Fix broken tests: add os.mkdir mocking 2016-07-06 10:09:14 +02:00
Bo Maryniuk
e85343df9b Add licence to the inspector collector unit test 2016-07-06 10:09:14 +02:00
Bo Maryniuk
692c322098 Switch the main point to fsdb 2016-07-06 10:09:14 +02:00
Bo Maryniuk
26da61725a Remove SQLite completely 2016-07-06 10:09:14 +02:00
Bo Maryniuk
22a3dd4410 Remove querying SQLite 2016-07-06 10:09:14 +02:00
Bo Maryniuk
7a379fe969 Fix lint 2016-07-06 10:09:14 +02:00
Bo Maryniuk
6689642446 Move querying the configuration files from SQLite to fsdb. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
0ff9b7b373 Move table initialization to the constructor 2016-07-06 10:09:14 +02:00
Bo Maryniuk
56de4c6c0c Fix the variable naming (remove shadowing) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
22480bfe80 Fix docstring 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fde3a5719e Implement object update 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f301281a66 Remove update mode from storing function 2016-07-06 10:09:14 +02:00
Bo Maryniuk
30df4b54e8 Return boolean if data has been deleted 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5db726bdf4 Implement getting objects by a query criteria 2016-07-06 10:09:14 +02:00
Bo Maryniuk
7623ac6d0a Implement distinct storage 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fb97b4694f Implement object delete. This re-flushes the whole database via in-memory. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
b6bc4dc934 Implement criteria matcher 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5a9b174e3e Put ignored and allowed directories into the CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
960b9b4ec1 Get allowed and ignored directories from the CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c8422dc032 Init CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
327a3d8b5f Move entities to a separate module 2016-07-06 10:09:14 +02:00
Bo Maryniuk
3016f3bb03 Merge two db operations on collector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5358e42e44 Do not flush tables. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f78a463113 Implement configuration files saving 2016-07-06 10:09:14 +02:00
Bo Maryniuk
79905a1337 Open CSVDB along with the SQLite3 2016-07-06 10:09:14 +02:00
Bo Maryniuk
83eeb181b8 Implement saving payload 2016-07-06 10:09:14 +02:00
Bo Maryniuk
b1486ee67b Add inspector's entities 2016-07-06 10:09:14 +02:00
Bo Maryniuk
4fda1504f1 Handle purging/closing the table 2016-07-06 10:09:14 +02:00
Bo Maryniuk
af991cd3ab Handle new/open data 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5a8b577bec Bugfix: load newly created table 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2e2a74677e Implement flush 2016-07-06 10:09:14 +02:00
Bo Maryniuk
772f336cd7 Implement purge 2016-07-06 10:09:14 +02:00
Bo Maryniuk
a21312b335 Use compression for the tables 2016-07-06 10:09:14 +02:00
Bo Maryniuk
7f7cb2859c Implement object loader without (yet) conditions 2016-07-06 10:09:14 +02:00
Bo Maryniuk
80ed61afd0 Rename serialization method 2016-07-06 10:09:14 +02:00
Bo Maryniuk
e1805051ae Remove unnecessary method 2016-07-06 10:09:14 +02:00
Bo Maryniuk
b4c56cb506 Implement object storing 2016-07-06 10:09:14 +02:00
Bo Maryniuk
10862c50b5 Implement object serialization 2016-07-06 10:09:14 +02:00
Bo Maryniuk
e3c6fa60e7 Add table loader 2016-07-06 10:09:14 +02:00
Bo Maryniuk
71c2eec85b Implement table creation from the object 2016-07-06 10:09:14 +02:00
Bo Maryniuk
3c7a97e904 Update doc 2016-07-06 10:09:14 +02:00
Bo Maryniuk
4587ae2150 Implement database opener 2016-07-06 10:09:14 +02:00
Bo Maryniuk
a8f4fd589a Add listing and creating database places. 2016-07-06 10:09:14 +02:00