forked from konveyor/go-konveyor-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload binary analysis test (konveyor#101)
Signed-off-by: Maayan Hadasi <[email protected]>
- Loading branch information
Showing
8 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package analysis | ||
|
||
import ( | ||
"github.com/konveyor/go-konveyor-tests/data" | ||
"github.com/konveyor/go-konveyor-tests/hack/addon" | ||
"github.com/konveyor/tackle2-hub/api" | ||
) | ||
|
||
var AdministracionEfectivo = TC{ | ||
Name: "administracion-efectivo", | ||
Application: data.UploadBinary, | ||
Task: Analyze, | ||
Labels: addon.Labels{ | ||
Included: []string{ | ||
"konveyor.io/target=cloud-readiness", | ||
}, | ||
}, | ||
Binary: true, | ||
Artifact: "/binary/administracion_efectivo.ear", | ||
Analysis: api.Analysis{ | ||
Effort: 1591, | ||
Issues: []api.Issue{ | ||
{ | ||
Category: "mandatory", | ||
Description: "Java native libraries (JNI, JNA)", | ||
Effort: 7, | ||
RuleSet: "cloud-readiness", | ||
Rule: "jni-native-code-00000", | ||
}, | ||
{ | ||
Category: "mandatory", | ||
Description: "File system - Java IO", | ||
Effort: 1, | ||
RuleSet: "cloud-readiness", | ||
Rule: "local-storage-00001", | ||
}, | ||
{ | ||
Category: "mandatory", | ||
Description: "File system - java.net.URL/URI", | ||
Effort: 1, | ||
RuleSet: "cloud-readiness", | ||
Rule: "local-storage-00002", | ||
}, | ||
}, | ||
}, | ||
AnalysisTags: []api.Tag{ | ||
{Name: "Servlet", Category: api.Ref{Name: "HTTP"}}, | ||
{Name: "EAR Deployment", Category: api.Ref{Name: "Other"}}, | ||
{Name: "JNI", Category: api.Ref{Name: "Other"}}, | ||
{Name: "Mail", Category: api.Ref{Name: "Other"}}, | ||
{Name: "Spring Scheduled", Category: api.Ref{Name: "Processing"}}, | ||
{Name: "Mail", Category: api.Ref{Name: "Connect"}}, | ||
{Name: "Servlet", Category: api.Ref{Name: "Connect"}}, | ||
{Name: "EAR Deployment", Category: api.Ref{Name: "Connect"}}, | ||
{Name: "JNI", Category: api.Ref{Name: "Connect"}}, | ||
{Name: "JNI", Category: api.Ref{Name: "Java EE"}}, | ||
{Name: "Servlet", Category: api.Ref{Name: "Java EE"}}, | ||
{Name: "EAR Deployment", Category: api.Ref{Name: "Java EE"}}, | ||
{Name: "Mail", Category: api.Ref{Name: "Java EE"}}, | ||
{Name: "Spring Scheduled", Category: api.Ref{Name: "Embedded"}}, | ||
{Name: "Spring Scheduled", Category: api.Ref{Name: "Execute"}}, | ||
}, | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters