@Controller @Validated public class LogExpandController extends LogViewerFilterBasedController
EMPTY_STRING
Constructor and Description |
---|
LogExpandController(ExpandLogsService expandLogsService)
Ctr for error expansion controller
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<List<ErrorLog>> |
expandLogs(String errorCategory,
String collapsedElement,
String application,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Get concrete logs from an error type.
|
org.springframework.http.ResponseEntity<List<ErrorLog>> |
expandLogs(String workflowExecutionId,
String errorCategory,
String collapsedElement,
String application,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Get concrete logs from an error type occurring in a given workflow execution.
|
org.springframework.http.ResponseEntity<List<ErrorLog>> |
expandLogs(String workflowExecutionId,
String scenarioExecutionId,
String errorCategory,
String collapsedElement,
String application,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Get concrete logs from an error type occurring in a given scenario execution.
|
org.springframework.http.ResponseEntity<List<ErrorLog>> |
expandLogs(String workflowExecutionId,
String scenarioExecutionId,
String connectionId,
String errorCategory,
String collapsedElement,
String application,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Get concrete logs from an error type occurring in a given connection.
|
org.springframework.http.ResponseEntity<List<ErrorLog>> |
expandPackageLogs(String packageName,
String errorCategory,
String collapsedElement,
String application,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Get concrete logs from an error type occurring in a given package.
|
createFilter
constraintViolation, createErrorResponse, invalidContextException, invalidPackageFile, otherErrors, packageAlreadyExists, unableToCreateDumpException, unableToDeleteTemporaryFiles, unableToPruneWorkflowExecutionException, workflowDoesNotExistException
@Autowired public LogExpandController(ExpandLogsService expandLogsService)
expandLogsService
- Service providing concrete logs@GetMapping(value="/expand") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorLog>> expandLogs(@RequestParam String errorCategory, @RequestParam String collapsedElement, @RequestParam String application, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
errorCategory
- name of the category to whith the log belongsapplication
- name of the application that emitted the logcollapsedElement
- error type for which should concrete logs be providedoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/expand") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorLog>> expandLogs(@PathVariable String workflowExecutionId, @RequestParam String errorCategory, @RequestParam String collapsedElement, @RequestParam String application, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
workflowExecutionId
- ID of the workflow executionerrorCategory
- name of the category to whith the log belongsapplication
- name of the application that emitted the logcollapsedElement
- error type for which should concrete logs be providedoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/scenario-executions/{scenarioExecutionId}/expand") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorLog>> expandLogs(@PathVariable String workflowExecutionId, @PathVariable String scenarioExecutionId, @RequestParam String errorCategory, @RequestParam String collapsedElement, @RequestParam String application, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
workflowExecutionId
- ID of the workflow executionscenarioExecutionId
- ID of the scenario executionerrorCategory
- name of the category to whith the log belongsapplication
- name of the application that emitted the logcollapsedElement
- error type for which should concrete logs be providedoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/scenario-executions/{scenarioExecutionId}/connections/{connectionId}/expand") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorLog>> expandLogs(@PathVariable String workflowExecutionId, @PathVariable String scenarioExecutionId, @PathVariable String connectionId, @RequestParam String errorCategory, @RequestParam String collapsedElement, @RequestParam String application, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
workflowExecutionId
- ID of the workflow executionscenarioExecutionId
- ID of the scenario executionconnectionId
- name of the connectionerrorCategory
- name of the category to whith the log belongsapplication
- name of the application that emitted the logcollapsedElement
- error type for which should concrete logs be providedoffset
- how many logs were already loaded@GetMapping(value="/packages/{packageName}/expand") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorLog>> expandPackageLogs(@PathVariable String packageName, @RequestParam String errorCategory, @RequestParam String collapsedElement, @RequestParam String application, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
packageName
- name of the uploaded packageerrorCategory
- name of the category to whith the log belongsapplication
- name of the application that emitted the logcollapsedElement
- error type for which should concrete logs be provideoffset
- how many logs were already loadedCopyright © 2020. All rights reserved.