Class JobsController
java.lang.Object
ch.admin.bit.jeap.deploymentlog.web.api.JobsController
-
Constructor Summary
ConstructorsConstructorDescriptionJobsController(DocumentationGenerator documentationGenerator, SchedulingService schedulingService, DocgenAsyncService docgenAsyncService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> generateDeploymentPage(UUID deploymentId) org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<Void> generateDocumentationForSystem(String systemName, Integer year) org.springframework.http.ResponseEntity<Void> generateJiraLinksForSystem(String systemName, String from, String to) org.springframework.http.ResponseEntity<Void>
-
Constructor Details
-
JobsController
public JobsController(DocumentationGenerator documentationGenerator, SchedulingService schedulingService, DocgenAsyncService docgenAsyncService)
-
-
Method Details
-
generateDocumentation
@PostMapping("/docgen") @PreAuthorize("hasRole(\'deploymentlog-write\')") public org.springframework.http.ResponseEntity<Void> generateDocumentation() -
generateDocumentationForSystem
-
generateDeploymentPage
-
outdatedPageHousekeeping
@PostMapping("/outdatedPageHousekeeping") @PreAuthorize("hasRole(\'deploymentlog-write\')") public org.springframework.http.ResponseEntity<Void> outdatedPageHousekeeping() -
generateJiraLinksForSystem
@PostMapping("/docgen/system/{systemName}/repairJiraLinks") @PreAuthorize("hasRole(\'deploymentlog-write\')") public org.springframework.http.ResponseEntity<Void> generateJiraLinksForSystem(@PathVariable("systemName") String systemName, @RequestParam("from") String from, @RequestParam("to") String to)
-