-
Notifications
You must be signed in to change notification settings - Fork 334
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
Fix optional_claims handling for azure_rm_adapplication #1480
Conversation
This reverts commit a1ec38a.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERROR: plugins/modules/azure_rm_adapplication.py:171:111: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:179:118: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:198:116: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:203:111: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:211:112: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:230:116: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:235:118: W291: trailing whitespace
ERROR: plugins/modules/azure_rm_adapplication.py:243:112: W291: trailing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 172,180,199,204,212,231,236,244
@kent007 Please remove trailing space
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Define errors!
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
# Conflicts: # plugins/modules/azure_rm_adapplication.py
After merging all suggested changes and resolving merge conflicts, I still see the following pep8 errors from sanity testing:
Should we address these? |
@kent007 Yes, changes are required, documentation must be pep8 compliant! Thank you! |
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
@kent007 I most made some changes to this PR(kent007#1) and submit your repo which you can merge into your branch 'dev-application'. The changes are as follows:
|
Add 'optional_claims' to the return value of azure_rm_adapplication
I see, thank you! Merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small error, return value duplicate, please delete. Thank you!
…ections#1480) * Fix: parse paginated replies for users and groups * Fix: await * wrong var return * Fix: optional claims for applications * Chore: correct documentation * Fix: check for optional_claims being None * Address PR feedback * Revert "Address PR feedback" This reverts commit a1ec38a. * Address PR feedback * Fix: line endings * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Fix: more doc formatting * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_adapplication.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * add `_claims` suffix to all three new parameters * Apply suggestions from code review Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Add 'optional_claims' to the return value of azure_rm_adapplication * Modify 'additional_properties' type to 'list' * remove duplicate keys --------- Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> Co-authored-by: Fred-sun <xiuxi.sun@qq.com>
SUMMARY
Fixes #1475
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
azure_rm_adapplication
ADDITIONAL INFORMATION
I copied the format already present for manipulating other complex fields. Conceivably this could be divided into 3 module level args instead of a single complex arg, but I don't see any direct benefit for doing so. Tests seem to work okay against my azure instance.
Previously filed in #1479 and #1476, closed those while I was reworking branches on my fork