Skip to content

Commit

Permalink
ALS-7712: Allow PFB Export to 3rd party via signed URL (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 authored Nov 15, 2024
1 parent dab00d5 commit fc1b10b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ private HashMap<String, Object> prepareRequestMap(ContainerRequestContext reques

Query initialQuery = null;
// Read the query from the backing store if we are getting the results (full query may not be specified in request)
if (requestPath.startsWith("/query/") && (requestPath.endsWith("result") || requestPath.endsWith("result/"))) {
if (requestPath.startsWith("/query/") &&
(requestPath.endsWith("result") || requestPath.endsWith("result/") ||
requestPath.endsWith("signed-url") || requestPath.endsWith("signed-url/"))
) {
// Path: /query/{queryId}/result
String[] pathParts = requestPath.split("/");
UUID uuid = UUID.fromString(pathParts[2]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
import edu.harvard.dbmi.avillach.data.entity.Resource;
import edu.harvard.dbmi.avillach.data.repository.QueryRepository;
import edu.harvard.dbmi.avillach.data.repository.ResourceRepository;
import edu.harvard.dbmi.avillach.domain.FederatedQueryRequest;
import edu.harvard.dbmi.avillach.domain.GeneralQueryRequest;
import edu.harvard.dbmi.avillach.domain.QueryRequest;
import edu.harvard.dbmi.avillach.domain.QueryStatus;
import edu.harvard.dbmi.avillach.domain.*;
import edu.harvard.dbmi.avillach.security.JWTFilter;
import edu.harvard.dbmi.avillach.util.Utilities;
import edu.harvard.dbmi.avillach.util.exception.ApplicationException;
Expand Down

0 comments on commit fc1b10b

Please sign in to comment.