Skip to content

Commit

Permalink
feat: quarkus move to rest (#84)
Browse files Browse the repository at this point in the history
* chore(deps): update maven all non-major dependencies

* few improvements

* few improvements

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
mishraomp and renovate[bot] authored Aug 20, 2024
1 parent 6f4f4d0 commit b5cafca
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 b5cafca

Please sign in to comment.