Skip to content

Commit 1dd14dd

Browse files
committed
Remove unused imports
Signed-off-by: Tomas Longo <[email protected]>
1 parent 20c396d commit 1dd14dd

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

data-prepper-plugins/otel-logs-source/src/main/java/org/opensearch/dataprepper/plugins/source/otellogs/http/ArmeriaHttpService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import io.micrometer.core.instrument.Timer;
2525
import io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest;
2626
import io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse;
27-
import io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse;
2827

2928
public class ArmeriaHttpService {
3029
private static final Logger LOG = LoggerFactory.getLogger(ArmeriaHttpService.class);

data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OTelLogsSourceGrpcServiceRequestsTest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,16 @@
99
import static org.hamcrest.Matchers.equalTo;
1010
import static org.hamcrest.Matchers.hasSize;
1111
import static org.hamcrest.Matchers.is;
12-
import static org.hamcrest.Matchers.isEmptyOrNullString;
1312
import static org.hamcrest.Matchers.notNullValue;
14-
import static org.junit.jupiter.api.Assertions.assertEquals;
1513
import static org.junit.jupiter.api.Assertions.assertThrows;
1614
import static org.junit.jupiter.params.provider.Arguments.arguments;
1715
import static org.mockito.ArgumentMatchers.any;
1816
import static org.mockito.ArgumentMatchers.anyBoolean;
1917
import static org.mockito.ArgumentMatchers.anyCollection;
2018
import static org.mockito.ArgumentMatchers.anyInt;
2119
import static org.mockito.ArgumentMatchers.eq;
22-
import static org.mockito.ArgumentMatchers.isNotNull;
23-
import static org.mockito.ArgumentMatchers.isNull;
2420
import static org.mockito.Mockito.doThrow;
2521
import static org.mockito.Mockito.lenient;
26-
import static org.mockito.Mockito.mock;
27-
import static org.mockito.Mockito.never;
2822
import static org.mockito.Mockito.times;
2923
import static org.mockito.Mockito.verify;
3024
import static org.mockito.Mockito.when;
@@ -60,18 +54,13 @@
6054
import org.opensearch.dataprepper.metrics.MetricsTestUtil;
6155
import org.opensearch.dataprepper.metrics.PluginMetrics;
6256
import org.opensearch.dataprepper.model.buffer.SizeOverflowException;
63-
import org.opensearch.dataprepper.model.configuration.PipelineDescription;
6457
import org.opensearch.dataprepper.model.configuration.PluginSetting;
6558
import org.opensearch.dataprepper.model.plugin.PluginFactory;
6659
import org.opensearch.dataprepper.model.record.Record;
6760
import org.opensearch.dataprepper.plugins.GrpcBasicAuthenticationProvider;
6861
import org.opensearch.dataprepper.plugins.buffer.blockingbuffer.BlockingBuffer;
69-
import org.opensearch.dataprepper.plugins.certificate.CertificateProvider;
70-
import org.opensearch.dataprepper.plugins.certificate.model.Certificate;
71-
import org.opensearch.dataprepper.plugins.source.otellogs.certificate.CertificateProviderFactory;
7262

7363
import com.linecorp.armeria.client.Clients;
74-
import com.linecorp.armeria.common.HttpStatus;
7564
import com.linecorp.armeria.common.SessionProtocol;
7665
import com.linecorp.armeria.server.Server;
7766
import com.linecorp.armeria.server.ServerBuilder;

data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OTelLogsSourceGrpcTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
import static org.hamcrest.Matchers.notNullValue;
8989
import static org.hamcrest.Matchers.nullValue;
9090
import static org.junit.jupiter.api.Assertions.assertEquals;
91-
import static org.junit.jupiter.api.Assertions.assertInstanceOf;
9291
import static org.junit.jupiter.api.Assertions.assertThrows;
9392
import static org.junit.jupiter.api.Assertions.assertTrue;
9493
import static org.junit.jupiter.params.provider.Arguments.arguments;

data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSource_HttpServiceTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
import org.opensearch.dataprepper.model.configuration.PluginSetting;
6262
import org.opensearch.dataprepper.model.plugin.PluginFactory;
6363
import org.opensearch.dataprepper.model.record.Record;
64-
import org.opensearch.dataprepper.model.types.ByteCount;
6564
import org.opensearch.dataprepper.plugins.HttpBasicArmeriaHttpAuthenticationProvider;
6665
import org.opensearch.dataprepper.plugins.codec.CompressionOption;
6766

0 commit comments

Comments
 (0)