Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(261): Adds parameter to descend into lists when scrubbing None p… #262

Merged
merged 5 commits into from
Mar 10, 2021

Conversation

wimnat
Copy link
Contributor

@wimnat wimnat commented Feb 9, 2021

…arams

SUMMARY

Fixes #261

Adding parameter to descend in to lists when scrubbing None parameter

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

scrub_none_parameters helper function (core)

ADDITIONAL INFORMATION

Defaulting to True as not yet implemented anywhere

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request module_utils module_utils needs_triage new_plugin New plugin plugins plugin (any type) tests tests needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Feb 9, 2021
tests/unit/module_utils/core/test_scrub_none_parameters.py Outdated Show resolved Hide resolved
plugins/module_utils/core.py Outdated Show resolved Hide resolved
tests/unit/module_utils/core/test_scrub_none_parameters.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@jillr jillr left a comment

Choose a reason for hiding this comment

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

Hi @winmat, thanks very much for the work starting this. Are you able to continue working on this PR or would you mind if someone continued with it? This would solve a few bugs so I'd like to be sure we can get it released asap.

@tremble
Copy link
Contributor

tremble commented Mar 9, 2021

Hi @wimnat,

we've not heard from you in a while,

since we've multiple PRs currently on hold for this I've attempted to address the various comments. I hope you don't mind.

@jillr
Copy link
Collaborator

jillr commented Mar 10, 2021

@tremble I'm happy for this to merge once CI is green, reran it a few times

@felixfontein
Copy link
Contributor

Hmm, according to Zuul, the stable-2.9 pylint sanity test is failling:

2021-03-09 12:12:39.943455 | centos-8 | ERROR: plugins/modules/aws_s3.py:342:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.943664 | centos-8 | ERROR: plugins/modules/aws_s3.py:345:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.943868 | centos-8 | ERROR: plugins/modules/aws_s3.py:377:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944099 | centos-8 | ERROR: plugins/modules/aws_s3.py:382:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944305 | centos-8 | ERROR: plugins/modules/aws_s3.py:407:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944508 | centos-8 | ERROR: plugins/modules/aws_s3.py:458:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944711 | centos-8 | ERROR: plugins/modules/aws_s3.py:487:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944912 | centos-8 | ERROR: plugins/modules/aws_s3.py:555:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945126 | centos-8 | ERROR: plugins/modules/aws_s3.py:580:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945326 | centos-8 | ERROR: plugins/modules/ec2_ami.py:581:20: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945528 | centos-8 | ERROR: plugins/modules/ec2_ami.py:674:20: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945730 | centos-8 | ERROR: plugins/modules/ec2_ami_info.py:260:16: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945932 | centos-8 | ERROR: plugins/modules/ec2_eni_info.py:224:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946150 | centos-8 | ERROR: plugins/modules/ec2_key.py:177:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946350 | centos-8 | ERROR: plugins/modules/s3_bucket.py:269:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946552 | centos-8 | ERROR: plugins/modules/s3_bucket.py:300:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946753 | centos-8 | ERROR: plugins/modules/s3_bucket.py:323:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946955 | centos-8 | ERROR: plugins/modules/s3_bucket.py:358:12: duplicate-except: Catching previously caught exception type ClientError

@ansibullbot ansibullbot added community_review and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Mar 10, 2021
@tremble
Copy link
Contributor

tremble commented Mar 10, 2021

@felixfontein Yeah, the stable-2.9 sanity tests have been fixed by #296 and #294 (unrelated to this PR, I'm guessing something was updated in the stable-2.9 container with the latest releases)

Tests are now passing in shippable, so I'm going to merge

@tremble tremble merged commit c1f4607 into ansible-collections:main Mar 10, 2021
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 9, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 9, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 16, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_review feature This issue/PR relates to a feature request module_utils module_utils new_plugin New plugin plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add descend in to list option for 'scrub_none_parameters'
6 participants