Package de.dlr.proseo.api.aipclient.rest
Klasse AllbytimeControllerImpl
java.lang.Object
de.dlr.proseo.api.aipclient.rest.AllbytimeControllerImpl
- Alle implementierten Schnittstellen:
AllbytimeController
Retrieve products from a remote Long-term Archive by product type and time interval
- Autor:
- Dr. Thomas Bassler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.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.
-
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 SchnittstelleAllbytimeController
- Parameter:
productType
- The product typestartTime
- The start of the sensing time intervalstopTime
- The end of the sensing time intervalfacility
- The processing facility to store the downloaded product files inhttpHeaders
- 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
-