-
Notifications
You must be signed in to change notification settings - Fork 85
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
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3d5fe34
fixed start tso app and send tso app output formatting
jace-roell 4d5ddb5
changelog
jace-roell e27f135
snapshots
jace-roell 88a3e8a
changelog
jace-roell b800353
feedback fixes
jace-roell d21e857
condensed recieve handler logic
jace-roell 40390a2
refactor address space apps logging and linting
jace-roell b9afe1c
duplicate header
jace-roell bd88347
added --rfj to system testing scripts such that returned values can b…
jace-roell e5f69d5
Merge branch 'master' into address-space-app-out-fix
jace-roell 3c3498d
changelog
jace-roell 9b0cb6f
changelog
jace-roell 8415cff
changelog
jace-roell 7f0dff7
added system tests for --no-rfj test cases
jace-roell 4fe87bd
Merge branch 'master' into address-space-app-out-fix
jace-roell a34f5f7
Merge branch 'master' into address-space-app-out-fix
jace-roell 4e5482c
Merge branch 'master' into address-space-app-out-fix
jace-roell bca9cdf
use text utils
jace-roell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 25 additions & 16 deletions
41
.../cli/__tests__/zostso/__unit__/send/app/__snapshots__/SendASApp.handler.unit.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 1`] = ` | ||
"{ | ||
\\"version\\": \\"0100\\", | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-127-aabeaaag\\", | ||
\\"queueID\\": null, | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
" | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 2`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 3`] = `"UNIX message queue id = 1048608"`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 4`] = ` | ||
Object { | ||
"queueID": null, | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-127-aabeaaag", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 1048608", | ||
"VERSION": "0100", | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 1048608\\" | ||
} | ||
] | ||
}" | ||
], | ||
"version": "0100", | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 98 additions & 56 deletions
154
...li/__tests__/zostso/__unit__/start/app/__snapshots__/StartASApp.handler.unit.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,105 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 1`] = ` | ||
"{ | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-123-aaaaaa\\", | ||
\\"queueID\\": \\"983068\\", | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 983068\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Input message type = 32772\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Output message type = 4\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Reading application input from the UNIX message queue.\\" | ||
} | ||
] | ||
}" | ||
"[33m[1m[22m[39m | ||
[33m[1mServlet Key: [22m[39mZOWEUSER-123-aaaaaa" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 2`] = ` | ||
"[33m[1mQueue ID: [22m[39m983068 | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 3`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 4`] = `"UNIX message queue id = 983068"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 5`] = `"Input message type = 32772"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 6`] = `"Output message type = 4"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 7`] = `"Reading application input from the UNIX message queue."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 8`] = ` | ||
Object { | ||
"queueID": "983068", | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-123-aaaaaa", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 983068", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Input message type = 32772", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Output message type = 4", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Reading application input from the UNIX message queue.", | ||
"VERSION": "0100", | ||
}, | ||
], | ||
"version": undefined, | ||
} | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 1`] = ` | ||
"{ | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-123-aaaaaa\\", | ||
\\"queueID\\": \\"983068\\", | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 983068\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Input message type = 32772\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Output message type = 4\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Reading application input from the UNIX message queue.\\" | ||
} | ||
] | ||
}" | ||
"[33m[1m[22m[39m | ||
[33m[1mServlet Key: [22m[39mZOWEUSER-123-aaaaaa" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 2`] = ` | ||
"[33m[1mQueue ID: [22m[39m983068 | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 3`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 4`] = `"UNIX message queue id = 983068"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 5`] = `"Input message type = 32772"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 6`] = `"Output message type = 4"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 7`] = `"Reading application input from the UNIX message queue."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 8`] = ` | ||
Object { | ||
"queueID": "983068", | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-123-aaaaaa", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 983068", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Input message type = 32772", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Output message type = 4", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Reading application input from the UNIX message queue.", | ||
"VERSION": "0100", | ||
}, | ||
], | ||
"version": undefined, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as previous comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.