mozilla / taar-lite

A lightweight version of the TAAR service intended for specific deployments with reduced feature visibility.
Mozilla Public License 2.0
2 stars 6 forks source link

Add default fall back GUIDs #21

Closed crankycoder closed 6 years ago

crankycoder commented 6 years ago

TAARlite should never return an empty list of results.

In the event that TAAR cannot compute exactly 4 results - we should return this list of addons:

Preferable to store this on S3 so that we have a way of updating the fallback response.

muffinresearch commented 6 years ago

@crankycoder I don't think you need to do this unless you need/want to do it for something other than AMO and if so it should be configurable.

AMO already handles this behaviour in its API wrapper so adding this would break amo's ability to know what's happening and add specific properties to the API output.