Skip to content

Commit

Permalink
Pass query parameters to remoteQueryService.planQuery call (#2043)
Browse files Browse the repository at this point in the history
* Previously, no parameters were passed. This meant the receiver did not get any information about the query to plan, resulting in an odd `415 Unsupported Media Type` error due to the empty POST body.
Conflicts:
	warehouse/query-core/src/main/java/datawave/query/tables/RemoteEventQueryLogic.java
  • Loading branch information
drewfarris authored and hgklohr committed Aug 3, 2023
1 parent 87b5704 commit 055ed15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public GenericQueryConfiguration initialize(AccumuloClient connection, Query set

@Override
public String getPlan(AccumuloClient connection, Query settings, Set<Authorizations> auths, boolean expandFields, boolean expandValues) throws Exception {
GenericResponse<String> planResponse = remoteQueryService.planQuery(getRemoteQueryLogic(), settings.toMap());
GenericResponse<String> planResponse = remoteQueryService.planQuery(getRemoteQueryLogic(), settings.toMap(), getCallerObject());
return planResponse.getResult();
}

Expand Down

0 comments on commit 055ed15

Please sign in to comment.