User story #11161
closed
Share file from shared folder using relay rest api
Added by Vincent MEMBRÉ over 7 years ago.
Updated about 7 years ago.
Category:
Relay server or API
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
- Status changed from New to In progress
- 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
Why md5? the whole world is deprecating md5 for usecases like identifying file content...
You are right, I kept md5 to do like cfengine, But we can switch to another algorithm since it's now ok
- Target version changed from 4.2.0~beta3 to 4.2.0~rc1
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.2.0~rc1 which was released today.
Also available in: Atom
PDF