diff --git a/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/JsonController.java b/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/JsonController.java index 7b52896c..2bfd2e46 100644 --- a/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/JsonController.java +++ b/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/JsonController.java @@ -9,8 +9,6 @@ import java.util.Date; import java.util.List; -import jakarta.servlet.http.HttpServletRequest; - import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; @@ -24,14 +22,16 @@ import org.springframework.web.bind.annotation.RestController; import org.springframework.web.servlet.support.ServletUriComponentsBuilder; -import com.opendatahub.timeseries.bdp.writer.dal.util.JPAException; -import com.opendatahub.timeseries.bdp.writer.writer.authz.AuthorizeSyncStation; import com.opendatahub.timeseries.bdp.dto.dto.DataMapDto; import com.opendatahub.timeseries.bdp.dto.dto.DataTypeDto; import com.opendatahub.timeseries.bdp.dto.dto.EventDto; import com.opendatahub.timeseries.bdp.dto.dto.ProvenanceDto; import com.opendatahub.timeseries.bdp.dto.dto.RecordDtoImpl; import com.opendatahub.timeseries.bdp.dto.dto.StationDto; +import com.opendatahub.timeseries.bdp.writer.dal.util.JPAException; +import com.opendatahub.timeseries.bdp.writer.writer.authz.AuthorizeSyncStation; + +import jakarta.servlet.http.HttpServletRequest; /** * Spring controller handling JSON requests to the writer API. diff --git a/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/authz/AuthorizeSyncStation.java b/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/authz/AuthorizeSyncStation.java index 36c3676b..de30f7b6 100644 --- a/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/authz/AuthorizeSyncStation.java +++ b/writer/src/main/java/com/opendatahub/timeseries/bdp/writer/writer/authz/AuthorizeSyncStation.java @@ -27,8 +27,8 @@ public static void authorize(HttpServletRequest req, String stationType, List