Project

General

Profile

Actions

User story #11161

closed

Share file from shared folder using relay rest api

Added by Vincent MEMBRÉ over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Regression:

Description

We should provide a way to download files from shared folder through the relay api.

This would allow to share file to dsc nodes, and allow a new way to share data.

One url:

/rudder/relay-api/shared-folder/path/to/file?hash=<md5hashofFile>

Two endpoints:

HEAD: to check if the file exists and if hash is ok /has changed

GET: download the file

Actions #1

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1370
Actions #3

Updated by Janos Mattyasovszky over 5 years ago

Why md5? the whole world is deprecating md5 for usecases like identifying file content...

Actions #4

Updated by Vincent MEMBRÉ over 5 years ago

You are right, I kept md5 to do like cfengine, But we can switch to another algorithm since it's now ok

Actions #5

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.2.0~beta3 to 4.2.0~rc1
Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.2.0~rc1 which was released today.

Actions

Also available in: Atom PDF