A method and a terminal for publishing services in batches
A batch and terminal technology, applied in the field of operation and maintenance, can solve problems such as script execution failure, affecting service smoothness, smooth release, etc., and achieve the effect of smooth release
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0053] The official domain name points to all instances of the service, and the grayscale domain name points to the first instance of the service;
[0054] Also include before the step S2:
[0055] Store test scripts corresponding to each service;
[0056] Publishing services according to the topology sequence in step S3 is specifically:
[0057] S311. Acquire the services to be released according to the order of the topology sequence, and remove the first instance of the service to be released from the pointing of the official domain name;
no. 1 example ;
[0059] S313. After judging that the first instance is started, automatically execute the test script corresponding to the service to be released;
[0060] Judging whether the first instance of the service to be published is successfully released according to the execution of the test script, if not, then initiate a notification;
[0061] If so, judge whether there are unpublished services in the topology sequence, if so, return to S31, if not, add back the first instance of all successfully released services to the pointing of the official domain name, and add the first instance of all successfully released services The second instance is removed from the official domain name, and the code corresponding to the code version in the first instance of each successfully published service is constructed to the second instance of the service.
[0062] From the above description, it can be seen that the services to be released are automatically tested and released according to the ord...
Embodiment 1
[0099] Please refer to figure 1 , image 3 and Figure 4 , a method for publishing services in batches, this embodiment is described from the perspective of an operation and maintenance system, including steps:
[0100] S1. Collect the data and dependencies of requests and calls between services, and generate a service dependency graph;
[0101] Among them, the running status of the service is monitored through the basic operation and maintenance monitoring tool of the collection module, and the data requested and called between services is collected;
[0102] Store the code of the service in the code warehouse uniformly for easy management;
[0103] The service dependency graph is a directed acyclic graph, the vertices in the service dependency graph are services, and the outgoing edges of the vertices are the dependencies between the service and other services, such as image 3 As shown, service A invokes the interface of service G, that is, service A depends on service ...
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