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

OrderService Crud? #64

Open
feveden opened this issue Nov 20, 2022 · 1 comment
Open

OrderService Crud? #64

feveden opened this issue Nov 20, 2022 · 1 comment

Comments

@feveden
Copy link

feveden commented Nov 20, 2022

Hİ,
The OrderService microservice is described as a simple CRUD API in the table of services description, but nowhere in the code there exists any crud operation. The service just gets the orders from the Virtual Customer microservices and publishes them onto the pubsub event bus as far as I can see.
Is there anything that I am missing? Could you please clarify?

@lynn-orrell
Copy link
Contributor

Hey @feveden, that is correct. VirtualCustomers, today, is just used as a simple load generator to drive the dashboard metrics. OrderService is the entrypoint into the system in which you could easily stand up a PowerApp or web-based order entry UI in front of to handle human transacted orders. The OrderService is responsible for taking a CustomerOrder model (which doesn't contain attributes such as UnitPrice) as input and transposing it into an OrderSummary (after doing a product lookup) that the rest of the services utilize. So, you are correct in noting that the OrderService doesn't contain the Read, Update and Delete portions of CRUD.

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