Project

General

Profile

Architecture #12044

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É over 2 years ago. Updated about 2 years ago.

Status:
Released
Priority:
N/A
Category:
Technique editor - API
Target version:
Effort required:

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

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

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 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
#4

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 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
#6

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 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
#9

Updated by Rudder Quality Assistant over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

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

Updated by Vincent MEMBRÉ about 2 years ago

  • Status changed from Pending release to Released

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

#12

Updated by Vincent MEMBRÉ about 2 years ago

Also available in: Atom PDF