Skip to content

Commit

Permalink
few improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Aug 20, 2024
1 parent 0f21a9b commit dba391f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<artifactId>quarkus-rest</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
<artifactId>quarkus-rest-jackson</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/ca/bc/gov/nrs/api/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

This file was deleted.

0 comments on commit dba391f

Please sign in to comment.