-
Notifications
You must be signed in to change notification settings - Fork 42
feat(IAM Policy Management): add support for action control templates from IAM #289
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
Conversation
… from IAM Signed-off-by: Rajesh Pirati <[email protected]>
integration test results
Examples
|
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.
Examples code is missing a test for one operation and the integration test code is missing a test for one operation as well.
@@ -61,6 +61,13 @@ | |||
example_target_account_id = None | |||
example_assignment_etag = None | |||
example_account_settings_etag = None | |||
example_action_control_template_id = None |
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.
If you add links to your API definition to describe the inter-operation dependencies, then the SDK generator would be able to generate these local variables automatically and also emit the code to assign their values and to also use their value at the appropriate places.
Video tutorial: https://secure.video.ibm.com/channel/23887899/playlist/651457/video/133486086
@@ -1064,6 +1071,345 @@ def test_update_access_management_account_settings_example(self): | |||
except ApiException as e: | |||
pytest.fail(str(e)) | |||
|
|||
@needscredentials |
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.
This file is missing a test for the delete_action_control_template_version
operation.
) | ||
assert response.get_status_code() == 204 | ||
|
||
def test_45_list_policy_template_versions(self): |
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.
typo in function name? doesn't match operation being tested
@@ -974,3 +982,323 @@ def test_34_update_access_management_account_settings(self): | |||
assert result.external_account_identity_interaction.identity_types.service.state == "monitor" | |||
assert result.external_account_identity_interaction.identity_types.service_id is not None | |||
assert result.external_account_identity_interaction.identity_types.service_id.state == "monitor" | |||
|
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.
Missing test for the get_action_control_template_assignment
operation.
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.
adding now.. Thanks
Integration test results
Examples
|
…es based on review feedback Signed-off-by: Rajesh Pirati <[email protected]>
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.
LGTM
# [0.65.0](v0.64.0...v0.65.0) (2025-05-07) ### Features * **IAM Policy Management:** add support for action control templates from IAM ([#289](#289)) ([579ae95](579ae95))
🎉 This PR is included in version 0.65.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR summary
PR Checklist
Please make sure that your PR fulfills the following requirements:
Current vs new behavior
Does this PR introduce a breaking change?
Other information
Issue: https://github.ibm.com/IAM/AM-issues/issues/3395