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

Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. #338

Merged
merged 9 commits into from
Jun 20, 2022

Conversation

ddimatos
Copy link
Collaborator

SUMMARY

This pull request resolves the divergent branches. It will bring branch enh6933 current with the content in the dev branch.
This is a progressive step in the direction to update enh6933 so its pull requst 312 can easily merge with dev.

ISSUE TYPE
  • Docs Pull Request

Andersson007 and others added 9 commits September 28, 2021 14:06
Copy ignore-2.12.txt to ignore-2.13.txt
* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>
Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt
* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.
* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>
…#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
This merges the content from dev into this stagging branch to later
merged into pull request 312. This resolves the branch divergence.
@ddimatos ddimatos added the Documentation Report documetation errors or needed changes label Jun 18, 2022
@ddimatos ddimatos requested a review from richp405 June 18, 2022 04:56
@ddimatos ddimatos self-assigned this Jun 18, 2022
@ddimatos ddimatos added the In Progress This issue is under review by a team member. label Jun 18, 2022
Copy link
Collaborator

@richp405 richp405 left a comment

Choose a reason for hiding this comment

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

Looks okay. I retract my previous question about ls versus ls -l, because I didn't realize the ansible shell pre-processed stdout that way. Now I know.

@ddimatos
Copy link
Collaborator Author

Looks okay. I retract my previous question about ls versus ls -l, because I didn't realize the ansible shell pre-processed stdout that way. Now I know.

No worries @richp405 , it was a good point and question, i had to double back to make sure I did not error but then recalled why I could use ls.

@ddimatos ddimatos merged commit 63825be into enh6933 Jun 20, 2022
@ddimatos
Copy link
Collaborator Author

Thanks for the review @richp405 !

@ddimatos ddimatos deleted the doc/pr312/add-changelog-to-branch branch June 20, 2022 18:13
ddimatos added a commit that referenced this pull request Jun 20, 2022
…anges available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
ddimatos added a commit that referenced this pull request Jun 22, 2022
* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>
ddimatos added a commit that referenced this pull request Jun 22, 2022
* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>
@ddimatos ddimatos removed the In Progress This issue is under review by a team member. label Jun 22, 2022
ddimatos added a commit that referenced this pull request Jun 23, 2022
)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>
Co-authored-by: Ivan Moreno <[email protected]>
ddimatos added a commit that referenced this pull request Jun 24, 2022
* Added indentation option to the module

* Added blockinfile tests and modified helper to assert taking into account spaces and line breaks

* Add changelog frament to release.

Signed-off-by: ddimatos <[email protected]>

* Merge dev into NAZARE-8880-prepend-spaces to handle the divergence (#342)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29a.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>
Co-authored-by: Ivan Moreno <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Rich Parker <[email protected]>
Co-authored-by: Ivan Moreno <[email protected]>
ddimatos added a commit that referenced this pull request Jul 1, 2022
#346)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d59465016fad78f9c0e1c594b576a00fff.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Nazare 8880 prepend spaces (#317)

* Added indentation option to the module

* Added blockinfile tests and modified helper to assert taking into account spaces and line breaks

* Add changelog frament to release.

Signed-off-by: ddimatos <[email protected]>

* Merge dev into NAZARE-8880-prepend-spaces to handle the divergence (#342)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on…
ddimatos added a commit that referenced this pull request Jul 1, 2022
* Modifed zos_blockinfile for using the dmod -f option

* Created functional tests for force option

* Cleaned blank spaces for sanity test

* Update branch NAZARE-8838-force-option branch with the latest from dev (#346)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d59465016fad78f9c0e1c594b576a00fff.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Nazare 8880 prepend spaces (#317)

* Added indentation option to the module

* Added blockinfile tests and modified helper to assert taking into account spaces and line breaks

* Add changelog frament to release.

Signed-off-by: ddimatos <[email protected]>

* Merge dev into NAZARE-8880-prepend-spaces to handle the divergence (#342)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Pa…
ddimatos added a commit that referenced this pull request Aug 19, 2022
* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d59465016fad78f9c0e1c594b576a00fff.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Nazare 8880 prepend spaces (#317)

* Added indentation option to the module

* Added blockinfile tests and modified helper to assert taking into account spaces and line breaks

* Add changelog frament to release.

Signed-off-by: ddimatos <[email protected]>

* Merge dev into NAZARE-8880-prepend-spaces to handle the divergence (#342)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exc…
ddimatos added a commit that referenced this pull request Aug 22, 2022
* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* change to call submit, adding timeout parameter.  Need to test pds and uss variants.

* removed prior code comments

* corrections for pep8 issues

* Fixed MissingImport function call

* Changed import statements that were hanging up the build
wrapped zoau in try/except
changed spacing on from collections

* tweaking jobs.py importer for zoau stuff

* added missing zoaau import import

* More decoration control on imports

* changed zos_job_output to do a full list request and filter
This is to handle an issue where zoau may not see job by job name or owner.

* saved the job.py file with the search change needed.

* fixed under-indent (pep8) @368

* Disable timeout test until ZOAU timout is supported as it was once in REXX

Signed-off-by: ddimatos <[email protected]>

* Update branch enh6778 pull reqeust 318 with the latest from dev (#348)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Feature/2621/regex operator action query (#313)

* added message_text parameter for specifying a regex

* Added new parameter documentation and example

* Simplified regex pattern

* Revert "Simplified regex pattern"

This reverts commit a877b9d59465016fad78f9c0e1c594b576a00fff.
Going back to using all valid regex to parse the raw output from z/OS

* Added regex to raw message

* Changed 'msg_' to 'message_' to keep consistency

* Added tests for regex

* Changed description for message_text in RETURN doc

* Added use_regex suboption to message_filter

* Fixed documentation style issues

* Updated tests for new suboption in zos_operator_action_query

* Added test cases for use_regex and tweaked examples

* Doc/regex operator action query (#340)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* added changes from PR comments:
job.py: cleaned up variable name, stray comment, switched some n/a and UNAV to None
zos_job_submit: improved wording on an exception message

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Minor doc updates per the pull request comments

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Demetri <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: Rich Parker <[email protected]>

* Nazare 8880 prepend spaces (#317)

* Added indentation option to the module

* Added blockinfile tests and modified helper to assert taking into account spaces and line breaks

* Add changelog frament to release.

Signed-off-by: ddimatos <[email protected]>

* Merge dev into NAZARE-8880-prepend-spaces to handle the divergence (#342)

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* Update fragment from bug fix to minor changes

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: ddimatos <[email protected]>
Co-authored-by: Andrew Klychkov <[email protected]>
Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>

* This function updates the existing code to leverage the latest API changes available in ZOAU 1.2.0 (#312)

* zos_operator: removed rexx/sdsf script and used opercmd.execute() instead
... this passes integration/playbook tests,
... so I'm duplicating the change in job.py before build testing

* Initial branch for Jira NAZARE-6933... this aligns zos_submit/zos_output to zoau.
We use the zoau library instead of a local rexx and sdsf call.
Note: passes integration tests using 1.2 of zoau.
Note: documentation is mistaken, which I'll change before PR submission

* NAZARE-6933 (alignment with zoau) - code complete
Unit tests pass, with 3 variances:
1 - Cannot find/get Job class
2 - Cannot find/get content_type
3 - msg_txt is what is returned from job list, so it's not as meaningful as the sdsf version was.

* update to pull class, system and subsystem from the dd's when loading job.
still haven't found job type outside of sdsf.

* Corrected processing of the 'node' value for subsystem.
Upcoming: found an odd response on JCL error.

* error handling: added "JCLERR" to list of terminators
error handling: no return error code as rc where appropriate (from dd)
non-error handling: added a check to not consider a job status provided if the dd's aren't there

* comment in zos_job_output hadn't been saved

* removed other comment, since the issue was addressed.

* fixes for pep-8 issues (spacing)
tweak to switch IFSDELAY (SDSF) to use timeout (zoau native)

* Tweaking import statements to add some protection to zoau imports.

* correction to call of _zget_job_status (had self-referenced a parameter)

* experimental change to zget_job_status::jobs/listing, to only pass first param
This is to check a theory that the additional owner param for 1.2 is killing 1.1 testing

* Added sdsf action back into zos_operator so that 1.1 zoau could pass the timer test

* added TJSP to output to track error in job_submit_func

* added traccking to test_zos_operator_func (test precedence keeps changing)

* tweak to handle 1.1 situation where ddls doesn't return a recnum

* bugfix: run_operator_command needed to use wait_time_s, not wait_time

* tracking with output added to time delay test of operator func

* pep8 fixes on a test function (?>?!)

* expanded error handling in job.poy to handle partial returns from listing and list_dds

* changed if not ... in ... to if ... not in ... ... argh

* tweaked test for more output, and temporarily commented assertion.

* fixing argument indext

* yet another pylint issue on a test message

* change to add parameter back into operator call
change to add time assertion back into operator test

* changed operator command delay param, but re-commented assertion
This will pass, but delay doesn't seem to be working.

* job: put in logic to limit result based on ddname, if provided
output: removed excess
operator: corrected parameter passing

* change to import to get past linter

* forgot missingImport import

* Change to job to handle ddname value... same for job_query.

* Adding changelog fragement to the pull request

Signed-off-by: ddimatos <[email protected]>

* Update the branch enh6933 used for pull request 312 by merging in the latest from branch dev. (#338)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Gh issue 329 ddname (#333)

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank lines

Signed-off-by: ddimatos <[email protected]>

* update zos_fetch test case to remove testing the sftp port which is deprecated

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* update test case with verbosity to troubleshoot file count

Signed-off-by: ddimatos <[email protected]>

* Update the test case to add 1 to the count for the added profile

Signed-off-by: ddimatos <[email protected]>

* Correct missing whitespace around arithmetic operator

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* Chaning src file because I think there is a race condition where its used elsewhere

Signed-off-by: ddimatos <[email protected]>

* add more debug stmt's to the test case

Signed-off-by: ddimatos <[email protected]>

* Added more debug to the test

Signed-off-by: ddimatos <[email protected]>

* Update test case with more debug

Signed-off-by: ddimatos <[email protected]>

* udpate test case to correctly validate copied file

Signed-off-by: ddimatos <[email protected]>

Co-authored-by: Oscar Fernando Flores Garcia <[email protected]>
Co-authored-by: ddimatos <[email protected]>

* Update zos_blockinfile to correctly manage double quotes in the block (#303)

* Changed the quotedString routine to remove double-quotations instead of escaping them.
Because this routine is potentially called multiple times, the escaping can become problematic.
Also, the quotation marks themselves cause problems with the zoau/blockinfile routine that gets called.

* Added note to documentation that quotation marks will be removed.

* Added 4.2 ignore file

* added 2.13 ignore

* added more ignore files, in case the versioning is butchered (added 4.0 and 4.1)

* removed some ignore files, and mucked 2.11 up to see if it throws an error

* added ignore 12, 13 and put different garbage in each...trying to find which ignore is used

* messed up the 4.2 ignore file

* added 2.11.5 ignore, still looking for the trigger

* added ignore.txt, in case 2.13 is being skipped

* removed incorrect ignore files.

* restored ignore files

* Added changelog fragement for pr 303

Signed-off-by: ddimatos <[email protected]>

* Udpate the changelog fragment with more details

Signed-off-by: ddimatos <[email protected]>

* Doc/pr303/add changelog to branch (#337)

* Copy ignore-2.12.txt to ignore-2.13.txt

* Update/copy fetch scp bypass (#305)

* Update galaxy author list

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Add logic to ensure the module only uses SFTP for sftp_transfer_method so that encodings are maintained as desired

Signed-off-by: ddimatos <[email protected]>

* Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt

* Update dependency to use the latest with security patches (#332)

* Update dependency to use the latest with security patches

Signed-off-by: ddimatos <[email protected]>

* Update requirements to community 4.10.0 which is ansible-core 2.11.7

Signed-off-by: ddimatos <[email protected]>

* Revert "Update requirements to community 4.10.0 which is ansible-core 2.11.7"
because our jenkins and docker images are not yet ready for what 4.10.0
brings in for dependencies. The last error for this migration shows that we
need to add pycodestyle to our container.

This reverts commit 9dfd29acc23d283c0aefb24e1a2c1774ff1b9b7c.

* Fixed typo for dd_name that prevented job output filtering based on dd_name

* Added functional tests to verify ddname filtering

* Update Readme to reflect supported ansible version

Signed-off-by: ddimatos <[email protected]>

* Upate release note to reflect patched version 1.3.x

Signed-off-by: ddimatos <[email protected]>

* Update galaxy.yml with added build_ignore and authors

Signed-off-by: ddimatos <[email protected]>

* Update artifacts to correctly reflect execution environments

Signed-off-by: ddimatos <[email protected]>

* Update module with boolean bug fix and version released

Signed-off-by: ddimatos <[email protected]>

* Update modules docs and version released

Signed-off-by: ddimatos <[email protected]>

* Update error message for clarity

Signed-off-by: ddimatos <[email protected]>

* Update sanity tests to remove a doc reference

Signed-off-by: ddimatos <[email protected]>

* First commit for changelog support and backported release fragemetns

Signed-off-by: ddimatos <[email protected]>

* Update changelog fragments because of yamlint blank l…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Report documetation errors or needed changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants