Commit Graph

3628 Commits

Author SHA1 Message Date
Ilja Neumann
199ad32e04 Temporarily disable groups query 2020-10-14 18:03:52 +02:00
Ilja Neumann
98ed583b89 Add or query to query regexes 2020-10-14 18:03:52 +02:00
Ilja Neumann
8bcf5d4096 Add startswith(id,...) query for group 2020-10-14 18:03:52 +02:00
Ilja Neumann
c31732872d Don't add empty values to the index 2020-10-14 18:03:52 +02:00
Ilja Neumann
755bbd7817 Create absolute accounts dir for tests and recreate it on each test 2020-10-14 18:03:52 +02:00
Ilja Neumann
f84892a2c2 Fix test to not rely on ordering 2020-10-14 18:03:52 +02:00
Ilja Neumann
cc0a141dc6 go fmt 2020-10-14 18:03:52 +02:00
Ilja Neumann
0ca3a10daf Remove bleave provider and tokenizer 2020-10-14 18:03:52 +02:00
Ilja Neumann
9243330ae4 Create random testdata-dir 2020-10-14 18:03:52 +02:00
Ilja Neumann
be9b30f0b5 - Reseed in each update-test
- Don't assert in cleanup
2020-10-14 18:03:52 +02:00
Ilja Neumann
fd6d80435b Fix ListGroups 2020-10-14 18:03:52 +02:00
Ilja Neumann
05b2acf4a9 staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann
29a63532f1 Various test adjustments and fixes 2020-10-14 18:03:52 +02:00
Ilja Neumann
4aa019289b Don't check if symlink is valid, as the target might have already been removed before index update 2020-10-14 18:03:52 +02:00
Ilja Neumann
c4df138ac7 Fix groups data-folder 2020-10-14 18:03:52 +02:00
Ilja Neumann
aada7ac65d Delete group by entity instead by id 2020-10-14 18:03:52 +02:00
Ilja Neumann
56b88057e8 Delete value directory if it is empty 2020-10-14 18:03:52 +02:00
Ilja Neumann
e2f54df24d Pass account instead of id to index delete 2020-10-14 18:03:52 +02:00
Ilja Neumann
f11ae963b1 Fix index types 2020-10-14 18:03:52 +02:00
Ilja Neumann
51c853fa23 Make user-listing and querying work + fix lint/vet/staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann
69a7491507 Integrate indexer / remove bleve [WIP] 2020-10-14 18:03:52 +02:00
A.Unger
3a08a6eac0 shared helper init function for starting the metadata storage 2020-10-14 18:03:52 +02:00
Benedikt Kulmann
7d999f1334 Fix metadata storage in tests 2020-10-14 18:03:52 +02:00
A.Unger
d85e818546 fix all ofenses 2020-10-14 18:03:52 +02:00
A.Unger
dd5ee5e9da rename Id -> ID 2020-10-14 18:03:52 +02:00
A.Unger
0a038219fa fix more ofenses 2020-10-14 18:03:52 +02:00
A.Unger
815d07f71c fix linter 2020-10-14 18:03:52 +02:00
A.Unger
9d285e2ec5 fix staticchecks 2020-10-14 18:03:52 +02:00
A.Unger
1ff74d1f73 oops 2020-10-14 18:03:52 +02:00
A.Unger
04b33715d0 refactor disk tests 2020-10-14 18:03:52 +02:00
Benedikt Kulmann
7bbc387af1 start metadata storage in tests 2020-10-14 18:03:52 +02:00
A.Unger
4015a504e3 fix test suite 2020-10-14 18:03:52 +02:00
A.Unger
4444f5e8a4 delete unused AddNonUniqueIndex 2020-10-14 18:03:52 +02:00
A.Unger
fbd52cef8f merge AddUniqueIndex and AddNonUniqueIndex into AddIndex to the Indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann
dba08c48dc Add non-unique with index with options 2020-10-14 18:03:52 +02:00
Ilja Neumann
4300f6a3cf Apply ProviderAddr from options to cs3config 2020-10-14 18:03:52 +02:00
A.Unger
a852edc763 wip config 2020-10-14 18:03:52 +02:00
A.Unger
e32738e812 re-implement update 2020-10-14 18:03:52 +02:00
Ilja Neumann
60cc905b19 Extract data-provider base url to the respective client 2020-10-14 18:03:52 +02:00
A.Unger
6373569f72 fix linter 2020-10-14 18:03:52 +02:00
A.Unger
fed18db2c6 fix index stringify name 2020-10-14 18:03:52 +02:00
A.Unger
5be1cb1fd1 non_unique cs3 index: final implementation 2020-10-14 18:03:52 +02:00
A.Unger
0ddd3d765b non_unique add impl 2020-10-14 18:03:52 +02:00
A.Unger
d2d865038d fix indexer folder 2020-10-14 18:03:52 +02:00
Ilja Neumann
66900b4419 cs3 unique index implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann
f9ee733e8b WIP cs3 index 2020-10-14 18:03:52 +02:00
Ilja Neumann
e70fbea51e Create pkg for index disk implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann
683138fb6e Fix errors alias name 2020-10-14 18:03:52 +02:00
Ilja Neumann
1c3e47c018 add reflect_test 2020-10-14 18:03:52 +02:00
Ilja Neumann
cfafdb6063 dot import alias for test pkg 2020-10-14 18:03:52 +02:00