-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
None
-
None
-
None
-
False
-
None
-
False
-
-
---
-
---
-
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