-
Notifications
You must be signed in to change notification settings - Fork 373
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
upcoming: [M3-9422] -Update existing API endpoints and types for /v4/nodebalancers
#11811
upcoming: [M3-9422] -Update existing API endpoints and types for /v4/nodebalancers
#11811
Conversation
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 PR is technically M3-9421 and M3-9422, right?
We don't currently have or use the /v4/nodebalancers/{nodeBalancerId}/configs/{configId}/rebuild
endpoint, but I think it'd be worth adding the non-beta and beta versions.
I know you mentioned the /v4/vpcs
endpoint work was still pending on the back-end -- is that inclusive of the /v4/nodebalancers/{id}/vpcs
ones?
packages/api-v4/.changeset/pr-11811-upcoming-features-1741607872773.md
Outdated
Show resolved
Hide resolved
/v4/nodebalancers
/v4/nodebalancers
/v4/nodebalancers
/v4/nodebalancers
/v4/nodebalancers
/v4/nodebalancers
Coverage Report: ❌ |
This covers only M3-9422. I've only added
So the The endpoints under |
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.
Where did you get confirmation on the data shapes? All but CreateNodeBalancerConfigNode
are a little unclear to me based on the API spec (ex: it seems like the API spec suggests via a code snippet that CreateNodeBalancerPayload
would have a vpcs
property that is an array of objects with the shape you have for the vpc
property currently). We should ask that they provide clear examples of the data shapes for each case.
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.
All the changes w.r.t. creating a nodebalancer have been specified under the POST /v4beta/nodebalancers
endpoint in the API spec, which I've used to make the chain of changes in CreateNodeBalancerPayload
, CreateNodeBalancerConfig
and CreateNodeBalancerConfigNode
.
Changes for NodeBalancerConfigNode
comes from the GET /v4beta/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes
endpoint.
I've asked to add the modifications in request/response json to be added. But I think, for the existing endpoints this shouldn't be a blocker
…422-update-endpoints-in-nb
Cloud Manager UI test results🎉 539 passing tests on test run #4 ↗︎
|
@@ -232,4 +235,9 @@ export interface CreateNodeBalancerPayload { | |||
configs: CreateNodeBalancerConfig[]; | |||
firewall_id?: number; | |||
tags?: string[]; | |||
vpc?: { |
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 field should be named vpcs
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.
Missed this. Added the change in PR #11832
Description 📝
Updates existing /v4/nodebalancers endpoints for NB-VPC Integration
How to test 🧪
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅