Klasse GUIStatisticsController

java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIStatisticsController

@Controller public class GUIStatisticsController extends GUIBaseController
A controller for retrieving the dashboard and prosEO home view, as well as the latest successful and failed job steps
Autor:
David Mazo
  • Konstruktordetails

    • GUIStatisticsController

      public GUIStatisticsController()
  • Methodendetails

    • dashboard

      @GetMapping("/dashboard") public String dashboard()
      Show the dashboard view
      Gibt zurück:
      the name of the dashboard view template
    • index

      @GetMapping("/") public String index(org.springframework.ui.Model model)
      Show the prosEO home view
      Parameter:
      model - the attributes to return
      Gibt zurück:
      the name of the prosEO home view template
    • getFailedJobsteps

      @RequestMapping("/failedjobsteps/get") public org.springframework.web.context.request.async.DeferredResult<String> getFailedJobsteps(@RequestParam(required=true,value="latest") Integer count, org.springframework.ui.Model model)
      Gets the latest failed job steps
      Parameter:
      count - the maximum number of failed job steps to return
      model - the Thymeleaf model to update
      Gibt zurück:
      a Thymeleaf fragment
    • getCompletedJobsteps

      @RequestMapping("/completedjobsteps/get") public org.springframework.web.context.request.async.DeferredResult<String> getCompletedJobsteps(@RequestParam(required=false,value="latest") Integer count, org.springframework.ui.Model model)
      Gets the latest job steps completed successfully
      Parameter:
      count - the maximum number of completed job steps to return
      model - the Thymeleaf model to update
      Gibt zurück:
      a Thymeleaf fragment