Interface BynameController

All Known Implementing Classes:
BynameControllerDecorator, BynameControllerImpl

public interface BynameController
Retrieve a single product from a remote Long-term Archive by file name (Generated with springmvc-raml-parser v.2.0.5)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<RestProduct>
    downloadByName(String filename, String facility, org.springframework.http.HttpHeaders httpHeaders)
    Provide the product with the given file name at the given processing facility.
  • Method Details

    • downloadByName

      org.springframework.http.ResponseEntity<RestProduct> downloadByName(String filename, String facility, org.springframework.http.HttpHeaders httpHeaders)
      Provide the product with the given file name at the given processing facility. If it already is available there, do nothing and just return the product metadata. If it is not available locally, query all configured LTAs for a product with the given file name, the first response is returned to the caller, then download from the LTA and ingested at the given processing facility.