-
Notifications
You must be signed in to change notification settings - Fork 61
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(IAM Policy Management): S2S support for enterprise accounts #317
Conversation
Signed-off-by: Rajesh K Pirati <rajesh.pirati@ibm.com>
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.
Minor change for examples.
|
||
It(`CreatePolicyS2STemplate request example`, func() { | ||
fmt.Println("\nCreatePolicyS2STemplate() result:") | ||
// begin-create_policy_template |
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 has the same name as line 708. Can be an issue with example generation in the docs if this are named same? I think there might be a collison.
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.
yes, only one code block per operation
examplePolicyS2STemplateVersion = *policyTemplate.Version | ||
fmt.Println(string(b)) | ||
|
||
// end-create_policy_template |
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.
same as above.
…ents Signed-off-by: Rajesh K Pirati <rajesh.pirati@ibm.com>
|
||
It(`CreatePolicyS2STemplate request example`, func() { | ||
fmt.Println("\nCreatePolicyS2STemplate() result:") | ||
// begin-create_authorization_policy_template |
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.
// begin-create_authorization_policy_template | |
// begin-create_policy_template |
One example code block per operation, and the operation id in the "begin" and "end" comments must match the operationId in the API definition
@@ -820,6 +901,72 @@ var _ = Describe(`IamPolicyManagementV1 Examples Tests`, func() { | |||
Expect(policyTemplate).ToNot(BeNil()) | |||
}) | |||
|
|||
It(`CreatePolicyS2STemplateVersion request example`, func() { | |||
fmt.Println("\nCreatePolicyS2STemplateVersion() result:") | |||
// begin-create_authorization_policy_template_version |
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.
Same issue as the create_policy_template examples
…ents on examples Signed-off-by: Rajesh K Pirati <rajesh.pirati@ibm.com>
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.62.4](v0.62.3...v0.62.4) (2024-04-10) ### Bug Fixes * **IAM Policy Management:** S2S support for enterprise accounts ([#317](#317)) ([4d65f3d](4d65f3d))
🎉 This PR is included in version 0.62.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR summary
Authorization policy type support for enterprise accounts
issue: https://github.ibm.com/IAM/AM-issues/issues/2350
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
test results
example:
integration