From c5e0d074e39734891b84f0e5719f10f41bff042d Mon Sep 17 00:00:00 2001 From: smirnovaae Date: Tue, 22 Oct 2024 14:56:04 -0700 Subject: [PATCH] fix build --- .../controller/BulkDataAccessAPIUnusualDataTests.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/src/test/java/gov/cms/ab2d/api/controller/BulkDataAccessAPIUnusualDataTests.java b/api/src/test/java/gov/cms/ab2d/api/controller/BulkDataAccessAPIUnusualDataTests.java index c8ac5c758..ea49827a9 100644 --- a/api/src/test/java/gov/cms/ab2d/api/controller/BulkDataAccessAPIUnusualDataTests.java +++ b/api/src/test/java/gov/cms/ab2d/api/controller/BulkDataAccessAPIUnusualDataTests.java @@ -1,7 +1,11 @@ package gov.cms.ab2d.api.controller; +import com.okta.jwt.JwtVerificationException; import gov.cms.ab2d.api.SpringBootApp; +import gov.cms.ab2d.api.controller.common.ApiCommon; import gov.cms.ab2d.api.remote.JobClientMock; +import gov.cms.ab2d.common.properties.PropertiesService; +import gov.cms.ab2d.common.properties.PropertyServiceStub; import gov.cms.ab2d.common.repository.PdpClientRepository; import gov.cms.ab2d.common.service.ContractServiceStub; import gov.cms.ab2d.common.util.AB2DLocalstackContainer; @@ -17,18 +21,23 @@ import gov.cms.ab2d.eventclient.messages.TraceAndAlertSQSMessage; import gov.cms.ab2d.job.dto.StartJobDTO; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.context.ApplicationContext; import org.springframework.http.MediaType; import org.springframework.test.annotation.DirtiesContext; +import org.springframework.test.util.ReflectionTestUtils; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.ResultActions; import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Testcontainers; +import software.amazon.awssdk.services.sqs.SqsAsyncClient; import software.amazon.awssdk.services.sqs.model.PurgeQueueRequest; +import software.amazon.awssdk.services.sqs.model.ReceiveMessageRequest; import java.util.List; import java.util.Optional; @@ -38,6 +47,7 @@ import static gov.cms.ab2d.common.util.Constants.FHIR_PREFIX; import static gov.cms.ab2d.common.util.DataSetup.TEST_PDP_CLIENT; import static gov.cms.ab2d.common.util.DataSetup.VALID_CONTRACT_NUMBER; +import static gov.cms.ab2d.common.util.PropertyConstants.MAINTENANCE_MODE; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.springframework.http.HttpHeaders.CONTENT_LOCATION;