ska_dlm.dlm_migration.dlm_migration_requests

DLM Migration API module.

Functions

app_lifespan(_)

Lifespan hook for startup and shutdown.

copy_data_item([item_name, oid, uid, ...])

Copy a data_item from source to destination.

get_migration_record(migration_id)

Query for a specific migration.

ioerror_exception_handler(request, exc)

Catch IOError and send a JSONResponse.

query_migrations([authorization, ...])

Query for all migrations by a given user, with optional filters.

rclone_copy(url, src_fs, src_remote, ...)

Copy a file from one place to another.

update_migration_statuses()

Update the migration job status in the database for all pending rclone jobs.