Klasse AllbytimeControllerImpl

java.lang.Object
de.dlr.proseo.api.aipclient.rest.AllbytimeControllerImpl
Alle implementierten Schnittstellen:
AllbytimeController

@Component public class AllbytimeControllerImpl extends Object implements AllbytimeController
Retrieve products from a remote Long-term Archive by product type and time interval
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • AllbytimeControllerImpl

      public AllbytimeControllerImpl()
  • Methodendetails

    • downloadAllBySensingTime

      public org.springframework.http.ResponseEntity<List<RestProduct>> downloadAllBySensingTime(String productType, String startTime, String stopTime, String facility, org.springframework.http.HttpHeaders httpHeaders)
      Provide all products with the given product type at the given processing facility, whose sensing times intersect with the given sensing time interval. Query all configured LTAs for products with the given search criteria, the first response is evaluated. The product metadata is returned to the caller, then the products are downloaded from the LTA and ingested at the given processing facility, unless they are already available there.
      Angegeben von:
      downloadAllBySensingTime in Schnittstelle AllbytimeController
      Parameter:
      productType - The product type
      startTime - The start of the sensing time interval
      stopTime - The end of the sensing time interval
      facility - The processing facility to store the downloaded product files in
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      HTTP status "OK" and a list of Json representations of the products provided or HTTP status "NOT_FOUND", if no products matching the given selection criteria were found, or HTTP status "BAD_REQUEST", if an invalid facility name, product type or sensing time was given, or HTTP status "INTERNAL_SERVER_ERROR", if the communication to the Ingestor failed or an unexpected exception occurred