From d1080f7cddaf7ff9fc4f682ee1cd2df921ea165e Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Mon, 9 Oct 2023 09:36:45 -0400 Subject: [PATCH] passthrough fix for inst. --- .../dbmi/avillach/resource/passthru/PassThroughResourceRS.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java b/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java index 6c428f25..fdcb93f4 100644 --- a/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java +++ b/pic-sure-resources/pic-sure-passthrough-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/passthru/PassThroughResourceRS.java @@ -104,6 +104,7 @@ public QueryStatus query(QueryRequest queryRequest) { chainRequest.setResourceCredentials(queryRequest.getResourceCredentials()); chainRequest.setResourceUUID(UUID.fromString(properties.getTargetResourceId())); chainRequest.setCommonAreaUUID(queryRequest.getCommonAreaUUID()); + chainRequest.setInstitutionOfOrigin(queryRequest.getInstitutionOfOrigin()); String payload = objectMapper.writeValueAsString(chainRequest); HttpResponse response = httpClient.retrievePostResponse(