Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Default Source Selection Algorithm "By Priority" #11

Closed
vrann opened this issue May 18, 2017 · 0 comments
Closed

Implement Default Source Selection Algorithm "By Priority" #11

vrann opened this issue May 18, 2017 · 0 comments

Comments

@vrann
Copy link
Contributor

vrann commented May 18, 2017

Per Source Selection Algorithms HLD

Algorithm steps:

  1. Get list of sources sorted by priority (source attribute)
  2. Take all available products from 1st source by priority. If some of the products in the order couldn't be delivered from the 1st source - get the rest of products from next by priority source.
  3. Repeat Step 2. until all the products from the order would be ready to shipping.

Acceptance Criteria:

  1. There is default implementation of the source selection interface via "By Priority" source selection algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants