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

Add WithOptions mechanism to Azure DevOps client #103

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

c-brooks
Copy link
Contributor

Closes #52

Adds a new function, NewClientWithOptions, to create a new customizable AzureDevOps client.

To close the issue, I've added the first option, WithHTTPClient. This way users can supply their own HTTP clients and set the TLS config themselves.

The current NewClient implementation is functionally the same, although I refactored it to use the NewClientWithOptions function.

cc/ @nigurr

@ghost
Copy link

ghost commented Jul 29, 2021

CLA assistant check
All CLA requirements met.

@nigurr
Copy link
Contributor

nigurr commented Jul 30, 2021

@tedchamb FYI

@c-brooks
Copy link
Contributor Author

c-brooks commented Aug 5, 2021

cc/ @goflores I think you're the owner of the repo?

@goflores goflores merged commit 3eeeaa7 into microsoft:dev Aug 5, 2021
@tmeckel
Copy link
Contributor

tmeckel commented Aug 5, 2021

@c-brooks you were really lucky 😀 seems that @goflores took over the repo from @tedchamb hopefully this means any progress here .. can't wait.

@goflores can you check on @xuzhang3 question in microsoft/terraform-provider-azuredevops#419? Thanks ❤️

@tmeckel
Copy link
Contributor

tmeckel commented Aug 5, 2021

@c-brooks how'd you manage to find out that @goflores is the owner? -> #103 (comment)

@tedchamb
Copy link
Member

tedchamb commented Aug 5, 2021

@tmeckel, @goflores took over ownership of this repo and the other client sdks about 2 years ago when I left Microsoft.

@tmeckel
Copy link
Contributor

tmeckel commented Aug 5, 2021

@tedchamb wasn't aware that you left Microsoft... Did @goflores took over the other DevOps APIs like Python as well?

@tedchamb
Copy link
Member

tedchamb commented Aug 5, 2021

yes, that includes the python SDK.

@nigurr
Copy link
Contributor

nigurr commented Aug 9, 2021

@goflores can you please release the new version with this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is not possible to use custom HTTP client with requests to Azure Devops
5 participants