Klasse ProcessingfacilityControllerImpl

java.lang.Object
de.dlr.proseo.planner.rest.ProcessingfacilityControllerImpl
Alle implementierten Schnittstellen:
ProcessingfacilityController

@Component public class ProcessingfacilityControllerImpl extends Object implements ProcessingfacilityController
Spring MVC controller for the prosEO planner; implements the services required to handle processing facilities.
Autor:
Ernst Melchinger
  • Konstruktordetails

    • ProcessingfacilityControllerImpl

      public ProcessingfacilityControllerImpl()
  • Methodendetails

    • getRestProcessingFacilities

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<List<RestProcessingFacility>> getRestProcessingFacilities(org.springframework.http.HttpHeaders httpHeaders)
      Get attached processing facilities
      Angegeben von:
      getRestProcessingFacilities in Schnittstelle ProcessingfacilityController
      Gibt zurück:
      a list of JSON objects describing the processing facilities
    • getRestProcessingFacilityByName

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<RestProcessingFacility> getRestProcessingFacilityByName(String name, org.springframework.http.HttpHeaders httpHeaders)
      Get production planner processing facility by name
      Angegeben von:
      getRestProcessingFacilityByName in Schnittstelle ProcessingfacilityController
      Parameter:
      name - the processing facility name
      Gibt zurück:
      a JSON object describing the processing facility
    • synchronizeFacility

      public org.springframework.http.ResponseEntity<RestProcessingFacility> synchronizeFacility(String name, org.springframework.http.HttpHeaders httpHeaders)
      Synchronize and run job steps of processing facility identified by name
      Angegeben von:
      synchronizeFacility in Schnittstelle ProcessingfacilityController
      Parameter:
      name - the processing facility name
      Gibt zurück:
      a JSON object describing the processing facility that was synchronized
    • finishKubeJob

      public org.springframework.http.ResponseEntity<PlannerPod> finishKubeJob(String podname, String name, String status, org.springframework.http.HttpHeaders httpHeaders)
      Kubernetes pod and job has finished with state
      Angegeben von:
      finishKubeJob in Schnittstelle ProcessingfacilityController
      Parameter:
      podname - name of the Kubernetes pod
      name - the Kubernetes job name
      status - finish status
      Gibt zurück:
      a JSON object describing the finished pod (currently not implemented)