From 631f147af86c4862435b95c6ab7f34fd8baeee69 Mon Sep 17 00:00:00 2001 From: Matt Richardson Date: Mon, 2 Dec 2024 09:23:21 +1100 Subject: [PATCH] Fix capitalisation of zipkin (#341) --- .../opentelemetry/server/endpoints/OTELEndpointFactory.java | 4 ++-- ...TELEndpointHandler.java => ZipkinOTELEndpointHandler.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/{ZipKinOTELEndpointHandler.java => ZipkinOTELEndpointHandler.java} (96%) diff --git a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java index fe24f73..aab9788 100644 --- a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java +++ b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java @@ -2,7 +2,7 @@ import com.octopus.teamcity.opentelemetry.server.endpoints.custom.CustomOTELEndpointHandler; import com.octopus.teamcity.opentelemetry.server.endpoints.honeycomb.HoneycombOTELEndpointHandler; -import com.octopus.teamcity.opentelemetry.server.endpoints.zipkin.ZipKinOTELEndpointHandler; +import com.octopus.teamcity.opentelemetry.server.endpoints.zipkin.ZipkinOTELEndpointHandler; import jetbrains.buildServer.serverSide.TeamCityNodes; import jetbrains.buildServer.web.openapi.PluginDescriptor; import org.jetbrains.annotations.NotNull; @@ -35,7 +35,7 @@ public IOTELEndpointHandler getOTELEndpointHandler(OTELService otelService) case HONEYCOMB: return new HoneycombOTELEndpointHandler(pluginDescriptor, teamcityNodesService); case ZIPKIN: - return new ZipKinOTELEndpointHandler(pluginDescriptor); + return new ZipkinOTELEndpointHandler(pluginDescriptor); case CUSTOM: return new CustomOTELEndpointHandler(pluginDescriptor); default: diff --git a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java similarity index 96% rename from server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java rename to server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java index e9a558a..5f34637 100644 --- a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java +++ b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java @@ -16,10 +16,10 @@ import static com.octopus.teamcity.opentelemetry.common.PluginConstants.*; -public class ZipKinOTELEndpointHandler implements IOTELEndpointHandler { +public class ZipkinOTELEndpointHandler implements IOTELEndpointHandler { private final PluginDescriptor pluginDescriptor; - public ZipKinOTELEndpointHandler( + public ZipkinOTELEndpointHandler( PluginDescriptor pluginDescriptor) { this.pluginDescriptor = pluginDescriptor; }