Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3814

<overrideRules> doesn't work when overriding rules for a new targetTechnology.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • ---
    • ---
    • Important
    • No

      While working on rules to migrate to azure-spring-apps, I found some existing rules for other targetTechnologies that would be valuable to reuse. As an example, I wanted to enable the "os-specific" rule for azure-spring-apps but customize the messages.

      I tried copying the rule with <overrideRules>true</overrideRules> and a azure-spring-apps targetTechnology. I expected:

      1. To get new messages when selecting azure-spring-apps
      2. To get old messages when selecting linux

      However, the actual results were:

      1. No incidents for "os-specific" when selecting azure-spring-apps
      2. Old messages when selecting linux

      I guess this is because <overrideRules> only overrides the rule itself, not the metadata like targetTechnology. Does this mean I can only override rules for their original target technology? Is there possibilities to fix this issue or do you have any other suggestions?

      The key issues seem to be: Rules can only be overridden for their existing targetTechnologyIdeally, <overrideRules> should allow overriding rules for any targetTechnology, not just the original one

            Unassigned Unassigned
            kaiqianyang Kaiqian Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: