@RestController @RequestMapping(value="/tasks/logs") public class TaskLogsController extends Object
| Constructor and Description |
|---|
TaskLogsController(TaskExecutionService taskExecutionService)
Construct Task logs controller.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseEntity<String> |
getLog(String taskExternalExecutionId,
String platformName,
String schemaTarget)
Retrieve logs for the task execution identified by the provided external execution ID
|
public TaskLogsController(TaskExecutionService taskExecutionService)
taskExecutionService - the task execution service that this controller uses to get the logs of
launched task applications.@RequestMapping(value="/{taskExternalExecutionId}", method=GET) @ResponseStatus(value=OK) public ResponseEntity<String> getLog(@PathVariable String taskExternalExecutionId, @RequestParam(name="platformName",required=false,defaultValue="default") String platformName, @RequestParam(name="schemaTarget",required=false) String schemaTarget)
taskExternalExecutionId - the external execution ID returned by the platform when launching the taskplatformName - the platform nameCopyright © 2024 Pivotal Software, Inc.. All rights reserved.