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

fixed start tso app and send tso app output formatting #2347

Merged
merged 18 commits into from
Nov 8, 2024

Conversation

jace-roell
Copy link
Contributor

@jace-roell jace-roell commented Nov 4, 2024

What It Does
Improved output formatting for zowe zos-tso start app and zowe zos-tso send app

Review Checklist
I certify that I have:

Additional Comments

@jace-roell jace-roell self-assigned this Nov 4, 2024
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Signed-off-by: jace-roell <[email protected]>
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.16%. Comparing base (fdf1e70) to head (bca9cdf).
Report is 19 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2347   +/-   ##
=======================================
  Coverage   91.16%   91.16%           
=======================================
  Files         636      636           
  Lines       18034    18039    +5     
  Branches     3879     3880    +1     
=======================================
+ Hits        16440    16446    +6     
+ Misses       1593     1592    -1     
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jace-roell jace-roell marked this pull request as ready for review November 4, 2024 18:35
Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes LGTM! 😋

left a couple of comments, but nothing that should prevent this PR from being merged 🙏

packages/cli/src/zostso/start/as-app/StartASApp.handler.ts Outdated Show resolved Hide resolved
packages/cli/src/zostso/send/as-app/SendASApp.handler.ts Outdated Show resolved Hide resolved
packages/zosfiles/CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jace for working on this fix! I left a suggestion regarding the current test cases, but the changes LGTM

packages/cli/src/zostso/send/as-app/SendASApp.handler.ts Outdated Show resolved Hide resolved
packages/cli/src/zostso/start/as-app/StartASApp.handler.ts Outdated Show resolved Hide resolved
awharn
awharn previously requested changes Nov 6, 2024
packages/cli/src/zostso/start/as-app/StartASApp.handler.ts Outdated Show resolved Hide resolved
jace-roell and others added 2 commits November 6, 2024 11:11
@jace-roell jace-roell requested a review from awharn November 6, 2024 16:18
@jace-roell jace-roell dismissed awharn’s stale review November 6, 2024 16:18

ready for rereview

Signed-off-by: jace-roell <[email protected]>
Copy link
Contributor

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggesting edits to the changelog entry.

packages/cli/CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: jace-roell <[email protected]>
@jace-roell jace-roell requested a review from anaxceron November 6, 2024 19:15
@jace-roell jace-roell requested a review from traeok November 6, 2024 19:15
Copy link
Contributor

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some additional comments.

@@ -2,6 +2,10 @@

All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- BugFix: Improved output formatting for `zowe zos-tso start app` and `zowe zos-tso send app` by parsing and displaying relevant data rather than the entire JSON response [#2347](https://github.com/zowe/zowe-cli/pull/2347)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Can we say that these are commands? Like: "Improved output formatting for the AAA and BBB commands by ... "
  • Sentence should end w/ a period.

Signed-off-by: jace-roell <[email protected]>
@jace-roell jace-roell requested a review from anaxceron November 6, 2024 20:16
Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new output LGTM 😋
but just left a question about a possible system test without the --rfj flag

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for being picky, but should we also have a system test for the non---rfj approach?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as previous comment

Copy link
Contributor

@ATorrise ATorrise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks nice!

Copy link
Member

@t1m0thyj t1m0thyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @jace-roell!

Copy link
Contributor

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changelog!

Signed-off-by: jace-roell <[email protected]>
Copy link

sonarqubecloud bot commented Nov 8, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
78.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@jace-roell jace-roell requested a review from awharn November 8, 2024 14:53
@zFernand0 zFernand0 merged commit 6ed09fc into master Nov 8, 2024
18 of 19 checks passed
@zFernand0 zFernand0 deleted the address-space-app-out-fix branch November 8, 2024 15:24
@zFernand0 zFernand0 added the release-current Indicates that there is no new functionality being delivered label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-current Indicates that there is no new functionality being delivered
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

8 participants