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

[zos-tso] Refactor methods for issuing TSO commands #320

Closed
t1m0thyj opened this issue Jul 31, 2024 · 2 comments
Closed

[zos-tso] Refactor methods for issuing TSO commands #320

t1m0thyj opened this issue Jul 31, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request priority-medium
Milestone

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Jul 31, 2024

Update the following methods on the Tso class:

  • start_tso_session - deprecate and replace with start
  • end_tso_session - deprecate and replace with stop
  • send_tso_message - deprecate and replace with send
  • issue_command - keep but update return type

The return types of the new methods should be dataclasses:

  • start -> StartTsoResponse
{
      servletKey: 'ibmuser-813-aamyaamn',
      queueID: '13369436',
      sessionID: '0x32D',
      ver: '0100',
      tsoData: [Array],
      reused: false,
      timeout: false
}
  • end_tso_session -> StopTsoResponse
{
      servletKey: 'ibmuser-813-aamyaamn',
      ver: '0100',
      reused: false,
      timeout: false
}
  • send -> TsoDataResponse
{
      servletKey: 'ibmuser-813-aamyaamn',
      ver: '0100',
      tsoData: [Array],
      reused: false,
      timeout: false
}
  • issue_command -> IssueTsoResponse
{
    startResponse: StartTsoResponse,
    zosmfResponse: TsoDataResponse[],
    stopResponse: StopTsoResponse,
    commandResponse: string[]
}
@t1m0thyj t1m0thyj added the enhancement New feature or request label Jul 31, 2024
@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Jul 31, 2024
Copy link

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@zowe-robot zowe-robot moved this from New Issues to Medium Priority in Zowe CLI Squad Jul 31, 2024
@zFernand0 zFernand0 added this to the v1 LTS milestone Jul 31, 2024
@t1m0thyj
Copy link
Member Author

Resolved in #322

@github-project-automation github-project-automation bot moved this from Medium Priority to Closed in Zowe CLI Squad Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-medium
Projects
Status: Closed
Development

No branches or pull requests

4 participants