-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix to correct job log returining and other edge cases (#683)
* Update zos_job_submit to handle some edge cases and return the job log nearly always Signed-off-by: ddimatos <dimatos@gmail.com> * Linting correction Signed-off-by: ddimatos <dimatos@gmail.com> * Add changelog fragement for pr 683 Signed-off-by: ddimatos <dimatos@gmail.com> * Clean up comments in code Signed-off-by: ddimatos <dimatos@gmail.com> * Update restructured text for modules and changelog fragment Signed-off-by: ddimatos <dimatos@gmail.com> * Add support to check for security exception to job submit module Signed-off-by: ddimatos <dimatos@gmail.com> * Add additonal logic for jobs that use typerun=scan Signed-off-by: ddimatos <dimatos@gmail.com> * Update chnagelog fragment Signed-off-by: ddimatos <dimatos@gmail.com> * Update zos_job_submit.py Grammar change and correction. --------- Signed-off-by: ddimatos <dimatos@gmail.com>
- Loading branch information
Showing
7 changed files
with
350 additions
and
77 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
bugfixes: | ||
- zos_job_submit - Fixes the issue when invalid JCL syntax is submitted that a | ||
stack trace would result in the response, issue 623. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when a job is purged by the system that a | ||
stack trace would result in the response, issue 681. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue where the response did not include the | ||
job log when a non-zero return code would occur, issue 655. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when resources (data sets) identified in JCL | ||
did not exist such that a stack trace would result in the response, issue 624. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when `wait_time_s` was set to 0 that would | ||
result in a `type` error that a stack trace would result in the response, | ||
issue 670. (https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when a job encounters a security exception no | ||
job log would would result in the response, issue 684. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when a job is configured for a syntax check | ||
using TYPRUN=SCAN that it would wait the full duration set by `wait_time_s` | ||
to return a response, issue 685. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Fixes the issue when a job is configured for a syntax check | ||
using TYPRUN=SCAN that no job log would result in the response, issue 685. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
trivial: | ||
- zos_job_submit - Update documentation to for deprecated `wait` option and | ||
expand on the `wait_time_s` description, issue 670. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_job_submit - Update documentation to describing the significance of '?' | ||
for the 'ret_code' properties 'msg_text', 'msg_code' and 'msg', issue 685. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) | ||
- zos_operator - Update restructured text to include the updated examples. | ||
(https://github.com/ansible-collections/ibm_zos_core/pull/683) |
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
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
Oops, something went wrong.