From c17621d05ec73b19b805e29c6909b966ee09fa2b Mon Sep 17 00:00:00 2001 From: Sukh <6563909+sukhpalp@users.noreply.github.com> Date: Wed, 1 May 2024 16:53:01 -0700 Subject: [PATCH] Import fixes (#1881) * Fix typo * Fix typo * Add applicationInitializer * Fix imports --- .../nrs/wfnews/api/rest/v1/spring/ApplicationInitializer.java | 1 + .../gov/nrs/wfnews/api/rest/v1/spring/EndpointsSpringConfig.java | 1 + 2 files changed, 2 insertions(+) diff --git a/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/ApplicationInitializer.java b/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/ApplicationInitializer.java index 3bedd9bae5..8aeadbf080 100644 --- a/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/ApplicationInitializer.java +++ b/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/ApplicationInitializer.java @@ -4,6 +4,7 @@ import javax.servlet.ServletContext; import javax.servlet.ServletRegistration; +import ca.bc.gov.nrs.wfone.api.rest.v1.spring.CorsFilter; import org.glassfish.jersey.servlet.ServletContainer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/EndpointsSpringConfig.java b/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/EndpointsSpringConfig.java index 38aeef8d3d..1c086b291b 100644 --- a/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/EndpointsSpringConfig.java +++ b/server/wfnews-api/wfnews-api-rest-endpoints/src/main/java/ca/bc/gov/nrs/wfnews/api/rest/v1/spring/EndpointsSpringConfig.java @@ -6,6 +6,7 @@ import javax.sql.DataSource; import ca.bc.gov.nrs.wfnews.api.rest.v1.common.AttachmentsAwsConfig; +import ca.bc.gov.nrs.wfone.api.rest.v1.spring.CorsFilter; import org.apache.commons.dbcp2.BasicDataSource; import org.slf4j.Logger; import org.slf4j.LoggerFactory;