Skip to content

Commit

Permalink
Fixed wrong analysis parameter in issues test and fixed json file (#1287
Browse files Browse the repository at this point in the history
)

Signed-off-by: Igor Braginsky <[email protected]>
  • Loading branch information
ibragins authored Dec 10, 2024
1 parent 38b1609 commit d56cff1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe(["@tier3"], "Filtering, sorting and pagination in Issues", function ()
getRandomApplicationData("IssuesFilteringApp1_" + i, {
sourceData: appData["bookserver-app"],
}),
getRandomAnalysisData(analysisData["analysis_for_openSourceLibraries"])
getRandomAnalysisData(analysisData["source_analysis_on_bookserverapp"])
);
bookServerApp.business = businessServiceList[0].name;
applicationsList.push(bookServerApp);
Expand Down
52 changes: 13 additions & 39 deletions cypress/fixtures/analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@
"appName": "bookserver-app",
"tags": ["EJB XML", "Java EE Batch", "EJB XML"],
"issues": [
{
"name": "File system - Java IO",
"category": "mandatory",
"sources": ["None"],
"targets": ["cloud-readiness"],
"effort": 1,
"totalEffort": 6,
"incidents": 6,
"affectedFiles": 1,
"ruleSet": "cloud-readiness",
"rule": "local-storage-00001",
"labels": ["konveyor.io/source", "storage"]
},
{
"name": "Add Maven profile to run the Quarkus native build",
"category": "mandatory",
Expand Down Expand Up @@ -101,6 +88,19 @@
"rule": "javaee-pom-to-quarkus-00020",
"labels": ["None"]
},
{
"name": "File system - Java IO",
"category": "mandatory",
"sources": ["None"],
"targets": ["cloud-readiness"],
"effort": 1,
"totalEffort": 6,
"incidents": 6,
"affectedFiles": 1,
"ruleSet": "cloud-readiness",
"rule": "local-storage-00001",
"labels": ["konveyor.io/source", "storage"]
},
{
"name": "Remove the SpringBoot @SpringBootApplication annotation",
"category": "mandatory",
Expand Down Expand Up @@ -165,32 +165,6 @@
"ruleSet": "quarkus/springboot",
"rule": "springboot-di-to-quarkus-00000",
"labels": ["None"]
},
{
"name": "Version of Spring Boot not compatible with Jakarta EE 9+",
"category": "mandatory",
"sources": ["None"],
"targets": ["jakarta-ee", "jakarta-ee9+", "jws", "jws6+"],
"effort": 3,
"totalEffort": 1,
"incidents": 1,
"affectedFiles": 1,
"ruleSet": "jakarta-ee9",
"rule": "spring-components-00001",
"labels": ["konveyor.io/source"]
},
{
"name": "Version of Spring not compatible with Jakarta EE 9+",
"category": "mandatory",
"sources": ["None"],
"targets": ["jakarta-ee", "jakarta-ee9+", "jws", "jws6+"],
"effort": 3,
"totalEffort": 1,
"incidents": 1,
"affectedFiles": 1,
"ruleSet": "quarkus/springboot",
"rule": "spring-components-00002",
"labels": ["konveyor.io/source"]
}
],
"dependencies": [
Expand Down

0 comments on commit d56cff1

Please sign in to comment.