- Mastering Microservices with Java
- Sourabh Sharma
- 92字
- 2021-07-02 13:03:40
Restaurant microservice
The restaurant microservice will be exposed to the external world using REST endpoints for consumption. We'll find the following endpoints in the restaurant microservice example. You can add as many endpoints as you need:
- This is the endpoint for retrieving restaurants by ID:

- This is the endpoint for retrieving all the restaurants that match the value of the query parameter Name:

- This is the endpoint for creating a new restaurant:

Similarly, we can add various endpoints and their implementations. For demonstration purposes, we'll implement the preceding endpoints using Spring Cloud.
推薦閱讀
- Web程序設計及應用
- Learning NServiceBus(Second Edition)
- The Supervised Learning Workshop
- Getting started with Google Guava
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Linux網絡程序設計:基于龍芯平臺
- INSTANT Passbook App Development for iOS How-to
- Linux:Embedded Development
- 一本書講透Java線程:原理與實踐
- Scala編程(第5版)
- Extending Unity with Editor Scripting
- Distributed Computing in Java 9
- ASP.NET Core and Angular 2
- R語言:邁向大數據之路
- Python深度學習與項目實戰