Project

General

Profile

Actions

User story #9711

closed

Add generic methods to share files between nodes using rudder relay API

Added by Alexis Mousset about 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
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.


Subtasks 1 (0 open1 closed)

Bug #9924: Broken syntax in parent ticketReleasedBenoît PECCATTEActions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relayReleased2016-11-22Actions
Actions #1

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
Actions #2

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #3

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
Actions #4

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 commit:94f7ea28f4004b5e486e4ddb03a5fad5862ce8b2.

Actions #5

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Alexis Mousset over 2 years ago

  • Target version changed from master to ncf-1.2
Actions #7

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF