@Controller @Validated public class FullTextController extends LogViewerFilterBasedController
EMPTY_STRING
Constructor and Description |
---|
FullTextController(FullTextSearchService fullTextSearchService)
Ctr for the full text search controller
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<List<ErrorDTO>> |
fulltext(@NotBlank(message="Search cannot be empty!") String param,
List<String> categories,
List<String> errorTypes,
List<String> applications,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Request to full text search over errors.
|
org.springframework.http.ResponseEntity<List<ErrorDTO>> |
fulltext(String workflowExecutionId,
@NotBlank(message="Search cannot be empty!") String param,
List<String> categories,
List<String> errorTypes,
List<String> applications,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Request to full text search over errors from workflow execution.
|
org.springframework.http.ResponseEntity<List<ErrorDTO>> |
fulltext(String workflowExecutionId,
String scenarioExecutionId,
@NotBlank(message="Search cannot be empty!") String param,
List<String> categories,
List<String> errorTypes,
List<String> applications,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Request to full text search over errors from scenario execution.
|
org.springframework.http.ResponseEntity<List<ErrorDTO>> |
fulltext(String workflowExecutionId,
String scenarioExecutionId,
String connectionId,
@NotBlank(message="Search cannot be empty!") String param,
List<String> categories,
List<String> errorTypes,
List<String> applications,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Request to full text search over errors from connection.
|
org.springframework.http.ResponseEntity<List<ErrorDTO>> |
fulltextPackage(String packageName,
@NotBlank(message="Search cannot be empty!") String param,
List<String> categories,
List<String> errorTypes,
List<String> applications,
@Min(value=0L,message="Offset cannot be negative!") Long offset)
Request to full text search over errors from package.
|
createFilter
constraintViolation, createErrorResponse, invalidContextException, invalidPackageFile, otherErrors, packageAlreadyExists, unableToCreateDumpException, unableToDeleteTemporaryFiles, unableToPruneWorkflowExecutionException, workflowDoesNotExistException
@Autowired public FullTextController(FullTextSearchService fullTextSearchService)
fullTextSearchService
- Service providing full text search capability@GetMapping(value="/search") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorDTO>> fulltext(@RequestParam(value="query") @NotBlank(message="Search cannot be empty!") @NotBlank(message="Search cannot be empty!") String param, @RequestParam(required=false,defaultValue="") List<String> categories, @RequestParam(required=false,defaultValue="") List<String> errorTypes, @RequestParam(required=false,defaultValue="") List<String> applications, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
param
- inputted stringcategories
- which categories the user wants to seeerrorTypes
- which error types the user wants to seeapplications
- from which applications the user wants to see logsoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/search") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorDTO>> fulltext(@PathVariable String workflowExecutionId, @RequestParam(value="query") @NotBlank(message="Search cannot be empty!") @NotBlank(message="Search cannot be empty!") String param, @RequestParam(required=false,defaultValue="") List<String> categories, @RequestParam(required=false,defaultValue="") List<String> errorTypes, @RequestParam(required=false,defaultValue="") List<String> applications, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
workflowExecutionId
- ID of the workflow executionparam
- inputted stringcategories
- which categories the user wants to seeerrorTypes
- which error types the user wants to seeapplications
- from which applications the user wants to see logsoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/scenario-executions/{scenarioExecutionId}/search") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorDTO>> fulltext(@PathVariable String workflowExecutionId, @PathVariable String scenarioExecutionId, @RequestParam(value="query") @NotBlank(message="Search cannot be empty!") @NotBlank(message="Search cannot be empty!") String param, @RequestParam(required=false,defaultValue="") List<String> categories, @RequestParam(required=false,defaultValue="") List<String> errorTypes, @RequestParam(required=false,defaultValue="") List<String> applications, @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 executionparam
- inputted stringcategories
- which categories the user wants to seeerrorTypes
- which error types the user wants to seeapplications
- from which applications the user wants to see logsoffset
- how many logs were already loaded@GetMapping(value="/workflow-executions/{workflowExecutionId}/scenario-executions/{scenarioExecutionId}/connections/{connectionId}/search") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorDTO>> fulltext(@PathVariable String workflowExecutionId, @PathVariable String scenarioExecutionId, @PathVariable String connectionId, @RequestParam(value="query") @NotBlank(message="Search cannot be empty!") @NotBlank(message="Search cannot be empty!") String param, @RequestParam(required=false,defaultValue="") List<String> categories, @RequestParam(required=false,defaultValue="") List<String> errorTypes, @RequestParam(required=false,defaultValue="") List<String> applications, @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 connectionparam
- inputted stringcategories
- which categories the user wants to seeerrorTypes
- which error types the user wants to seeapplications
- from which applications the user wants to see logsoffset
- how many logs were already loaded@GetMapping(value="/packages/{packageName}/search") @ResponseBody public org.springframework.http.ResponseEntity<List<ErrorDTO>> fulltextPackage(@PathVariable String packageName, @RequestParam(value="query") @NotBlank(message="Search cannot be empty!") @NotBlank(message="Search cannot be empty!") String param, @RequestParam(required=false,defaultValue="") List<String> categories, @RequestParam(required=false,defaultValue="") List<String> errorTypes, @RequestParam(required=false,defaultValue="") List<String> applications, @RequestParam @Min(value=0L,message="Offset cannot be negative!") @Min(value=0L,message="Offset cannot be negative!") Long offset)
packageName
- name of the uploaded packageparam
- inputted stringcategories
- which categories the user wants to seeerrorTypes
- which error types the user wants to seeapplications
- from which applications the user wants to see logsoffset
- how many logs were already loadedCopyright © 2020. All rights reserved.