- 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.
推薦閱讀
- Oracle從入門到精通(第3版)
- Implementing Modern DevOps
- ExtGWT Rich Internet Application Cookbook
- 自制編譯器
- Java程序設(shè)計與實踐教程(第2版)
- 21天學(xué)通C++(第6版)
- Extending Puppet(Second Edition)
- Mastering React
- Orchestrating Docker
- Practical Microservices
- CodeIgniter Web Application Blueprints
- 遠方:兩位持續(xù)創(chuàng)業(yè)者的點滴思考
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- Python Programming for Arduino
- Visual C++程序設(shè)計全程指南