use of org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerFileMessageParameters in project flink by apache.
the class AbstractTaskManagerFileHandlerTest method setup.
@BeforeClass
public static void setup() throws IOException, HandlerRequestException {
final Configuration configuration = new Configuration();
blobServer = new BlobServer(configuration, temporaryFolder.newFolder(), new VoidBlobStore());
handlerRequest = HandlerRequest.resolveParametersAndCreate(EmptyRequestBody.getInstance(), new TaskManagerFileMessageParameters(), Collections.singletonMap(TaskManagerIdPathParameter.KEY, EXPECTED_TASK_MANAGER_ID.getResourceIdString()), Collections.emptyMap(), Collections.emptyList());
}
use of org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerFileMessageParameters in project flink by apache.
the class TaskManagerDetailsHandlerTest method createRequest.
private static HandlerRequest<EmptyRequestBody> createRequest() throws HandlerRequestException {
Map<String, String> pathParameters = new HashMap<>();
pathParameters.put(TaskManagerIdPathParameter.KEY, TASK_MANAGER_ID.toString());
return HandlerRequest.resolveParametersAndCreate(EmptyRequestBody.getInstance(), new TaskManagerFileMessageParameters(), pathParameters, Collections.emptyMap(), Collections.emptyList());
}
Aggregations