Class ResultParserController
java.lang.Object
org.xbricks.sperftest.controllers.ResultParserController
Created by Juraj Horak
-
Constructor Summary
ConstructorDescriptionResultParserController
(org.springframework.core.env.Environment env, XBConfigurationService configurationService, PerfTestAnalyzerService analyzerService, ParserService perfTestparserService) -
Method Summary
Modifier and TypeMethodDescriptiondeleteTestByComputerName
(org.springframework.ui.Model model, String testname, String computername) deleteTestByName
(org.springframework.ui.Model model, String testname) parseResults
(org.springframework.ui.Model model, ParserCommand parserCommand, org.springframework.security.core.Authentication authentication) Start parser if not running using configured parametersshowMachineDetails
(String testname, String computername, org.springframework.ui.Model model) ShowParser
(org.springframework.ui.Model model) showPCTest
(String testname, String computername, String testrun, org.springframework.ui.Model model) showResults
(org.springframework.ui.Model model, ParserCommand parserCommand) Show currently collected results.showTestDetails
(String testname, org.springframework.ui.Model model) startParsing
(org.springframework.ui.Model model) Start the parse routine by setting parameters over FORM
-
Constructor Details
-
ResultParserController
public ResultParserController(org.springframework.core.env.Environment env, XBConfigurationService configurationService, PerfTestAnalyzerService analyzerService, @Qualifier("perfTestParserService") ParserService perfTestparserService)
-
-
Method Details
-
ShowParser
- Returns:
- Template Name responsible for the action or redirection to somewhere
-
showTestDetails
@GetMapping @RequestMapping("parser/{testname}/show") public String showTestDetails(@PathVariable String testname, org.springframework.ui.Model model) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
showMachineDetails
@GetMapping @RequestMapping("/parser/{testname}/{computername}/show") public String showMachineDetails(@PathVariable String testname, @PathVariable String computername, org.springframework.ui.Model model) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
showPCTest
@GetMapping @RequestMapping("/parser/{testname}/{computername}/{testrun}/show") public String showPCTest(@PathVariable String testname, @PathVariable String computername, @PathVariable String testrun, org.springframework.ui.Model model) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
startParsing
@GetMapping @RequestMapping("/parser/start") public String startParsing(org.springframework.ui.Model model) Start the parse routine by setting parameters over FORM- Returns:
- Template Name responsible for the action or redirection to somewhere
-
showResults
@PostMapping @RequestMapping("/parser/showresults") public String showResults(org.springframework.ui.Model model, @ModelAttribute ParserCommand parserCommand) Show currently collected results. This s the top level Directory view- Returns:
- Template Name responsible for the action or redirection to somewhere
-
parseResults
@PostMapping @RequestMapping("/parser/processresults") public String parseResults(org.springframework.ui.Model model, @ModelAttribute ParserCommand parserCommand, org.springframework.security.core.Authentication authentication) Start parser if not running using configured parameters- Returns:
- Template Name responsible for the action or redirection to somewhere
-
deleteTestByName
@GetMapping @RequestMapping("/parser/{testname}/delete") public String deleteTestByName(org.springframework.ui.Model model, @PathVariable String testname) - Returns:
- Template Name responsible for the action or redirection to somewhere
-
deleteTestByComputerName
@GetMapping @RequestMapping("/parser/{testname}/{computername}/delete") public String deleteTestByComputerName(org.springframework.ui.Model model, @PathVariable String testname, @PathVariable String computername) - Returns:
- Template Name responsible for the action or redirection to somewhere
-