Azure / appcat-rulesets

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

Enable cloud-readiness, windows and openjdk rules when targeting Azure App Service #37

Closed agoncal closed 1 year ago

agoncal commented 1 year ago

When we choose the App Service target (<targetTechnology id="azure-appservice"/>) then we should automatically enable cloud-readiness, windows and openjdk rules. To do that, WindUp uses transformations. For example:

<?xml version="1.0"?>
<technology-reference-transfomers xmlns="http://windup.jboss.org/schema/jboss-ruleset">
    <transform>
        <sourceTechnology id="jws6"/>
        <targetTechnology id="jws" versionRange="[6,)"/>
    </transform>
    <transform>
        <sourceTechnology id="jws6"/>
        <targetTechnology id="jakarta-ee"/>
    </transform>
    <transform>
        <sourceTechnology id="jws6"/>
        <targetTechnology id="hibernate" versionRange="[6,)" />     
    </transform>
</technology-reference-transfomers>
agoncal commented 1 year ago

Fix #58