Actions
User story #20342
closedAdd a worst-case, weighted sum for block compliance mode
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
Description
We need a worst case by weighted with the sum of sub components for compliance mode, not only one with weight == 1.
Updated by François ARMAND almost 3 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/4031
Updated by François ARMAND almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|a793d7ab295e4242a7287cbb0fa905de1c3852b4.
Updated by François ARMAND almost 3 years ago
Applied in changeset rudder|50533ae386eb17a3d6a6fce4225635c532dbc2ec.
Updated by François ARMAND almost 3 years ago
Migration notice: technique generated between 7.0.0-beta1 and 7.0.0-rc1 will need to have their component mode name updated:
focus -> focus sum -> weighted worst -> worst-case-weighted-sum
You can achieve that by executing sed in technique repo:
cd /var/rudder/configuration-repository/techniques for i in $(find . -name "metadata.xml"); do sed -i -e s'/reporting="sum"/reporting="weighted"/' $i sed -i -e s'/reporting="worst"/reporting="worst-case-weighted-sum"/' $i done for i in $(find . -name "technique.json"); do sed -i -e s'/"type":"focus"/"type":"weighted"/' $i sed -i -e s'/"type":"worst"/"type:""worst-case-weighted-sum"/' $i done # check that the changes are OK, then: git add -u git commit -m "migration from 7.0.0-rc1 to rc2 block compliance format"
Updated by Vincent MEMBRÉ almost 3 years ago
I corrected some typo in your previous message François: worst-case-weighter-sum -> worst-case-weighted-sum
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~rc2 which was released today.
Actions