Project

General

Profile

Actions

Architecture #12044

closed

Architecture #11913: no reporting if value to report contains a variable

Add a script to rewrite a technique from command line

Added by Vincent MEMBRÉ about 6 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

Almost all information of a ncf techniques is read for the metadata lines, but only one thing is missing ... method calls.

They are currently set using a cf-promises command on each technique then parsing this output to extract method calls.

I clearly think we should not do this anymore and instead store that information in metadata.

This would allow to create a technique without writing a single line of cfengine!

This will also give a performance improvement when loading techniques ( N cf-promises less, with N less json parsing !)


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #12335: typo in name of method used in write_all_techniquesReleasedVincent MEMBRÉActions
Actions #1

Updated by Vincent MEMBRÉ about 6 years ago

  • Category set to Technique editor - API
  • Target version set to 4.3.0~beta1
Actions #2

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #3

Updated by Vincent MEMBRÉ about 6 years ago

  • 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/ncf/pull/689
Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.3.0~beta1 to 4.3.0~rc1
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Subject changed from Parse method calls of a technique in metadata instead of using cf-promises to Add a script to rewrite a technique from command line
Actions #6

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
Actions #7

Updated by Vincent MEMBRÉ about 6 years ago

  • Pull Request deleted (https://github.com/Normation/ncf/pull/689)
Actions #8

Updated by Vincent MEMBRÉ about 6 years ago

  • 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/ncf/pull/702
Actions #9

Updated by Rudder Quality Assistant about 6 years ago

  • Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
Actions #10

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:b31b2fbf935988682a37e0287be880237313367d.

Actions #11

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0~rc1 which was released today.

Actions #12

Updated by Vincent MEMBRÉ almost 6 years ago

Actions #13

Updated by Alexis Mousset almost 2 years ago

  • Category set to Web - Technique editor
Actions

Also available in: Atom PDF