A lightweight microservice configuration method
A configuration method and micro-service technology, applied in version control, electrical components, transmission systems, etc., can solve problems such as complex deployment, time-consuming and labor-consuming, low learning costs, etc., and achieve the effect of convenient service deployment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Embodiment 1 of the present invention provides a structural schematic diagram of a lightweight microservice configuration center, as shown in figure 1 As shown, there are three microservices of microservice A, microservice B, and microservice C, and a configuration center, in which there are public configuration and three microservices of microservice A, microservice B, and microservice C The corresponding microservice A configuration, microservice B configuration and microservice C configuration are three private configurations; the three microservices have two interfaces, the first interface is the service registration interface, which is used to send the registration request of the microservice to the The configuration center; the second interface is a configuration update interface, which is used to send the updated configuration item value to the microservice through the second interface when the value of the configuration item in the configuration center is updated...
Embodiment 2
[0029] Embodiment 2 of the present invention provides a flow chart of a lightweight microservice configuration method, as shown in figure 2 As shown, the method includes the following steps:
[0030] Step S101, build a server and start the configuration center service with one click;
[0031] The conventional configuration center itself needs to configure addresses such as databases and service management centers. To run this configuration center service, you only need the most basic commands to run ordinary jar (packages typed out of the configuration center project) files to start this configuration The center does not need to configure any additional configuration, the most common is the java -jar file name (a command to run the project).
[0032] Step S102, configuring the configuration center address and the microservice ID in the microservice, where the microservice ID is the unique identity of the microservice;
[0033] Step S103, the microservice sends a registratio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com