diff --git a/pom.xml b/pom.xml index 01842c4..206d2e7 100644 --- a/pom.xml +++ b/pom.xml @@ -30,11 +30,11 @@ io.quarkus - quarkus-resteasy + quarkus-rest io.quarkus - quarkus-resteasy-jackson + quarkus-rest-jackson io.quarkus diff --git a/src/main/java/ca/bc/gov/nrs/api/Application.java b/src/main/java/ca/bc/gov/nrs/api/Application.java index 154189f..3070a0b 100644 --- a/src/main/java/ca/bc/gov/nrs/api/Application.java +++ b/src/main/java/ca/bc/gov/nrs/api/Application.java @@ -44,10 +44,6 @@ public Response executeSQL(@HeaderParam("X-API-Key") String xApiKey, @QueryParam } if (payload.queryType() == QueryType.READ) { var result = queryExecutorService.executeQuery(payload.sql()); - if (uploadToS3 != null) { - // TODO add upload to S3 - // queryExecutorService.uploadToS3(result); - } return Response.ok(result).build(); } queryExecutorService.mutateState(payload.sql()); diff --git a/src/main/java/ca/bc/gov/nrs/api/service/FileUploadService.java b/src/main/java/ca/bc/gov/nrs/api/service/FileUploadService.java deleted file mode 100644 index b839b6f..0000000 --- a/src/main/java/ca/bc/gov/nrs/api/service/FileUploadService.java +++ /dev/null @@ -1,8 +0,0 @@ -package ca.bc.gov.nrs.api.service; - -import jakarta.enterprise.context.ApplicationScoped; - -@ApplicationScoped -public class FileUploadService { - -}