geocento / SEDAS-issues

Project to track SEDAS issues
0 stars 0 forks source link

Acquisition results are returning a DatatakeId as the supplierId #47

Open amanshu opened 6 years ago

amanshu commented 6 years ago

Currently acquisiton plan results to a search request are returning the dataTakeId of when the data will be acquired instead of the supplierId. When the data is acquired this value is then replaced with the correct supplierId.

This supplierId can then be used in the product search, however the dataTakeId can not - since there are no products yet.

It would be better to have a type field that defines the product as 'ACQUISITION' or 'ARCHIVE', and two further fields: supplierId and dataTakeId that are set to 'UNAVAILABLE' depending upon the value of the type field.

GGlanfield commented 6 years ago

Raul, the internal acq plan api now returns UNDEFINED for the suppliersceneid, and in addition there is now a new attribute called acqPlanId. This only applies when "category" == "acqplan". Can you return "acqPlanId" to the end user for the public facing api. Also, the public facing api is returning "ql" for acq plan calls, which it shouldn't.

raul-geocento commented 6 years ago

Completed