Project

General

Profile

Actions

Bug #21551

closed

Bug #21502: Adapt webapp policy generation to 7.2 technique syntax

Adapt (more) technique writing to rudder dsc agent 7.2

Added by François ARMAND 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:
No

Description

# when enforce
Testing-Stuff -ReportId 6138afc4-f699-4e4a-8369-228db645bbd9@@5b7b2351-16ba-46aa-ab1d-bcedf0f1c7c3@@0 -TechniqueName "testing_stuff" -PolicyMode ([Rudder.PolicyMode]::Enforce)
# when audit
Testing-Stuff -ReportId 6138afc4-f699-4e4a-8369-228db645bbd9@@5b7b2351-16ba-46aa-ab1d-bcedf0f1c7c3@@0 -TechniqueName "testing_stuff" -PolicyMode ([Rudder.PolicyMode]::Audit)

In technique:
# add that for debug
$localContext = [Rudder.Context]::new($techniqueName)

Around each generic method:

BeginDirectiveCall -Name 'my-directihve-name' -Id 'my-dir-id'
.... gm ...
EndDirectiveCall -Name 'my-directihve-name' -Id 'my-dir-id'

And around each technique, same with s/Directive/Technique
Et la meme chose pour les techniques, mais en remplaçant "Directive" par "Technique", l'id est pas forcément necessaire

Actions #1

Updated by François ARMAND 6 months ago

  • Category set to Web - Technique editor
  • Target version set to 7.2.0~rc1
Actions #2

Updated by François ARMAND 6 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder/pull/4417
Actions #4

Updated by Anonymous 6 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by François ARMAND 5 months ago

  • Regression changed from Yes to No
Actions #6

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF