Project

General

Profile

User story #14160

Support separated policy generation for technique "Variable from JSON file (dict)"

Added by Nicolas CHARLES 4 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Suggestion strength:
User visibility:
Effort required:

Description

Technique variableFromJsonFile is currently quite convoluted and hard to understand, because all directives are merged into one file
We need to port it to separated policy generation, and this port offers the opportynity to rewrite it totally, to make it much more simple:
  1. load the json file
  2. load the json overrides files
  3. profit

(and no more sorting on tracking key)


Related issues

Related to Rudder - User story #14002: Port techniques downloadFile & cronManagement to separated policy generation ReleasedActions
Related to Rudder - User story #14244: deprecate the version 2.0 of the technique VariableFromJsonFilesNewActions

Associated revisions

Revision 4bfa995d (diff)
Added by Félix DALLIDET 3 months ago

Fixes #14160: Rewrite and simplify variableFromJsonFile to support separated policy generation

Revision a93444de (diff)
Added by Félix DALLIDET 3 months ago

Fixes #14160: Rewrite and simplify variableFromJsonFile to support separated policy generation

Revision aac55aa5 (diff)
Added by Félix DALLIDET 3 months ago

Refs #14160: Add "variable from json file" version 3.0 to maintained techniques

History

#1

Updated by Nicolas CHARLES 4 months ago

  • Related to User story #14002: Port techniques downloadFile & cronManagement to separated policy generation added
#2

Updated by Félix DALLIDET 4 months ago

  • Status changed from New to In progress
#4

Updated by Félix DALLIDET 4 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1409
#5

Updated by Alexis MOUSSET 4 months ago

  • Target version changed from 4.3.9 to 4.3.10
#6

Updated by Félix DALLIDET 3 months ago

  • Status changed from Pending technical review to Pending release
#8

Updated by François ARMAND 3 months ago

  • Target version changed from 4.3.10 to 4.3.11
#9

Updated by Vincent MEMBRÉ about 1 month ago

  • Subject changed from Rewrite and simplify variableFromJsonFile to support separated policy generation to Support separated policy generation for technique "Variable from JSON file (dict)"
#10

Updated by Vincent MEMBRÉ about 1 month ago

This bug has been fixed in Rudder 4.3.11 and 5.0.9 which were released today.

#11

Updated by Vincent MEMBRÉ about 1 month ago

  • Related to User story #14244: deprecate the version 2.0 of the technique VariableFromJsonFiles added
#12

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

Also available in: Atom PDF