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

Move duplicate http logic into a helper #951

Merged
merged 1 commit into from
Feb 10, 2017
Merged

Move duplicate http logic into a helper #951

merged 1 commit into from
Feb 10, 2017

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Feb 3, 2017

We probably want to use this in a few other places, but we certainly want to encourage people to use this in their plugins vs. reinventing the wheel.

Signed-off-by: Tim Smith tsmith@chef.io

We probably want to use this in a few other places, but we certainly want to encourage people to use this in their plugins vs. reinventing the wheel.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested review from btm and thommay February 3, 2017 10:30
@tas50
Copy link
Contributor Author

tas50 commented Feb 3, 2017

End goal here is to have a http helper than can be used by anyone writing an ohai plugin that makes http calls. This is just the first part and allows deduping the codebase a bit.

Copy link
Contributor

@btm btm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is progress, but we need to get tests on HttpHelper too.

@tas50 tas50 merged commit 5f04ffa into master Feb 10, 2017
@tas50
Copy link
Contributor Author

tas50 commented Feb 10, 2017

Tests will happen before we announce this as a helper for public consumption. They're long overdue here.

@tas50 tas50 deleted the http_helper branch February 10, 2017 22:13
@tas50 tas50 added the Type: Enhancement Adds new functionality. label Apr 11, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants