Actions
User story #9711
closedAdd generic methods to share files between nodes using rudder relay API
Effort required:
Name check:
Fix check:
Regression:
Description
We will create 2 new generic methods in ncf:
- sharedfile_to_node(target_uuid, file_id, file_path, ttl) where ttl is infinite by default
- sharedfile_from_node(source_uuid, file_id, file_path)
The first one will call HEAD on the shared-files API and if is gets a 404, call POST to send the content.
The second one will just download the file using regular cfengine protocol.
Updated by Alexis Mousset about 8 years ago
- Related to User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relay added
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/507
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 94f7ea28f4004b5e486e4ddb03a5fad5862ce8b2.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from master to ncf-1.2
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Actions