Commit Graph

71032 Commits

Author SHA1 Message Date
Bo Maryniuk
397258a2d4 Fix lint for Python3 compat 2016-07-06 10:09:14 +02:00
Bo Maryniuk
367aa2429b Fix lint 2016-07-06 10:09:14 +02:00
Bo Maryniuk
68d079bdb2 Add max option 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2460d3856e Add "total" only. Add offset slicing (avoid truncated data) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
b87969ae7e Add options to the query 2016-07-06 10:09:14 +02:00
Bo Maryniuk
9487ebd525 Update docstrings 2016-07-06 10:09:14 +02:00
Bo Maryniuk
9fa86d4ab8 Improve error handling on query 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2775752cb1 Refactor snapshot maker 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2f0c40a0dc Remove Ruby port of list intersection 2016-07-06 10:09:14 +02:00
Bo Maryniuk
9ee623b15d Add "remove all" option while delete database snapshots 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2f7230928b Prevent creating new snapshots on a repeatable inspection requests 2016-07-06 10:09:14 +02:00
Bo Maryniuk
218e6efc2a Refactor inspection starter 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f936dc4892 Check readability permissions (if minion is not root) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
82ed36ef00 Configure Inspector with a proper configuration 2016-07-06 10:09:14 +02:00
Bo Maryniuk
aed8410398 Avoid ID gets rounded by Salt as "float" 2016-07-06 10:09:14 +02:00
Bo Maryniuk
6e907d44c8 Implement database delete 2016-07-06 10:09:14 +02:00
Bo Maryniuk
2a9d9aa765 Implement snapshot listing 2016-07-06 10:09:14 +02:00
Bo Maryniuk
783dfabbdf Add return value when flushing the database 2016-07-06 10:09:14 +02:00
Bo Maryniuk
073dcad779 Rename module from "node" to "inspector" 2016-07-06 10:09:14 +02:00
Bo Maryniuk
d1c2d5aaaa Lintfix 2016-07-06 10:09:14 +02:00
Bo Maryniuk
88ab5f4755 Fix Python3 compat (StringIO) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f1d0961e69 Fix boolean comparison 2016-07-06 10:09:14 +02:00
Bo Maryniuk
dc53267c97 Bugfix: return boolean value True if an object has been updated 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f275378e24 Add unit test for update an object 2016-07-06 10:09:14 +02:00
Bo Maryniuk
6174f4ad4a Fix imports 2016-07-06 10:09:14 +02:00
Bo Maryniuk
bf9ba65489 Add unit test for deleting objects 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1ce88be0ef Add unit test for criteria matcher 2016-07-06 10:09:14 +02:00
Bo Maryniuk
a20019d859 Add unit test for "matches" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
844eefd758 Add unit test for "less than" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fac88ac41b Add unit test for "equals" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1dfe81bfe6 Add unit test for "more than" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fcea03044b Bugfix: more than and less than should not take equal as. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
99848659c9 Add unit test on getting objects 2016-07-06 10:09:14 +02:00
Bo Maryniuk
bc1a8b7e45 Accept content in Writer 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c4c2ac7e70 Add object storing unit test 2016-07-06 10:09:14 +02:00
Bo Maryniuk
9d055023af Add code author string 2016-07-06 10:09:14 +02:00
Bo Maryniuk
8e537ccc9e Reset data in Writable 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c744aa1caf Add unit test for database listing 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f7dc2b9c84 Add unit test for object validation 2016-07-06 10:09:14 +02:00
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