From 0ba460365e9df4e3fa9c80055512f66b1526c48e Mon Sep 17 00:00:00 2001 From: Igor Braginsky Date: Thu, 14 Nov 2024 15:20:44 +0200 Subject: [PATCH] Did more changes in analysis.json Signed-off-by: Igor Braginsky --- cypress/fixtures/analysis.json | 268 +++++++++++++++++++++------------ 1 file changed, 172 insertions(+), 96 deletions(-) diff --git a/cypress/fixtures/analysis.json b/cypress/fixtures/analysis.json index 79c5839ee..333d2ffc9 100644 --- a/cypress/fixtures/analysis.json +++ b/cypress/fixtures/analysis.json @@ -408,194 +408,270 @@ "effort": 402, "issues": [ { - "title": "beans.xml descriptor content is ignored", - "priority": "potential", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "`beans.xml` descriptor content is ignored", + "category": "potential", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 3, + "totalEffort": 3, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "cdi-to-quarkus-00030", "labels": [], - "totalAffectedApplications": 3 + "description": "beans.xml descriptor content is ignored" }, { - "title": "Add Maven profile to run the Quarkus native build", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Add Maven profile to run the Quarkus native build", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00060", "labels": [], - "totalAffectedApplications": 1 + "description": "Add Maven profile to run the Quarkus native build" }, { - "title": "Adopt Maven Compiler plugin", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Adopt Maven Compiler plugin", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00030", "labels": [], - "totalAffectedApplications": 1 + "description": "Adopt Maven Compiler plugin" }, { - "title": "Adopt Maven Failsafe plugin", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Adopt Maven Failsafe plugin", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00050", "labels": [], - "totalAffectedApplications": 1 + "description": "Adopt Maven Failsafe plugin" }, { - "title": "Adopt Maven Surefire plugin", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Adopt Maven Surefire plugin", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00040", "labels": [], - "totalAffectedApplications": 1 + "description": "Adopt Maven Surefire plugin" }, { - "title": "Adopt Quarkus BOM", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Adopt Quarkus BOM", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00010", "labels": [], - "totalAffectedApplications": 1 + "description": "Adopt Quarkus BOM" }, { - "title": "Adopt Quarkus Maven plugin", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Adopt Quarkus Maven plugin", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00020", "labels": [], - "totalAffectedApplications": 1 + "description": "Adopt Quarkus Maven plugin" }, { - "title": "javax groupId has been replaced by jakarta.platform", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "javax groupId has been replaced by jakarta.platform", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javax-to-jakarta-dependencies-00006", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "javax groupId has been replaced by jakarta.platform" }, { - "title": "javax javaee-api artifactId has been replaced by jakarta.platform jakarta.jakartaee-api", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "javax javaee-api artifactId has been replaced by jakarta.platform jakarta.jakartaee-api", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javax-to-jakarta-dependencies-00007", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "javax javaee-api artifactId has been replaced by jakarta.platform jakarta.jakartaee-api" }, { - "title": "Local HTTP Calls", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["cloud-readiness"], + "name": "Local HTTP Calls", + "category": "mandatory", + "sources": ["cloud-readiness"], + "targets": ["cloud-readiness"], + "effort": 7, + "totalEffort": 7, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "cloud-readiness", "rule": "localhost-http-00001", - "labels": ["konveyor.io/source", "localhost"], - "totalAffectedApplications": 7 + "labels": ["konveyor.io/source"], + "description": "Local HTTP Calls" }, { - "title": "Move persistence config to a properties file", - "priority": "optional", - "sourceTechnologies": ["jakarta-ee", "java-ee"], - "targetTechnologies": ["quarkus"], + "name": "Move persistence config to a properties file", + "category": "optional", + "sources": ["jakarta-ee", "1 more"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "persistence-to-quarkus-00000", "labels": [], - "totalAffectedApplications": 1 + "description": "Move persistence config to a properties file" }, { - "title": "Replace the Java EE namespace, schemaLocation and version with the Jakarta equivalent", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "Replace the Java EE namespace, schemaLocation and version with the Jakarta equivalent", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javaee-to-jakarta-namespaces-00001", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "Replace the Java EE namespace, schemaLocation and version with the Jakarta equivalent" }, { - "title": "Replace the Java EE persistence namespace, schemaLocation and version with the Jakarta equivalent", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "Replace the Java EE persistence namespace, schemaLocation and version with the Jakarta equivalent", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javaee-to-jakarta-namespaces-00002", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "Replace the Java EE persistence namespace, schemaLocation and version with the Jakarta equivalent" }, { - "title": "Replace the Java EE version with the Jakarta equivalent", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "Replace the Java EE version with the Jakarta equivalent", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javaee-to-jakarta-namespaces-00033", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "Replace the Java EE version with the Jakarta equivalent" }, { - "title": "Replace the Java EE XSD with the Jakarta equivalent", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "Replace the Java EE XSD with the Jakarta equivalent", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javaee-to-jakarta-namespaces-00006", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "Replace the Java EE XSD with the Jakarta equivalent" }, { - "title": "The 'javax' groupId has been replaced by 'jakarta' group id in dependencies.", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "The 'javax' groupId has been replaced by 'jakarta' group id in dependencies.", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javax-to-jakarta-dependencies-00001", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "The 'javax' groupId has been replaced by 'jakarta' group id in dependencies." }, { - "title": "The artifactIds starting with javax.*-api must be updated to their corresponding jakarta.*-api versions in dependency files", - "priority": "mandatory", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "The artifactIds starting with javax.*-api must be updated to their corresponding jakarta.*-api versions in dependency files", + "category": "mandatory", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javax-to-jakarta-dependencies-00002", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "The artifactIds starting with javax.*-api must be updated to their corresponding jakarta.*-api versions in dependency files" }, { - "title": "The expected project artifact's extension is jar", - "priority": "mandatory", - "sourceTechnologies": ["java-ee"], - "targetTechnologies": ["quarkus"], + "name": "The expected project artifact's extension is `jar`", + "category": "mandatory", + "sources": ["java-ee"], + "targets": ["quarkus"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "quarkus/springboot", "rule": "javaee-pom-to-quarkus-00000", "labels": [], - "totalAffectedApplications": 1 + "description": "The expected project artifact's extension is `jar`" }, { - "title": "web.xml element references a javax-prefixed class name", - "priority": "potential", - "sourceTechnologies": [], - "targetTechnologies": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "name": "web.xml element references a javax-prefixed class name", + "category": "potential", + "sources": ["eap", "5 more"], + "targets": ["eap", "eap8", "jakarta-ee", "jakarta-ee9+", "jws", "jws6+"], + "effort": 1, + "totalEffort": 1, + "incidents": 1, + "affectedFiles": 1, "ruleSet": "eap8/eap7", "rule": "javax-to-jakarta-servlet-00130", "labels": ["konveyor.io/source"], - "totalAffectedApplications": 1 + "description": "web.xml element references a javax-prefixed class name" } ], "dependencies": [