-
Notifications
You must be signed in to change notification settings - Fork 240
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
mockgcp: more fidelity for secretmanager #2320
mockgcp: more fidelity for secretmanager #2320
Conversation
justinsb
commented
Jul 19, 2024
- mockgcp: update secretmanager
- mockgcp: update fidelity of secretmanager API
- tests: add updated golden output for secretmanager
832f403
to
61c697c
Compare
This is because the automatic update PR #2311 was failing because we were (incorrectly) responding with all fields for secret manager from mockgcp. |
98e0f29
to
d74bc95
Compare
hasConditions := false | ||
for _, binding := range request.Policy.Bindings { | ||
if binding.Condition != nil { | ||
hasConditions = true |
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.
might as well break at this point. No point in going through the rest of the bindings....
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.
Done!
...t/resourcefixture/testdata/basic/alloydb/v1beta1/alloydbcluster/fullalloydbcluster/_http.log
Show resolved
Hide resolved
Looks good. Would like answers for Policy.Version and projectId before making it official. |
These scenarios use setIamPolicy / getIamPolicy (predominantly), and those methods now (correctly) return headers with our mock.
d74bc95
to
1773460
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheftako The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
042ce34
into
GoogleCloudPlatform:master