-
Notifications
You must be signed in to change notification settings - Fork 369
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
Remove deprecated Datadog::HTTPTransport #782
Conversation
@@ -1,101 +0,0 @@ | |||
require 'spec_helper' |
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.
Removed this integration test since it overlaps with the HTTP adapter integration tests, which are responsible for tagging the request with the correct HTTP headers. Hence, this is considered obsolete.
@@ -1,64 +0,0 @@ | |||
require 'spec_helper' |
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.
Removed this integration test since it overlaps with the HTTP adapter integration tests, which are responsible for tagging the request with the correct HTTP headers. Hence, this is considered obsolete.
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.
minor question, but lgtm
require 'ddtrace/transport/http' | ||
require 'ddtrace/transport/http/adapters/net' | ||
|
||
RSpec.describe 'Adapters::Net integration tests' do |
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.
Were these missing before or transplanted from removed spec files?
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.
They never existed: we had similar specs in meta_header_spec.rb
and http_integration_spec.rb
but none that explicitly tested Net::HTTP
adapter in such a way.
In #628, we refactored the transport layer in which we added a new
Datadog::Transport::HTTP::Client
and deprecated the oldDatadog::HTTPTransport
.In keeping with our plans to deprecate, this pull request removes the old
Datadog::HTTPTransport
entirely, for the 0.26.0 release.