Closed agoncal closed 2 months ago
Looks like we cannot override an issue with different target (see https://issues.redhat.com/browse/WINDUP-3814 that @KaiqianYang created)
@mrizzi also mentioned "The condition for overriding is that both ruleset and rule IDs must match."
Trying something different: https://github.com/Azure/windup-rulesets/pull/47
This has been fixed with https://github.com/windup/windup-rulesets/pull/987
I am moving this to Post-MVP, so that we focus on the rules we still need to close down. If we are done, we can go back and start discussing these, as the list is not small. Might as well break down into separate issues later.
There are some common rules that are worth using for our Azure targets:
But we might want the messages displayed to the user to be more Azure specific. For example, the rule that check the Windows path vs Linux path:
If we want to be more specific on our message, we can use the rule overriding mecanism in WindUp.
These overriding rules will not be contributed back to WindUp. For that, we should keep them separate. Maybe a new
rules-override-azure
directory that mimics the other common rules structure:Common Rules that could be Overridden:
openjdk7/oraclejdk7/oracle2openjdk.rhamt.xml
: Migration from OracleJDK to OpenJDKopenjdk11/openjdk8/java-removals.windup.xml
: API removals between OpenJDK 8 and 11openjdk11/openjdk8/removed-javaee-modules.windup.xml
: Respect to modules removed between OpenJDK 8 and 11openjdk17/openjdk11/applet-api-deprecation.windup.xml
: applet-api deprecation between OpenJDK 11 to 17openjdk17/openjdk11/lombok.windup.xml
: Lombok incompatibility between OpenJDK 11 to 17openjdk17/openjdk11/removed-classes.windup.xml
: After being deprecated in OpenJDK 11, the pack200, unpack200 and corresponding java.util.jar.Pack200* classes were removed in OpenJDK 14openjdk17/openjdk11/removed-packages.windup.xml
: Packages removed between OpenJDK 11 to 17openjdk17/openjdk11/security-manager-deprecation.windup.xml
: Security Manager classes and methods deprecated between OpenJDK 11 to 17cloud-readiness/embedded-cache-libraries.windup.xml
: Detects embedded cache libraries, which may be problematic when migrating an application to a cloud environmentcloud-readiness/java-rmi.windup.xml
: detects the Java Remote Method Invocation (RMI), which may be problematic when migrating an application to a cloud environmentcloud-readiness/java-rpc.windup.xml
: detects the Java Remote Procedure Call (RPC), which is problematic when migrating an application to a cloud environmentcloud-readiness/jca.windup.xml
: detects the Java Connector Architecture (JCA), which may be problematic when migrating an application to a cloud environmentcloud-readiness/jni-native-code.windup.xml
: detects Java Native Interface (JNI) and Java Native Access (JNA) code, which may be problematic when migrating an application to a cloud environmentcloud-readiness/local-storage.windup.xml
: detects local storage usage, which is problematic when migrating an application to a cloud environmentcloud-readiness/logging.windup.xml
: detects logging configurations that may be problematic when migrating an application to a cloud environmentcloud-readiness/mail.windup.xml
: detects the Java Mail API, which may be problematic when migrating an application to a cloud environmentcloud-readiness/session.windup.xml
: detects data storage in HTTP session objects, which may be problematic when migrating an application to a cloud environmentcloud-readiness/socket-communication.windup.xml
: detects the use of socket communication by the client or server, which may be problematic when migrating an application to a cloud environmentos/windows/os-specific.windup.xml
: ruleset for Windows operating system specific rules while migrating to Linux operating systemIn
technology-usage
there are many rulesets that could partially be overriden:3rd-party.windup.xml
: Tomcatclustering.windup.xml
: detecting usage of clustering technologiesconfiguration-management.windup.xml
: configuration-management related technologiesconnect.windup.groovy
: See https://github.com/Azure/windup-rulesets/issues/4database.windup.groovy
: See https://github.com/Azure/windup-rulesets/issues/2ejb.windup.xml
: provides analysis of EJB librariesembedded-framework.windup.xml
: provides analysis of embedded frameworksintegration.windup.xml
: Istiojavase.windup.xml
: Threadslogging-technology-usage.windup.xml
: logging items that were found during the analysismarkup-technology-usage.windup.xml
: Markup (HTML, CSS, JS) items that were found during the analysisobservability.windup.xml
: observability related technologiessecurity.windup.xml
: Java security librariesweb.windup.xml
: JNLP