CaravanStudios / open-product-recovery

Apache License 2.0
26 stars 20 forks source link

Change API to allow one OfferProducer per organization corpus #34

Closed johndayrichter closed 1 year ago

johndayrichter commented 1 year ago

Expected Behavior

The API should be structured so that there can be at most one offer producer per organization, since each offer producer generates the full set of offers for an organization.

Actual Behavior

The API allows any number of offer producers to update any number of corpuses.

Steps to Reproduce the Problem

  1. Install multiple offer producers that producer offers for the same organization
  2. Note that offer producers overwrite each other's collections for any given org.

Specifications