Skip to content

fix(IAM Policy Management): add nested conditions to rule.conditions#228

Merged
padamstx merged 4 commits intomainfrom
policyNestedConditions
Nov 7, 2023
Merged

fix(IAM Policy Management): add nested conditions to rule.conditions#228
padamstx merged 4 commits intomainfrom
policyNestedConditions

Conversation

@swcolley
Copy link
Copy Markdown
Contributor

@swcolley swcolley commented Nov 7, 2023

PR summary

Updated based on minor api definition update.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Integration Tests:

 pytest test/integration/test_iam_policy_management_v1.py
=================================================================================== test session starts ===================================================================================
platform darwin -- Python 3.10.12, pytest-7.2.0, pluggy-1.0.0
rootdir: /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-python-sdk
plugins: cov-2.12.1
collected 27 items                                                                                                                                                                        

test/integration/test_iam_policy_management_v1.py ...........................                                                                                                       [100%]

=================================================================================== 27 passed in 18.10s ===================================================================================

Examples:

pytest examples/test_iam_policy_management_v1_examples.py
=================================================================================== test session starts ===================================================================================
platform darwin -- Python 3.10.12, pytest-7.2.0, pluggy-1.0.0
rootdir: /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-python-sdk
plugins: cov-2.12.1
collected 28 items                                                                                                                                                                        

examples/test_iam_policy_management_v1_examples.py ............................                                                                                                     [100%]

=================================================================================== 28 passed in 14.21s ===================================================================================

@padamstx padamstx self-requested a review November 7, 2023 14:18
@padamstx padamstx self-assigned this Nov 7, 2023
Signed-off-by: Shaun Colley <shaun.colley@ibm.com>
@swcolley
Copy link
Copy Markdown
Contributor Author

swcolley commented Nov 7, 2023

New tests:

pytest test/integration/test_iam_policy_management_v1.py 
============================================================================== test session starts ==============================================================================
platform darwin -- Python 3.10.12, pytest-7.2.0, pluggy-1.0.0
rootdir: /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-python-sdk
plugins: cov-2.12.1
collected 27 items                                                                                                                                                              

test/integration/test_iam_policy_management_v1.py ...........................                                                                                             [100%]

============================================================================== 27 passed in 18.10s ==============================================================================
(venv) shaunsmacibm@Shauns-MacBook-Pro platform-services-python-sdk % pytest examples/test_iam_policy_management_v1_examples.py
============================================================================== test session starts ==============================================================================
platform darwin -- Python 3.10.12, pytest-7.2.0, pluggy-1.0.0
rootdir: /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-python-sdk
plugins: cov-2.12.1
collected 28 items                                                                                                                                                              

examples/test_iam_policy_management_v1_examples.py ............................                                                                                           [100%]

============================================================================== 28 passed in 10.70s ==============================================================================

@padamstx padamstx changed the title Policy nested conditions fix(IAM Policy Management): add nested conditions to rule.conditions Nov 7, 2023
Copy link
Copy Markdown
Contributor

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

LGTM

@padamstx padamstx merged commit aa43c31 into main Nov 7, 2023
@padamstx padamstx deleted the policyNestedConditions branch November 7, 2023 18:46
ibm-devx-sdk pushed a commit that referenced this pull request Nov 7, 2023
## [0.46.1](v0.46.0...v0.46.1) (2023-11-07)

### Bug Fixes

* **IAM Policy Management:** add nested conditions to rule.conditions ([#228](#228)) ([aa43c31](aa43c31))
@ibm-devx-sdk
Copy link
Copy Markdown

🎉 This PR is included in version 0.46.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants