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

feat: add submit uss across the board #184

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

feat: add submit uss across the board #184

wants to merge 5 commits into from

Conversation

zFernand0
Copy link
Member

@zFernand0 zFernand0 commented Mar 6, 2025

What It Does

Added submit to the CLI plug-in 😋

How to Test

Deploy and run zowe zssh submit ds|uss|lf

Note: local-file (as well as stdin) depend on submitJcl which may not work until we fix:

Review Checklist
I certify that I have:

Additional Comments

Again, just trying to complete the table 😋

Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Copy link

sonarqubecloud bot commented Mar 6, 2025

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 Fernando for adding this and spotting the submit JCL bug 🙏 I have one request regarding trimming spaces but nothing major

result = jobs.SubmitUssResponse{
Success: true,
Path: request.Path,
JobId: strings.TrimSpace(string(out)),
Copy link
Member

Choose a reason for hiding this comment

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

I think this is fine, but ideally we could use the output as-is from zowex 😋


string only_jobid(result.get_option("--only-jobid")->get_value());
if ("true" == only_jobid)
cout << jobid << endl;
Copy link
Member

Choose a reason for hiding this comment

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

Now that I'm reading the handler logic, can we remove the trim from the Go code since we don't print any spaces?

Base automatically changed from f/jobs to main March 7, 2025 02:56
@pull-request-size pull-request-size bot added size/XL and removed size/L labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Review/QA
Development

Successfully merging this pull request may close these issues.

3 participants