Project

General

Profile

Actions

Bug #12005

closed

Set flag to reload ncf technique through Rudder during update

Added by Nicolas CHARLES almost 7 years ago. Updated over 6 years ago.

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

Description

I created a test technique in 4.2, and migrated to 4.3

Unfortunately, reporting was broken

E| repaired      ${t_name}                 ${c_name}                 ${c_key}           Execute the command /bin/true was repaired

context is correctly set for rule/directive id

      "Global configuration for all nodes/test technique" usebundle => current_reporting_identifier("d3ace204-ede2-4b2d-8636-040f035cf3d1","32377fd7-02fd-43d0-aab7-28460a91347b");
     "Global configuration for all nodes/test technique" usebundle => set_dry_run_mode("false");
     "Global configuration for all nodes/test technique" usebundle => test_technique;

it does report with rule/directive id

R: @@${t_name}@@result_repaired@@32377fd7-02fd-43d0-aab7-28460a91347b@@d3ace204-ede2-4b2d-8636-040f035cf3d1@@0@@${c_name}@@${c_key}@@2018-01-18 09:55:02+00:00##root@#Execute the command /bin/true was repaired

but, technique doesn't contain everything necessary

bundle agent test_technique
{
  methods:
    "method_call" usebundle => command_execution("/bin/true"),
      ifvarclass => concat("any");
}

Actions

Also available in: Atom PDF