Skip to content

Handle preview/download/file size for files in Bucket storage #20

@apdavison

Description

@apdavison

The "Result files" tab on the validation result detail page doesn't work properly where files have been uploaded to EBRAINS Bucket storage:

image

This will require additions to ResultRelatedFiles.js, in the ResultFile and possibly the ResultRelatedFiles classes.

Some of the problems: the Bucket/Data proxy API does not support using HEAD requests to get file sizes, instead need to use the GET /v1/buckets/{bucket_name}" endpoint to get information for all files in a given bucket/folder, and probably the "GET
/v1/buckets/{bucket_name}/{object_name}
" endpoint to get download links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions