Skip to content

Commit

Permalink
Fix accidental dependencies to shaded packages (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatu-at-datastax authored Jul 9, 2024
1 parent 35ecb00 commit 30c7ae0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.datastax.oss.driver.internal.core.metrics.DefaultMetricId;
import com.datastax.oss.driver.internal.core.metrics.MetricId;
import com.datastax.oss.driver.internal.core.metrics.MetricIdGenerator;
import com.datastax.oss.driver.shaded.guava.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMap;
import edu.umd.cs.findbugs.annotations.NonNull;
import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import jakarta.validation.ConstraintViolation;
import jakarta.validation.Validator;
import java.util.Set;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.testcontainers.shaded.org.apache.commons.lang3.RandomStringUtils;

@QuarkusTest
@TestProfile(NoGlobalResourcesTestProfile.Impl.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import jakarta.validation.ConstraintViolation;
import jakarta.validation.Validator;
import java.util.Set;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.testcontainers.shaded.org.apache.commons.lang3.RandomStringUtils;

@QuarkusTest
@TestProfile(NoGlobalResourcesTestProfile.Impl.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.stargate.sgv2.jsonapi.service.cqldriver;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.QuarkusTestProfile;
import java.util.Map;
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap;

public class FixedTokenOverrideProfile implements QuarkusTestProfile {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.stargate.sgv2.jsonapi.service.cqldriver;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.QuarkusTestProfile;
import java.util.Map;
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap;

public class FixedTokenTimingTestProfile implements QuarkusTestProfile {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.stargate.sgv2.jsonapi.service.cqldriver;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.QuarkusTestProfile;
import java.util.Map;
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap;

public class InvalidCredentialsProfile implements QuarkusTestProfile {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.stargate.sgv2.jsonapi.testresource;

import com.google.common.collect.ImmutableMap;
import io.stargate.sgv2.jsonapi.api.v1.util.IntegrationTestUtils;
import java.util.Map;
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap;

public class DseTestResource extends StargateTestResource {
// set default props if not set, so we launch DSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package io.stargate.sgv2.jsonapi.testresource;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.ImmutableMap;
import io.quarkus.test.common.DevServicesContext;
import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
import java.net.URI;
Expand All @@ -24,7 +25,6 @@
import org.testcontainers.containers.Network;
import org.testcontainers.containers.output.Slf4jLogConsumer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap;
import org.testcontainers.utility.MountableFile;

public abstract class StargateTestResource
Expand Down

0 comments on commit 30c7ae0

Please sign in to comment.