- Refactors storage to support replicas + custom storages on the Org. - There is a default primary + replica storage, while an Org can also have primary and replica storages. - StorageRef object is used to store references to default and custom storage. - CrawlFile has been updated to contain a StorageRef instead of a def_storage_name, which references either a default storage (in StorageOps) or custom storage (in Organization) - There is also a 'replicas' Optional[List[StorageRef]] which contains replicas, if any. - CrawlFileOut contain a numReplicas for how many replicas exist for a given file. - Migration: migration 0020 added to migrate existing Orgs, CrawlFile and ProfileFile objects to new storage system (CrawlFile and ProfileFile now extend BaseFile) Part of #1262 --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net> |
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| conftest.py | ||
| echo_server.py | ||
| test_collections.py | ||
| test_crawl_config_search_values.py | ||
| test_crawl_config_tags.py | ||
| test_crawlconfigs.py | ||
| test_filter_sort_results.py | ||
| test_invites.py | ||
| test_login.py | ||
| test_org.py | ||
| test_permissions.py | ||
| test_run_crawl.py | ||
| test_settings.py | ||
| test_stop_cancel_crawl.py | ||
| test_uploads.py | ||
| test_users.py | ||
| test_utils.py | ||
| test_webhooks.py | ||
| test_workflow_auto_add_to_collection.py | ||
| utils.py | ||