Package de.dlr.proseo.planner.rest
Klasse JobstepControllerImpl
java.lang.Object
de.dlr.proseo.planner.rest.JobstepControllerImpl
- Alle implementierten Schnittstellen:
JobstepController
Spring MVC controller for the prosEO planner; implements the services required to plan
and handle job steps.
- Autor:
- Ernst Melchinger
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<RestJobStep> cancelJobStep
(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Cancel a production planner job step identified by name or idorg.springframework.http.ResponseEntity
<RestJobStep> getJobStep
(String name, org.springframework.http.HttpHeaders httpHeaders) Get production planner job step identified by name or idorg.springframework.http.ResponseEntity
<String> getJobStepLog
(String name, org.springframework.http.HttpHeaders httpHeaders) Get production planner job step log string by name or idorg.springframework.http.ResponseEntity
<List<RestJobStep>> getJobSteps
(Status status, String mission, Long last, org.springframework.http.HttpHeaders httpHeaders) Get production planner job steps by statusorg.springframework.http.ResponseEntity
<RestJobStep> resumeJobStep
(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Resume a production planner job step identified by name or idorg.springframework.http.ResponseEntity
<RestJobStep> retryJobStep
(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Retry a production planner job step identified by name or id.org.springframework.http.ResponseEntity
<RestJobStep> suspendJobStep
(String jobstepId, Boolean forceP, org.springframework.http.HttpHeaders httpHeaders) Cancel a production planner job step identified by name or id.
-
Konstruktordetails
-
JobstepControllerImpl
public JobstepControllerImpl()
-
-
Methodendetails
-
getJobSteps
@Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<List<RestJobStep>> getJobSteps(Status status, String mission, Long last, org.springframework.http.HttpHeaders httpHeaders) Get production planner job steps by status- Angegeben von:
getJobSteps
in SchnittstelleJobstepController
- Parameter:
status
- TODOmission
- TODOlast
- TODOhttpHeaders
- TODO- Gibt zurück:
- TODO
-
getJobStep
public org.springframework.http.ResponseEntity<RestJobStep> getJobStep(String name, org.springframework.http.HttpHeaders httpHeaders) Get production planner job step identified by name or id- Angegeben von:
getJobStep
in SchnittstelleJobstepController
-
getJobStepLog
public org.springframework.http.ResponseEntity<String> getJobStepLog(String name, org.springframework.http.HttpHeaders httpHeaders) Get production planner job step log string by name or id- Angegeben von:
getJobStepLog
in SchnittstelleJobstepController
-
resumeJobStep
public org.springframework.http.ResponseEntity<RestJobStep> resumeJobStep(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Resume a production planner job step identified by name or id- Angegeben von:
resumeJobStep
in SchnittstelleJobstepController
-
cancelJobStep
public org.springframework.http.ResponseEntity<RestJobStep> cancelJobStep(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Cancel a production planner job step identified by name or id- Angegeben von:
cancelJobStep
in SchnittstelleJobstepController
-
suspendJobStep
public org.springframework.http.ResponseEntity<RestJobStep> suspendJobStep(String jobstepId, Boolean forceP, org.springframework.http.HttpHeaders httpHeaders) Cancel a production planner job step identified by name or id. Kill the job step if force equals true, otherwise wait until end of Kubernetes job.- Angegeben von:
suspendJobStep
in SchnittstelleJobstepController
-
retryJobStep
public org.springframework.http.ResponseEntity<RestJobStep> retryJobStep(String jobstepId, org.springframework.http.HttpHeaders httpHeaders) Retry a production planner job step identified by name or id.- Angegeben von:
retryJobStep
in SchnittstelleJobstepController
-