Skip to content

Commit

Permalink
rename EVPProxy to EvpProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Oct 24, 2023
1 parent d303a9e commit 6ba15b6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/ci/transport/api/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def self.build_ci_test_cycle_api(settings)
end

def self.build_evp_proxy_api(agent_settings)
EVPProxy.new(
EvpProxy.new(
host: agent_settings.hostname,
port: agent_settings.port,
ssl: agent_settings.ssl,
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog/ci/transport/api/evp_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Datadog
module CI
module Transport
module Api
class EVPProxy < Base
class EvpProxy < Base
attr_reader :http

def initialize(host:, port:, ssl:, timeout:)
Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/ci/transport/api/builder.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Datadog
module Api
module Builder
def self.build_ci_test_cycle_api: (untyped settings) -> Datadog::CI::Transport::Api::CiTestCycle
def self.build_evp_proxy_api: (untyped agent_settings) -> Datadog::CI::Transport::Api::EVPProxy
def self.build_evp_proxy_api: (untyped agent_settings) -> Datadog::CI::Transport::Api::EvpProxy
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/ci/transport/api/evp_proxy.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Datadog
module CI
module Transport
module Api
class EVPProxy < Base
class EvpProxy < Base
@http: Datadog::CI::Transport::HTTP

@container_id: String?
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/ci/configuration/components_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

expect(settings.tracing.test_mode).to have_received(:writer_options=) do |options|
expect(options[:transport]).to be_kind_of(Datadog::CI::TestVisibility::Transport)
expect(options[:transport].api).to be_kind_of(Datadog::CI::Transport::Api::EVPProxy)
expect(options[:transport].api).to be_kind_of(Datadog::CI::Transport::Api::EvpProxy)
expect(options[:shutdown_timeout]).to eq(60)
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/datadog/ci/transport/api/builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
)
end

it "creates EVPProxy" do
expect(Datadog::CI::Transport::Api::EVPProxy).to receive(:new).with(
it "creates EvpProxy" do
expect(Datadog::CI::Transport::Api::EvpProxy).to receive(:new).with(
host: "localhost",
port: 5555,
ssl: false,
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/ci/transport/api/evp_proxy_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require_relative "../../../../../lib/datadog/ci/transport/api/evp_proxy"

RSpec.describe Datadog::CI::Transport::Api::EVPProxy do
RSpec.describe Datadog::CI::Transport::Api::EvpProxy do
subject do
described_class.new(
host: host,
Expand Down

0 comments on commit 6ba15b6

Please sign in to comment.