JSONPath value is lost in LLD macro resolution for LLD prototypes during template import

XMLWordPrintable

    • S26-W10/11
    • 0.125

      Problem description: when a template or a host that contains a discovery rule prototype is imported, the definitions of LLD macros in these discovery prototype lose the value of the JSONPath parameter.

      Steps to reproduce:

      1. Import the following template: three_level_nested_LLD_template (6).yaml
      2. During import verify and confirm that LLD macro {#L1} and {#L2} have speciffic JSONPath defined on discovery prototypes "1st level LLD" and "2nd level LLD"
      3. Open the list of LLD rules on the imported template
      4. Open the list of discovery prototypes for LLD rule "Root level LLD"
      5. Open configuration of the "1st level LLD" discovery prototype
      6. Open "LLD macros" tab and check LLD macro "{#L1}" configuration

      Result: The value of the JSONPath parameter is missing.
      Expected: During iport no parameters of imported entities should be lost .

      Example:

            Assignee:
            Aleksandrs Subins
            Reporter:
            Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1h Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.25h
                1.25h