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 more command handlers, cleanup code, support error response #143

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

Conversation

traeok
Copy link
Member

@traeok traeok commented Feb 20, 2025

What It Does

  • Adds the following USS command handlers to ioserver:
    • chmodFile, chownFile, chtagFile, createFile, deleteFile
  • Adds the following Job command handlers to ioserver:
    • cancelJob, deleteJob, submitJcl, submitJob
  • Implements the following changes in zowex:
    • new USS functionalities: chown, chtag
    • new Job functionality: Submit JCL from stdin
    • Refactored zjb_submit to support submitting JCL contents directly and from DSN
    • Adds support for mkdir -p behavior (recursively creates missing inner directories) when making a new USS directory
    • Adds support for recursive option in chmod/chown/chtag operations
  • Adds the following commands and groups to zssh:
    • cancel: job
    • delete: uss-file, uss-dir
    • submit: job
    • unix: chmod, chown, chtag
  • Adds error handling to Go layer to properly forward JSON-serialized errors to client (for further processing)

How to Test

Review Checklist
I certify that I have:

Additional Comments

Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
@traeok traeok force-pushed the feat/more-handlers branch from 9076c36 to fd4d12e Compare February 20, 2025 23:47
- cancel & delete job
- USS file/directory create & delete
- update `apis.md` to reflect additions

Signed-off-by: Trae Yelovich <[email protected]>
@traeok traeok marked this pull request as ready for review February 21, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants