Skip to content

Commit

Permalink
Minor clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Aleksandrov <dmitry.aleksandrov@oracle.com>
  • Loading branch information
dalexandrov committed Jul 31, 2023
1 parent 86ed598 commit cd97069
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* The application uses Open Tracing and sends the collected data to ZipKin.
*
* @see io.helidon.tracing.TracerBuilder
* @see io.helidon.tracing.zipkin.ZipkinTracerBuilder
* @see io.helidon.tracing.providers.zipkin.ZipkinTracerBuilder
*/
public final class Main {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import io.helidon.nima.webserver.http.HttpRouting;
import io.helidon.nima.webserver.tracing.TracingFeature;
import io.helidon.security.integration.nima.SecurityFeature;
import io.helidon.tracing.opentracing.OpenTracing;
import io.helidon.tracing.providers.opentracing.OpenTracing;

import io.opentracing.Tracer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import io.helidon.nima.webclient.tracing.WebClientTracing;
import io.helidon.nima.webserver.WebServerConfig;
import io.helidon.tracing.Tracer;
import io.helidon.tracing.opentracing.OpenTracing;
import io.helidon.tracing.providers.opentracing.OpenTracing;

import io.opentracing.mock.MockSpan;
import io.opentracing.mock.MockTracer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import io.helidon.nima.webclient.tracing.WebClientTracing;
import io.helidon.nima.webserver.WebServer;
import io.helidon.tracing.Tracer;
import io.helidon.tracing.opentracing.OpenTracing;
import io.helidon.tracing.providers.opentracing.OpenTracing;

import io.opentracing.mock.MockSpan;
import io.opentracing.mock.MockTracer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2021 Oracle and/or its affiliates.
* Copyright (c) 2019, 2023 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -55,7 +55,7 @@ void testZipkin() {
// global tracer wraps the tracer in its own instance
ScopeManager scopeManager = GlobalTracer.get().scopeManager();
// and this class is not public
assertThat(scopeManager.getClass().getName(), startsWith("io.helidon.tracing.zipkin"));
assertThat(scopeManager.getClass().getName(), startsWith("io.helidon.tracing.providers.zipkin"));
}

@Test
Expand Down
8 changes: 4 additions & 4 deletions tracing/zipkin/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
in = {HelidonFlavor.MP, HelidonFlavor.SE, HelidonFlavor.NIMA},
path = {"Tracing", "Zipkin"}
)
module io.helidon.tracing.zipkin {
module io.helidon.tracing.providers.zipkin {
requires static io.helidon.common.features.api;

requires io.helidon.common;
requires io.helidon.common.config;
requires io.helidon.tracing;
requires io.helidon.tracing.opentracing;
requires io.helidon.tracing.providers.opentracing;
requires static io.helidon.config.metadata;

requires io.opentracing.util;
Expand All @@ -43,7 +43,7 @@
requires io.opentracing.noop;
requires io.opentracing.api;

exports io.helidon.tracing.zipkin;
exports io.helidon.tracing.providers.zipkin;

provides io.helidon.tracing.opentracing.spi.OpenTracingProvider with io.helidon.tracing.zipkin.ZipkinTracerProvider;
provides io.helidon.tracing.providers.opentracing.spi.OpenTracingProvider with io.helidon.tracing.providers.zipkin.ZipkinTracerProvider;
}

0 comments on commit cd97069

Please sign in to comment.