44 lines
915 B
Java
44 lines
915 B
Java
|
|
package com.snp.batch.global.controller;
|
||
|
|
|
||
|
|
import org.springframework.stereotype.Controller;
|
||
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
|
|
||
|
|
@Controller
|
||
|
|
public class WebViewController {
|
||
|
|
|
||
|
|
@GetMapping("/")
|
||
|
|
public String index() {
|
||
|
|
return "index";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/jobs")
|
||
|
|
public String jobs() {
|
||
|
|
return "jobs";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/executions")
|
||
|
|
public String executions() {
|
||
|
|
return "executions";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/schedules")
|
||
|
|
public String schedules() {
|
||
|
|
return "schedules";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/execution-detail")
|
||
|
|
public String executionDetail() {
|
||
|
|
return "execution-detail";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/executions/{id}")
|
||
|
|
public String executionDetailById() {
|
||
|
|
return "execution-detail";
|
||
|
|
}
|
||
|
|
|
||
|
|
@GetMapping("/schedule-timeline")
|
||
|
|
public String scheduleTimeline() {
|
||
|
|
return "schedule-timeline";
|
||
|
|
}
|
||
|
|
}
|