Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] From UI show the targets selected for a completed analysis #118

Open
jwmatthews opened this issue Apr 6, 2023 · 2 comments
Open
Labels

Comments

@jwmatthews
Copy link
Member

As of today I don't see a 'pretty' way from the UI to go back to a complete Analysis and see what targets were selected for that analysis run.

There is away to get to the data from UI by seeing the raw JSON output from the details as below
Screenshot 2023-04-06 at 10 44 19 AM

which shows us
`{"id":2,"createUser":"","updateUser":"","createTime":"2023-04-05T17:36:22.830108304Z","name":"customer legacy.1.windup","addon":"windup","data":{"mode":{"artifact":"","binary":false,"csv":true,"diva":false,"withDeps":true},"output":"/windup/report","rules":{"bundles":[{"id":2,"name":"Containerization"},{"id":6,"name":"Linux"}],"path":"","tags":{"excluded":[]}},"scope":{"packages":{"excluded":[],"included":[]},"withKnown":false},"sources":[],"tagger":{"enabled":true},"targets":["cloud-readiness","linux"]},"application":{"id":1,"name":"customer legacy"},"state":"Succeeded","image":"quay.io/konveyor/tackle2-addon-windup:latest","started":"2023-04-05T17:36:23.196146583Z","terminated":"2023-04-05T18:39:48.469375098Z","report":{"id":2,"createUser":"admin.noauth","updateUser":"admin.noauth","createTime":"2023-04-05T17:37:21.34877703Z","status":"Succeeded","error":"","total":2,"completed":2,"activity":["Fetching application.","[BUCKET] Report deleted:/windup/report duration:165.98252ms.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1","[CMD] succeeded.","[SSH] Agent started.","[GIT] Cloning: https://github.com/konveyor/example-applications.git","[FILE] Created /working/.gitconfig.","[CMD] Running: /usr/bin/git clone https://github.com/konveyor/example-applications.git /working/source/example-applications","[CMD] succeeded.","[CMD] Running: /usr/bin/git checkout main","[CMD] succeeded.","[MVN] Fetch dependencies.","[CMD] Running: /usr/bin/mvn dependency:copy-dependencies -f /working/source/example-applications/example-1/pom.xml -DoutputDirectory=/working/deps -Dmaven.repo.local=/cache/m2","[CMD] succeeded.","[CMD] Running: /opt/windup --exitCodes --batchMode --output /working/report --input /working/deps --exportSummary --input /working/source/example-applications/example-1 --exportCSV --target cloud-readiness --target linux","[CMD] succeeded.","[BUCKET] Report updated:/windup/report duration:314.268565ms.","[TAG] Tagging Application 1."],"task":2}}

@rromannissen
Copy link
Contributor

+1 to this. And I think this could be tied up to #116. This all looks like information that could be displayed in a tab related to analysis in the application profile.

@jortel
Copy link
Contributor

jortel commented Nov 3, 2023

The UI now shows this in YAML which is very readable. Perhaps not the final solution but a step forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants