Actions
Bug #21551
closedBug #21502: Adapt webapp policy generation to 7.2 technique syntax
Adapt (more) technique writing to rudder dsc agent 7.2
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
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