use of org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerMessageParameters in project flink by apache.
the class TaskManagerLogListHandlerTest method createRequest.
private static HandlerRequest<EmptyRequestBody> createRequest(ResourceID taskManagerId) throws HandlerRequestException {
Map<String, String> pathParameters = new HashMap<>();
pathParameters.put(TaskManagerIdPathParameter.KEY, taskManagerId.toString());
Map<String, List<String>> queryParameters = Collections.emptyMap();
return HandlerRequest.resolveParametersAndCreate(EmptyRequestBody.getInstance(), new TaskManagerMessageParameters(), pathParameters, queryParameters, Collections.emptyList());
}
Aggregations