|
19 | 19 |
|
20 | 20 | package com.here.xyz.hub.util; |
21 | 21 |
|
| 22 | +import static com.here.xyz.hub.util.TestDataReferences.dataReference; |
| 23 | +import static com.here.xyz.hub.util.TestDataReferences.dataReferenceAsMap; |
| 24 | +import static java.util.Collections.emptyList; |
| 25 | +import static org.assertj.core.api.Assertions.assertThat; |
| 26 | +import static org.assertj.core.api.Assertions.assertThatThrownBy; |
| 27 | +import static org.junit.jupiter.params.provider.Arguments.argumentSet; |
| 28 | + |
22 | 29 | import com.amazonaws.services.dynamodbv2.model.AttributeValue; |
23 | 30 | import com.amazonaws.services.dynamodbv2.model.ScanRequest; |
24 | 31 | import com.here.xyz.hub.config.dynamo.DynamoDataReferenceConfigClient; |
25 | 32 | import com.here.xyz.models.hub.DataReference; |
26 | 33 | import io.vertx.core.Future; |
| 34 | +import java.util.List; |
| 35 | +import java.util.Map; |
| 36 | +import java.util.Optional; |
| 37 | +import java.util.UUID; |
| 38 | +import java.util.stream.Stream; |
27 | 39 | import org.junit.jupiter.api.BeforeEach; |
| 40 | +import org.junit.jupiter.api.Disabled; |
28 | 41 | import org.junit.jupiter.api.Test; |
29 | 42 | import org.junit.jupiter.params.ParameterizedTest; |
30 | 43 | import org.junit.jupiter.params.provider.Arguments; |
31 | 44 | import org.junit.jupiter.params.provider.MethodSource; |
32 | 45 | import org.testcontainers.junit.jupiter.Testcontainers; |
33 | 46 |
|
34 | | -import java.util.List; |
35 | | -import java.util.Map; |
36 | | -import java.util.Optional; |
37 | | -import java.util.UUID; |
38 | | -import java.util.stream.Stream; |
39 | | - |
40 | | -import static com.here.xyz.hub.util.TestDataReferences.dataReference; |
41 | | -import static com.here.xyz.hub.util.TestDataReferences.dataReferenceAsMap; |
42 | | -import static java.util.Collections.emptyList; |
43 | | -import static org.assertj.core.api.Assertions.assertThat; |
44 | | -import static org.assertj.core.api.Assertions.assertThatThrownBy; |
45 | | -import static org.junit.jupiter.params.provider.Arguments.argumentSet; |
46 | | - |
47 | 47 | @Testcontainers(disabledWithoutDocker = true) |
| 48 | +@Disabled |
48 | 49 | class DynamoDataReferenceConfigClientIT extends DynamoDbIT { |
49 | 50 |
|
50 | 51 | private static final String TABLE_NAME = "data-references"; |
@@ -374,7 +375,7 @@ void shouldQueryForObjectsBasedOnCriteria( |
374 | 375 | // given |
375 | 376 | String entityId1 = "entity-id-1"; |
376 | 377 | String entityId2 = "entity-id-2"; |
377 | | - |
| 378 | + |
378 | 379 | Map<String, Object> dataReference1 = dataReferenceAsMap(referenceId); |
379 | 380 | dataReference1.put("entityId", entityId1); |
380 | 381 | dataReference1.put("startVersion", 2); |
|
0 commit comments