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

Create new infrastructure for StockItem Configuration #1486

Closed
maghamed opened this issue Jul 24, 2018 · 1 comment
Closed

Create new infrastructure for StockItem Configuration #1486

maghamed opened this issue Jul 24, 2018 · 1 comment
Assignees
Labels
Projects
Milestone

Comments

@maghamed
Copy link
Contributor

maghamed commented Jul 24, 2018

The main technical concept we follow in MSI architecture is to segregate Command and Query APIs. In our case, the role of Query APIs plays StockItem related interfaces and services as the StockItem entity is an aggregated indexed data among the physical locations (Sources)plus additional business rules on top of it so that StockItem data is calculated based on the raw data we have on Source level. A customer working with front-end does not update StockItem data directly, he just exposes commands which would be processed by the system later.

The similar principle should be applied for StockItem configuration as well so that Front-end would work with StockItem configuration only which is built based on SourceItem configuration. But the things here are a bit more complicated than in comparison to stock availability and salable quantity calculation because there are different configuration options and some of them could be specified on the level of Source, others on the level of Stock. Thus, the process of Indexation and Aggregation data for StockItemConfiguration indexes would be more sophisticated as it should apply own corresponding business rules to build and store each particular Config Option.

https://github.com/magento-engcom/msi/wiki/Stock-and-Source-Configuration-design

@maghamed maghamed added the Epic label Jul 24, 2018
@maghamed maghamed modified the milestones: MSI Part III, MSI Part II Jul 24, 2018
@seruymt seruymt self-assigned this Aug 1, 2018
@maghamed maghamed modified the milestones: MSI Part II, MSI Part III Sep 19, 2018
@maghamed maghamed modified the milestones: MSI Part III, MSI Part IV Apr 10, 2019
@sidolov sidolov added this to Ready for Grooming in Backlog May 28, 2019
@m2-community-project m2-community-project bot moved this from Ready for Grooming to Pull Request In Progress in Backlog May 28, 2019
@okorshenko okorshenko removed this from the MSI Part III milestone May 30, 2019
@ishakhsuvarov ishakhsuvarov added this to the Improvements milestone May 30, 2019
@sidolov
Copy link
Contributor

sidolov commented Feb 10, 2020

@maghamed epic moved to the internal backlog since it's out of planned scope.

@sidolov sidolov closed this as completed Feb 10, 2020
@m2-community-project m2-community-project bot moved this from Pull Request In Progress to Done in Backlog Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Backlog
  
Done
Development

No branches or pull requests

7 participants