Skip to content
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

[WIP] Convert natgateways and vnetpeerings services to SDK v2 #3410

Closed

Conversation

mboersma
Copy link
Contributor

@mboersma mboersma commented Apr 10, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

Converts the natgateways and vnetpeerings services to use azure-sdk-for-go v2. Also adds the asyncpoller framework to support this, which is a variant of async that works with the new SDK.

Which issue(s) this PR fixes:

Refs #3409

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. labels Apr 10, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from mboersma. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 10, 2023
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 10, 2023
@mboersma
Copy link
Contributor Author

/retitle [WIP] Convert natgateways and vnetpeerings services to SDK v2

@k8s-ci-robot k8s-ci-robot changed the title Convert natgateways and vnetpeerings services to SDK v2 [WIP] Convert natgateways and vnetpeerings services to SDK v2 Apr 10, 2023
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 10, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 0.69% and project coverage change: -0.44 ⚠️

Comparison is base (ba5ea79) 51.63% compared to head (4abc8a1) 51.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3410      +/-   ##
==========================================
- Coverage   51.63%   51.19%   -0.44%     
==========================================
  Files         182      183       +1     
  Lines       18066    18221     +155     
==========================================
  Hits         9329     9329              
- Misses       8210     8365     +155     
  Partials      527      527              
Impacted Files Coverage Δ
azure/converters/futures.go 47.50% <0.00%> (-38.87%) ⬇️
azure/errors.go 0.00% <0.00%> (ø)
azure/services/asyncpoller/asyncpoller.go 0.00% <0.00%> (ø)
azure/services/natgateways/client.go 0.00% <0.00%> (ø)
azure/services/natgateways/spec.go 4.44% <0.00%> (+0.36%) ⬆️
azure/services/vnetpeerings/client.go 0.00% <0.00%> (ø)
azure/services/vnetpeerings/spec.go 0.00% <0.00%> (ø)
azure/services/vnetpeerings/vnetpeerings.go 77.55% <0.00%> (-1.62%) ⬇️
azure/services/natgateways/natgateways.go 79.16% <40.00%> (-1.12%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 12, 2023
@mboersma mboersma force-pushed the sdk-v2-initial-services branch from 4abc8a1 to fb61432 Compare April 14, 2023 18:08
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 14, 2023
@mboersma
Copy link
Contributor Author

/close

These services seem to be implemented in ASO. My bad for not digging deeper! (No worries, I like to code.)

I'll keep this around locally as a POC, but I'm closing it to simplify maintainer life. When we figure out the actual services required to be implemented in SDK v2 (if any) I'll open a new PR.

@k8s-ci-robot
Copy link
Contributor

@mboersma: Closed this PR.

In response to this:

/close

These services seem to be implemented in ASO. My bad for not digging deeper! (No worries, I like to code.)

I'll keep this around locally as a POC, but I'm closing it to simplify maintainer life. When we figure out the actual services required to be implemented in SDK v2 (if any) I'll open a new PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants