Project

General

Profile

Actions

Bug #19989

open

rudder server reload-techniques does not verify the coherence of the techniques file structure

Added by Félix DALLIDET about 3 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Rudder currently requires that a technique is always placed under a directory named from its technique_id.
Unfortunately, this is only verified when modifying a technique from the technique editor.

If you put a json somewhere under /var/rudder/configuration-repository/techniques/ncf_techniques, commit it and run rudder server reload-techniques it will be imported
in the interface but will be unusable without any warning nor error if it was not placed under the correct directory structure.

This is very misleading when you work for instance with new 7.0 features like rudder language.

When reloading techniques, the webapp should control that they are coherent with their placement in the git structure, and at least, dump an error message in the webapp log when it occurs.

Actions

Also available in: Atom PDF