Skip to content

Add S3 file transfer support #22

@BorisYourich

Description

@BorisYourich

Is your feature request related to a problem? Please describe.
Currently the stage-in container uses only curl to download inputs and to post outputs. Therefore the jobs which use a different file transfer (ftp, s3) fail.

Describe the solution you'd like

  • use a docker image for the stage-in and stage-out containers, which will be able to use s3, http(curl), and ftp file transfer in tesp_api/service/event_actions.py
  • Implement a deciding logic that will use a correct method to download files based on the url prefix eg. http ftp s3. Make the changes both in tesp_api/utils/docker.py and in tesp_api/utils/singularity.py. Don't forget the stage-out methods for both modules as well.

Describe alternatives you've considered
NA

Additional context
Add any other context or screenshots about the feature request here.

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