There is another approach found in the web. This is to implement a centralized service orchestration through by integrating the business process model and notation (BPMN) workflow and REST. The following diagram clearly depicts how a complex Shopping Cart Microservice is realized:
Service orchestration
Get Hands-On RESTful API Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.