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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

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

Signed-off-by: jace-roell <jace.roell@hotmail.com>
@jace-roell jace-roell self-assigned this Nov 4, 2024
Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
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 (440f8e3) to head (8415cff).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2347   +/-   ##
=======================================
  Coverage   91.15%   91.16%           
=======================================
  Files         636      636           
  Lines       18029    18034    +5     
  Branches     3767     3768    +1     
=======================================
+ Hits        16434    16440    +6     
+ Misses       1594     1593    -1     
  Partials        1        1           

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

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
Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
jace-roell and others added 2 commits November 6, 2024 11:11
…e properly passed to subsequent calls

Signed-off-by: jace-roell <jace.roell@hotmail.com>
Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com>
Signed-off-by: jace-roell <jace.roell@hotmail.com>
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 <jace.roell@hotmail.com>
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 <jace.roell@hotmail.com>
Copy link

sonarcloud bot commented Nov 6, 2024

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

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

Successfully merging this pull request may close these issues.

5 participants