Hi all, I tried to ingest a file with the corresponding metadata file through the fmprod API. Metadata file content is as follows.
<cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas"></cas:metadata> but I got the following error. Must specify: product type and file name and file location within metadata file. I added a query parameter named productType to the productWithMeta <https://github.com/apache/oodt/blob/f62d8453bbd0856d3996abf2d000077ffd8ba6f7/webapp/fmprod/src/main/java/org/apache/oodt/cas/product/jaxrs/services/FileManagerJaxrsServiceV2.java#L352> endpoint in FMProd and then the error went away. However, I'm not sure if it's the right thing to do as I feel like the endpoint has been written in a way that the product type is extracted from the metadata file. If that's so, can you please educate me on how the structure of my metadata file should be? I couldn't find any documentation on metadata file structure. Thanks and regards, Pavindu