Package de.dlr.proseo.ui.gui
Class GUIStatisticsController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIStatisticsController
A controller for retrieving the dashboard and prosEO home view, as well as the latest successful and failed job steps
- Author:
- David Mazo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShow the dashboard vieworg.springframework.web.context.request.async.DeferredResult<String> getCompletedJobsteps(Integer count, org.springframework.ui.Model model) Gets the latest job steps completed successfullyorg.springframework.web.context.request.async.DeferredResult<String> getFailedJobsteps(Integer count, org.springframework.ui.Model model) Gets the latest failed job stepsindex(org.springframework.ui.Model model) Show the prosEO home viewMethods inherited from class de.dlr.proseo.ui.gui.GUIBaseController
calcShowPages, checkClearCache, configuredProcessors, enabledfacilities, facilities, fileClasses, grafana, handleHTTPError, handleHTTPWarning, hasroleconfigurationmgr, hasroleconfigurationreader, hasrolefacilitymgr, hasrolefacilitymonitor, hasrolefacilityreader, hasrolejobstepprocessor, hasrolemissionmgr, hasrolemissionreader, hasroleorderapprover, hasroleordermgr, hasroleordermonitor, hasroleorderplanner, hasroleorderreader, hasroleprocessorclassmgr, hasroleprocessorreader, hasroleproductarchivemgr, hasroleproductarchivereader, hasroleproductclassmgr, hasroleproductclassreader, hasroleproductmgr, hasroleproductreader, hasroleproductreaderall, hasroleproductrestrictedreader, missioncode, modelAddAttributes, parametertypes, processinglevels, processingModes, processorclassnames, productarchives, productclasses, productiontypes, productqualities, proseoversion, slicingtypes, spaceCrafts, user, userroles, visibilities, workflows
-
Constructor Details
-
GUIStatisticsController
public GUIStatisticsController()
-
-
Method Details
-
dashboard
Show the dashboard view- Returns:
- the name of the dashboard view template
-
index
Show the prosEO home view- Parameters:
model- the attributes to return- Returns:
- the name of the prosEO home view template
-
getFailedJobsteps
@GetMapping("/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- Parameters:
count- the maximum number of failed job steps to returnmodel- the Thymeleaf model to update- Returns:
- a Thymeleaf fragment
-
getCompletedJobsteps
@GetMapping("/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- Parameters:
count- the maximum number of completed job steps to returnmodel- the Thymeleaf model to update- Returns:
- a Thymeleaf fragment
-