Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Build fmprod (assumes you have OODT sources checked out)
    No Format
    cd webapp/fmprod
    mvn clean package
    
  2. Deploy fmprod (cas-product-VERSION.war)
  3. Download the product with an HTTP request (GET or POST)
    • To get a single product, use the "productID" query parameter.
      No Format
      curl 'http://webappMachine/fmprod/data?productID=< your product id >'
      
    • To get a dataset (products of a certain type) as a zip file, use the "typeID" query parameter.
      No Format
      curl 'http://webappMachine/fmprod/dataset?typeID=< your product type id >'
      
  4. The previous download step can be wrapped in a "FileStager" task. Subsequent tasks can now operate on the downloaded local file.

...