Azure / appcat-rulesets

Repository for maintaining Rulesets for Windup
Eclipse Public License 2.0
6 stars 10 forks source link

Overrides the existing Redis rule #93

Closed agoncal closed 1 year ago

agoncal commented 1 year ago

I think we might have an issue with the overriding mechanism.

I’ve created a custom Redis Cache rule in rules/rules-overridden-azure/technology-usage/embedded-cache-libraries.windup.xml which overrides rules/rules-reviewed/technology-usage/embedded-cache-libraries.windup.xml. But rules/rules-reviewed/cloud-readiness/embedded-cache-libraries.windup.xml also overrides it. So when I execute my test I get Found two providers with the same id: embedded-cache-libraries.

So it looks like we cannot have multiple inheritance in overriding a rule.