Commit Graph
3643 Commits
Author SHA1 Message Date
Benedikt KulmannandA.Unger 6d39cedf08 Add failing test for indexer on autoincrement index 2020-10-15 15:36:06 +02:00
Benedikt KulmannandA.Unger d578a2603a Fix service user 2020-10-15 15:36:06 +02:00
Benedikt KulmannandA.Unger 629561833a Write uid and gid from autoincrement index into accounts/groups 2020-10-15 15:36:04 +02:00
Benedikt KulmannandA.Unger 6ac2e2669c Copy functions of unique index to autoincrement index of disk package 2020-10-15 15:33:18 +02:00
Benedikt KulmannandA.Unger 75c7a6e3df Copy functions of unique index to autoincrement index of cs3 package 2020-10-15 15:33:18 +02:00
Benedikt KulmannandA.Unger 19f1fd11c4 Align order of cuntions with index interface 2020-10-15 15:33:18 +02:00
Benedikt KulmannandA.Unger 6c4ce0d53c Fix PK in cs3 tests 2020-10-15 15:33:18 +02:00
Benedikt KulmannandA.Unger 8abdb833d4 Implement Add for cs3 autoincrement index 2020-10-15 15:33:18 +02:00
A.Unger 5bdb94e92d first draft autoincrement cs3 apis 2020-10-15 15:33:18 +02:00
A.Unger b61f123cd7 first draft implementation of an autoincremental index 2020-10-15 15:33:18 +02:00
Ilja Neumann c9f0cdd256 Disable ACCOUNTS_DATA_PATH 2020-10-14 19:07:56 +02:00
Ilja Neumann f272bb243b Add STORAGE_STORAGE_METADATA_ROOT 2020-10-14 18:40:14 +02:00
Ilja Neumann 3aa10fa8f0 Fix lint 2020-10-14 18:03:52 +02:00
Ilja Neumann f651303866 Fix id or samaccount query 2020-10-14 18:03:52 +02:00
Ilja Neumann 20e3bd0826 Disable DISK_PATH temporarily 2020-10-14 18:03:52 +02:00
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 NeumannandIlja 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.UngerandIlja Neumann 3a08a6eac0 shared helper init function for starting the metadata storage 2020-10-14 18:03:52 +02:00
Benedikt KulmannandIlja Neumann 7d999f1334 Fix metadata storage in tests 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann d85e818546 fix all ofenses 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann dd5ee5e9da rename Id -> ID 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 0a038219fa fix more ofenses 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 815d07f71c fix linter 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 9d285e2ec5 fix staticchecks 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 1ff74d1f73 oops 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 04b33715d0 refactor disk tests 2020-10-14 18:03:52 +02:00
Benedikt KulmannandIlja Neumann 7bbc387af1 start metadata storage in tests 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 4015a504e3 fix test suite 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 4444f5e8a4 delete unused AddNonUniqueIndex 2020-10-14 18:03:52 +02:00
A.UngerandIlja Neumann 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