-
Notifications
You must be signed in to change notification settings - Fork 63
feat(Partner Center Sell): adding cbr options for iam registration #403
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(Partner Center Sell): adding cbr options for iam registration #403
Conversation
Signed-off-by: Peter Harasztia <peter.harasztia@ibm.com>
Signed-off-by: Peter Harasztia <peter.harasztia@ibm.com>
Signed-off-by: Peter Harasztia <peter.harasztia@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.
A few small things to change, otherwise it looks good. I'll approve once these are addressed.
// begin-update_iam_registration | ||
|
||
time.Sleep(25 * time.Second) | ||
iamServiceRegistrationPatchModel := &partnercentersellv1.IamServiceRegistrationPatch{} |
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 few comment here:
- Let's surround the operation tags (
begin-...
) with blank lines - The sleep doesn't belong to the actual example, it should be outside of the example block
- Do we really need that much pause here? Just asking because I don't see
sleep
s in the integration tests. If the answer is yes, please make it more noticable - just in case someone else wants to run these tests. Something likefmt.Println("Waiting for 25 seconds..."
) should be sufficient.
// begin-update_iam_registration | |
time.Sleep(25 * time.Second) | |
iamServiceRegistrationPatchModel := &partnercentersellv1.IamServiceRegistrationPatch{} | |
time.Sleep(25 * time.Second) | |
// begin-update_iam_registration | |
iamServiceRegistrationPatchModel := &partnercentersellv1.IamServiceRegistrationPatch{} |
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.
For number 3:
The Read-Your-Writes Consistency is not really working downstream had to add sleep so it will work.
For more detail you can find my post in the iam-issues channel in slack.
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.
Okay, thanks for the explanation!
Signed-off-by: Peter Harasztia <peter.harasztia@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!
@pyrooka Hello! |
@HarasztiaPeter Turned out it was just a glitch. After re-running all the builds, everything is clean, so this PR is good to go. One question though: are you planning to open similar PRs in the other repositories or it's only for the Go SDK and I can merge it right now? |
@pyrooka You can merge it. We only need this SDK for our terraform provider. |
# [0.87.0](v0.86.1...v0.87.0) (2025-09-12) ### Features * **Partner Center Sell:** adding cbr options for iam registration ([#403](#403)) ([e93483c](e93483c))
🎉 This PR is included in version 0.87.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