Skip to content

Commit

Permalink
Revert "Update custom rules analysis test"
Browse files Browse the repository at this point in the history
This reverts commit e0bc2ea.
  • Loading branch information
aufi committed Sep 29, 2023
1 parent e0bc2ea commit ebecd40
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions analysis/tc_petclinic_hazelcast.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package analysis

import (
"github.com/konveyor/go-konveyor-tests/hack/addon"
"github.com/konveyor/tackle2-hub/api"
)
import "github.com/konveyor/tackle2-hub/api"

var PetclinicHazelcast = TC{
Name: "Petclinic legacy cloud-readiness with tagger and hazelcast custom rules",
Expand All @@ -29,12 +26,16 @@ var PetclinicHazelcast = TC{
},
},
Task: Analyze,
Labels: addon.Labels{
Included: []string{
"konveyor.io/target=linux",
"konveyor.io/target=cloud-readiness",
ReportContent: map[string][]string{
"/windup/report/index.html": {
"12\nstory points",
"8\nCloud Mandatory",
"13\nInformation",
},
},
Targets: []string{
"cloud-readiness",
},
Analysis: api.Analysis{
Effort: 12,
Issues: []api.Issue{
Expand Down
3 changes: 2 additions & 1 deletion analysis/test_cases.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var Tier0TestCases = []TC{
// Tier 1 Analysis test cases - should work.
// List of applications with expected analysis outputs.
var Tier1TestCases = []TC{
PetclinicHazelcast,
// Setting empty until have working applications.
}

//
Expand All @@ -20,6 +20,7 @@ var Tier1TestCases = []TC{
var Tier2TestCases = []TC{
Tomcat,
Daytrader,
PetclinicHazelcast,
ApacheWicket,
SeamBooking,
}

0 comments on commit ebecd40

Please sign in to comment.