Actions
Bug #5711
closedUser story #5673: Add support to parameters in ncf techniques written with ncf builder
User story #5665: Generate technique with parameter from ncf
metadata.xml is considered malformed if it contains reportkeys and componentkey
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
In metadata.xml if we put a <SECTION> element with a componentKey attribute and a <REPORTKEYS> sub-element we get the following error :
[2014-10-29 15:54:02] ERROR com.normation.cfclerk.services.impl.GitTechniqueReader - Ignoring technique '/ncf_techniques/Test_BPE/1.4/metadata.xml' because the descriptor file is malformed. Error message was: Section 'Service restart' has a defined component key and defined reports key elements.
If this example has no use with some rudder techniques, it is a valid use case when considering ncf techniques with multiple calls to the same method.
So this should be allowed.
Updated by Benoît PECCATTE about 10 years ago
This may not be a bug.
We'll decide after talking about reporting description in ncf techniques.
Actions