CN116382765A - Application configuration release system and method - Google Patents
Application configuration release system and method Download PDFInfo
- Publication number
- CN116382765A CN116382765A CN202310151855.3A CN202310151855A CN116382765A CN 116382765 A CN116382765 A CN 116382765A CN 202310151855 A CN202310151855 A CN 202310151855A CN 116382765 A CN116382765 A CN 116382765A
- Authority
- CN
- China
- Prior art keywords
- configuration
- application
- subsystem
- target
- release
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012795 verification Methods 0.000 claims abstract description 49
- 238000012550 audit Methods 0.000 claims description 16
- 238000012360 testing method Methods 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 claims description 11
- 230000000977 initiatory effect Effects 0.000 claims 3
- 238000012827 research and development Methods 0.000 abstract description 6
- 238000004590 computer program Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Hardware Redundancy (AREA)
Abstract
The application provides an application configuration release system and method, which relate to the technical field of computers, and the method comprises the following steps: the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is a configuration which is indicated by the configuration release application and needs to be released in a configuration center; after finishing verification and approval of the configuration release application, the approval subsystem sends configuration release information to the configuration release subsystem; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition of receiving the configuration release information. The application configuration release system and the application configuration release method are used for realizing the automation of configuration release, reducing the misoperation probability and improving the research and development efficiency.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an application configuration publishing system and method.
Background
With the wide application of the micro-service system architecture, in order to improve the flexibility of application deployment, configuration center services (including an Apollo configuration center, a Nacos configuration center and the like) are introduced into an application system based on the micro-service system architecture, so that separation of application codes and configuration is realized.
In the related technology, a developer can modify and adjust related configuration in a configuration center according to a deployment environment, a service background and the like, so that adaptive deployment of the application can be realized without modifying application codes.
However, in the configuration release mode in the related art, a developer is required to submit a configuration release work order, and then the operation and maintenance personnel performs manual operation on a control console of a configuration center according to the configuration release work order to release the related configuration to the configuration center. The configuration release mode needs manual operation, so that the configuration release mode has high misoperation probability, is high in maintenance cost, and reduces research and development efficiency to a certain extent.
Disclosure of Invention
The application configuration release system and method are used for realizing automation of configuration release, reducing misoperation probability and improving research and development efficiency.
In a first aspect, the present application provides an application configuration publishing system, comprising: the application subsystem, the approval subsystem and the configuration release subsystem;
the approval subsystem is used for verifying and approving the rationality of the target configuration under the condition of receiving the configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem is further used for sending configuration release information to the configuration release subsystem after verification and approval of the configuration release application are completed; the configuration release subsystem is used for releasing the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
Optionally, the application subsystem is configured to obtain an application list from the target configuration center, and display the application list to the applicant; the application list comprises: at least one application; the application subsystem is further used for acquiring a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
Optionally, the application subsystem is further configured to initiate the configuration issuing application to the approval subsystem based on a configuration to be adjusted, which is selected by the applicant from the plurality of configurations and needs to be modified, and a target configuration submitted by the applicant and used for replacing the configuration to be adjusted; the configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
Optionally, the application subsystem is further configured to initiate the configuration release application to the approval subsystem based on the target configuration submitted by the applicant; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
Optionally, the application subsystem is further configured to initiate the configuration release application to the approval subsystem based on the target configuration to be deleted selected by the applicant from the multiple configurations; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
Optionally, the approval subsystem is specifically configured to issue the target configuration to a testing environment for verification of rationality under the condition of receiving a configuration issuing application initiated by the application subsystem, and submit the target configuration to an auditor for secondary audit after the verification is passed; the approval subsystem is specifically used for completing verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
Optionally, the configuration release subsystem is specifically configured to determine a technology type of the target configuration center based on the configuration release information when the configuration release information is received, and call a configuration release interface corresponding to the technology type of the target configuration center to release the target configuration to the target configuration center.
In a second aspect, the present application further provides an application configuration publishing method, which is applied to the configuration publishing system provided in the first aspect, and the method includes:
the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
Optionally, the approval subsystem performs rationality verification and approval on the target configuration under the condition that the approval subsystem receives the configuration release application initiated by the application subsystem, and the method further includes: the application subsystem acquires an application list from the target configuration center and displays the application list to the applicant; the application list comprises: at least one application; the application subsystem obtains a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
Optionally, the application subsystem obtains, from a target configuration center, a plurality of configurations related to the target application based on a target application selected by the applicant from the application list, and the method further includes: the application subsystem initiates the configuration release application to the approval subsystem based on the configuration to be modified selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant for replacing the configuration to be modified; the configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
Optionally, the application subsystem obtains, from a target configuration center, a plurality of configurations related to the target application based on a target application selected by the applicant from the application list, and the method further includes: the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration submitted by the applicant; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
Optionally, the application subsystem obtains, from a target configuration center, a plurality of configurations related to the target application based on a target application selected by the applicant from the application list, and the method further includes: the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration which is selected from the multiple configurations by the applicant and needs to be deleted; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
Optionally, the validating and validating the target configuration by the validating subsystem under the condition of receiving the configuration release application initiated by the application subsystem includes: the approval subsystem issues the target configuration to a testing environment for rationality verification under the condition of receiving a configuration issuing application initiated by the application subsystem, and submits the target configuration to an auditor for secondary audit after verification is passed; and the approval subsystem completes verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
Optionally, the configuration issuing subsystem issues the target configuration to a target configuration center indicated by the configuration issuing information when receiving the configuration issuing information, including: and under the condition that the configuration release information is received, the configuration release subsystem determines the technical type of the target configuration center based on the configuration release information, invokes a configuration release interface corresponding to the technical type of the target configuration center, and releases the target configuration to the target configuration center.
In a third aspect, the present application also provides a computer program product comprising computer programs/instructions which when executed by a processor implement the steps of an application configuration issuing method as any one of the second aspect above.
The present application also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the application configuration distribution methods as provided in the second aspect above when the program is executed.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the application configuration distribution methods as provided in the second aspect above.
According to the application configuration release system and the application configuration release method, the approval subsystem performs rationality verification and approval on the target configuration under the condition that the approval subsystem receives the configuration release application initiated by the application subsystem; the target configuration is a configuration which is indicated by the configuration release application and needs to be released in a configuration center. And after the approval subsystem completes verification and approval of the configuration release application, the configuration release information is sent to the configuration release subsystem. And the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition of receiving the configuration release information. Therefore, the automatic release mode replaces the traditional manual release mode, so that the probability of manual misoperation is reduced, and the research and development efficiency can be improved to a certain extent.
Drawings
In order to more clearly illustrate the technical solutions of the present application or the prior art, the following description will briefly introduce the drawings used in the embodiments or the description of the prior art, and it is obvious that, in the following description, the drawings are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is one of the schematics of the application configuration distribution system provided herein;
FIG. 2 is one of the flow diagrams of the application configuration publishing method provided in the present application;
FIG. 3 is one of the flow diagrams of the application configuration publishing method provided in the present application;
FIG. 4 is a second schematic diagram of the application configuration distribution system provided herein;
fig. 5 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Common configuration centers include: apollo configuration center, nacos configuration center, etc., the traditional mode configuration is on-line to release the mode, need the developer to submit the work order of on-line, the fortune dimension personnel release the work order according to the configuration, log in the configuration center system console, regard the application as the dimension, the manual operation triggers the application configuration to release. With the increase of service scale and the increase of micro-service quantity, manual operation is needed in each configuration release process, and a large number of relevant applications are released.
Aiming at the technical problems in the related art, the embodiment of the application provides an application configuration release method, which realizes the automation of configuration release through digital approval flow, reduces the cost of manual operation and maintenance and improves the development and delivery efficiency.
The application configuration release method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, an application configuration issuing system applied to an application configuration issuing method provided in an embodiment of the present application includes: the system comprises an application subsystem, an approval subsystem, a configuration release subsystem and a plurality of configuration centers. The application subsystem is used for facilitating the filling of relevant configuration change information by the applicant, and the application subsystem initiates a configuration release application to the approval subsystem based on the configuration change information filled by the applicant.
Based on the application configuration issuing system shown in fig. 1, as shown in fig. 2, a method for issuing an application configuration according to an embodiment of the present application may include the following steps 201 to 203:
The target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center.
For example, when the applicant needs to online relevant configuration in the configuration center according to the service requirement, the applicant can initiate the release application of the relevant configuration, namely the release application of the configuration. And then, verifying and approving the rationality of the related configuration which needs to be online by the approval subsystem.
Specifically, the step 201 may include the following steps 201a1 and 201a2:
step 201a1, when receiving a configuration release application initiated by the application subsystem, the approval subsystem releases the target configuration to a test environment for verification of rationality, and submits the target configuration to an auditor for secondary audit after the verification is passed.
Step 201a2, after the auditor performs secondary audit on the configuration release application, the approval subsystem completes verification and approval of the configuration release application.
The test environment may include a backup of the total configuration of the configuration center, after the target configuration is released in the test environment, service verification is performed on the released configuration based on the test environment, and if the verification result meets the expectation, the configuration release application may be further submitted to the auditor for secondary audit; if the verification result does not meet the expectation, the method can return to the applicant and be adjusted by the applicant.
It should be noted that, the test in the above-mentioned test environment can be completed by a tester through a manual operation mode, and also can be completed by an automatic test script, which is not limited in the embodiment of the present application, and belongs to the protection scope of the present application.
After the auditor manually audits the configuration release application passing the rationality verification, the configuration release application can be submitted to the configuration release subsystem, and the configuration release subsystem performs automatic operation to complete release of the target configuration.
And 202, after finishing verification and approval of the configuration release application, the approval subsystem sends configuration release information to the configuration release subsystem.
For example, since the configuration issuing subsystem is responsible for configuration issuing of a plurality of configuration centers, the configuration issuing subsystem needs to determine the configuration center needing to be configured and issued according to the received configuration issuing information, and call the corresponding configuration issuing interface according to the technical type of the configuration center to complete issuing of the related configuration. The configuration release interface is obtained by encapsulating an application program interface (Application Programming Interface, API) of the configuration release function provided by the relevant configuration center.
For example, taking a configuration center of the configuration issuing subsystem responsible for configuration issuing as an example, the configuration center includes a configuration center a and a configuration center B, where the configuration center a is an Apollo configuration center, and the configuration center B is a Nacos configuration center. The Apollo configuration center and the Nacos configuration center are different in technical types, the provided configuration release API is different, and the configuration release interface obtained after encapsulation is different. Therefore, the configuration issue interface to be invoked needs to be determined according to the technology types of the configuration center a and the configuration center B.
The configuration issuing subsystem invokes a configuration issuing interface corresponding to a target configuration center needing configuration issuing according to the instruction of the configuration issuing information, thereby completing issuing of the target configuration.
Specifically, the step 203 may further include the following step 203a:
step 203a, when the configuration release subsystem receives the configuration release information, determining a technology type of the target configuration center based on the configuration release information, and calling a configuration release interface corresponding to the technology type of the target configuration center to release the target configuration to the target configuration center.
For example, the information about the configuration center that needs to perform configuration release, the related application that needs to perform configuration release, and the specific configuration that needs to be released by the application may be included in the configuration release information.
For example, as shown in fig. 3, a flowchart of an application configuration publishing method provided in an embodiment of the present application is shown. After the application subsystem initiates a configuration release application to the approval subsystem, the approval subsystem completes rationality verification and approval of related configuration (namely the target configuration) based on the configuration release application, and asynchronously returns an auditing result to the application subsystem. And then, the approval subsystem sends configuration release information to the configuration release system, and after receiving the configuration release information, the configuration release subsystem calls a configuration release interface of a related configuration center (namely the target configuration center) to finish release of the related configuration by the configuration center.
It should be noted that, in the embodiment of the present application, all results related to auditing, verification and operation are fed back to the application subsystem and the approval subsystem in time, so that the applicant and the auditor can know the configuration release result in real time, and can make a treatment in time when an abnormality occurs.
Optionally, in the embodiment of the present application, in order to facilitate the applicant to initiate the release application of the relevant configuration through the approval subsystem, before the step 201, the method for releasing the application configuration provided in the embodiment of the present application may further include the following steps 204 and 205:
step 204, the application subsystem obtains the application list from the target configuration center and displays the application list to the applicant.
Wherein the application list comprises: at least one application.
The application subsystem may also obtain a configuration center list of a plurality of configuration centers managed by the application configuration release system, and find a target configuration center to which the selected target application belongs.
It will be appreciated that in a configuration center, there is an association of a configuration with an application, i.e. one application is associated with one or more configurations. If some configuration of an application needs to be adjusted, related information of the application needs to be acquired first.
The target configuration center is, for example, a configuration center to which a target application belongs from among a plurality of configuration centers managed by the application configuration distribution system. In order to acquire the related information of the target application, it is first necessary to acquire an application list of a plurality of applications managed by the target configuration center. The applicant may select from the list of applications an application for which a configuration needs to be adjusted.
Step 205, the application subsystem obtains a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
The application subsystem illustratively obtains a plurality of configurations associated with the target application from the target configuration center based on the target application selected by the user, such that the applicant can learn about the applications contained in the configuration center, and the configuration associated with each application, without logging into the configuration center. The specific configuration change operation is then determined by the applicant.
Illustratively, the above configuration change operation may include at least one of: configuration is added, configuration is modified, and configuration is deleted.
Specifically, based on the above-mentioned different configuration change operations, after the above-mentioned step 205, before the above-mentioned step 201, the application configuration release method provided in the embodiment of the present application may further include at least one of the following steps 206a, 206b, and 206 c:
step 206a, the application subsystem initiates the configuration issuing application to the approval subsystem based on the configuration to be adjusted selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant for replacing the configuration to be adjusted.
The configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
For example, in the case that the applicant needs to perform a configuration modification operation on a relevant configuration of the target application, a configuration to be modified that needs to be modified may be selected from a plurality of displayed configurations, and the target configuration that replaces the configuration to be modified may be submitted, and then, based on the information submitted by the applicant, the application subsystem initiates a configuration release application to the approval subsystem.
Step 206b, the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration submitted by the applicant.
The configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
In an exemplary case where the applicant needs to perform a configuration adding operation on a relevant configuration of a target application, a corresponding target application may be selected from a displayed application list, and the target configuration to be added is submitted, and then, the application subsystem initiates a configuration release application to the approval subsystem based on the information submitted by the applicant.
Step 206c, the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration which is selected from the multiple configurations by the applicant and needs to be deleted.
The configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
For example, in the case where the applicant needs to perform a configuration deletion operation on the relevant configuration of the target application, the target configuration that needs to be deleted may be selected from the plurality of configurations displayed. And then, the application subsystem initiates a configuration release application to the approval subsystem based on the information submitted by the applicant.
It should be noted that, in the embodiment of the present application, an auditor may directly log in the approval subsystem to perform secondary audit of the configuration release application, or may complete secondary audit of the configuration release application through an independent subsystem.
According to the application configuration release method, the approval subsystem performs rationality verification and approval on the target configuration under the condition that the approval subsystem receives the configuration release application initiated by the application subsystem; the target configuration is a configuration which is indicated by the configuration release application and needs to be released in a configuration center. And after the approval subsystem completes verification and approval of the configuration release application, the configuration release information is sent to the configuration release subsystem. And the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition of receiving the configuration release information. Therefore, the automatic release mode replaces the traditional manual release mode, so that the probability of manual misoperation is reduced, and the research and development efficiency can be improved to a certain extent.
It should be noted that, in the application configuration release method provided in the embodiment of the present application, the execution body may be an application configuration release system, or a control module in the application configuration release system for executing the application configuration release method. In the embodiment of the application, an application configuration issuing system executes an application configuration issuing method as an example, and the application configuration issuing system provided in the embodiment of the application is described.
In the embodiment of the application, the method is shown in the drawings. The application configuration issuing method is exemplified by a figure in combination with the embodiment of the application. In specific implementation, the application configuration issuing method shown in the above method drawings may also be implemented in combination with any other drawing that may be combined and is illustrated in the above embodiment, and will not be described herein again.
The application configuration issuing system provided by the application is described below, and the application configuration issuing method described below and the application configuration issuing method described above can be referred to correspondingly.
Fig. 4 is a schematic structural diagram of an application configuration issuing system provided in an embodiment of the present application, as shown in fig. 4, specifically including:
the approval subsystem 402 is configured to perform rationality verification and approval on the target configuration when receiving the configuration release application initiated by the application subsystem 401; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem 402 is further configured to send configuration release information to the configuration release subsystem 403 after verification and approval of the configuration release application are completed; and the configuration release subsystem 403 is configured to release the target configuration to a target configuration center indicated by the configuration release information when the configuration release information is received.
Optionally, the application subsystem 401 is configured to obtain an application list from the target configuration center, and display the application list to the applicant; the application list comprises: at least one application; the application subsystem 401 is further configured to obtain, from a target configuration center, a plurality of configurations related to the target application based on a target application selected by the applicant from the application list.
Optionally, the application subsystem 401 is further configured to initiate the configuration issuing application to the approval subsystem 402 based on a configuration to be adjusted selected by the applicant from the plurality of configurations and a target configuration submitted by the applicant for replacing the configuration to be adjusted; the configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
Optionally, the application subsystem 401 is further configured to initiate the configuration issuing application to the approval subsystem 402 based on the target configuration submitted by the applicant; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
Optionally, the application subsystem 401 is further configured to initiate the configuration issuing application to the approval subsystem 402 based on the target configuration to be deleted selected by the applicant from the multiple configurations; the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
Optionally, the approval subsystem 402 is specifically configured to issue the target configuration to a testing environment for verification of rationality under the condition that a configuration issuing application initiated by the application subsystem 401 is received, and submit the target configuration to an auditor for secondary audit after the verification is passed; the approval subsystem 402 is specifically further configured to complete verification and approval of the configuration release application after the second audit is performed on the configuration release application by the auditor.
Optionally, the configuration publishing subsystem 403 is specifically configured to determine, based on the configuration publishing information, a technology type of the target configuration center, and invoke a configuration publishing interface corresponding to the technology type of the target configuration center to publish the target configuration to the target configuration center when the configuration publishing information is received.
The application configuration issuing system provided by the application configuration issuing system comprises an approval subsystem, a configuration issuing subsystem and a target configuration issuing subsystem, wherein the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration issuing application initiated by the application subsystem; the target configuration is a configuration which is indicated by the configuration release application and needs to be released in a configuration center. And after the approval subsystem completes verification and approval of the configuration release application, the configuration release information is sent to the configuration release subsystem. And the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition of receiving the configuration release information. Therefore, the automatic release mode replaces the traditional manual release mode, so that the probability of manual misoperation is reduced, and the research and development efficiency can be improved to a certain extent.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform any of the application configuration issue methods, including: the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform any one of the application configuration release methods provided by the methods described above, the method comprising: the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
In yet another aspect, the present application further provides a computer readable storage medium having stored thereon a computer program which when executed by a processor is implemented to perform any of the above-provided application configuration distribution methods, the method comprising: the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center; the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
Claims (10)
1. An application configuration distribution system, the system comprising: the application subsystem, the approval subsystem and the configuration release subsystem;
the approval subsystem is used for verifying and approving the rationality of the target configuration under the condition of receiving the configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center;
the approval subsystem is further used for sending configuration release information to the configuration release subsystem after verification and approval of the configuration release application are completed;
the configuration release subsystem is used for releasing the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
2. The application configuration distribution system according to claim 1, wherein,
the application subsystem is used for acquiring an application list from the target configuration center and displaying the application list to the applicant; the application list comprises: at least one application;
the application subsystem is further used for acquiring a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
3. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the configuration to be modified selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant and used for replacing the configuration to be modified;
the configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
4. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the target configuration submitted by the applicant;
the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
5. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the target configuration which is selected from the multiple configurations by the applicant and needs to be deleted;
the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
6. The application configuration distribution system according to claim 1, wherein,
the approval subsystem is specifically used for issuing the target configuration to a test environment for rationality verification under the condition of receiving a configuration issuing application initiated by the application subsystem, and submitting the target configuration to an auditor for secondary audit after verification is passed;
the approval subsystem is specifically used for completing verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
7. The application configuration distribution system according to claim 1, wherein,
the configuration release subsystem is specifically configured to determine a technology type of the target configuration center based on the configuration release information under the condition that the configuration release information is received, and call a configuration release interface corresponding to the technology type of the target configuration center to release the target configuration to the target configuration center.
8. An application configuration release method, which is applied to an application configuration release system, wherein the system comprises: the application subsystem, the approval subsystem and the configuration release subsystem; the method comprises the following steps:
the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center;
the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application;
and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
9. The application configuration issuing method according to claim 8, wherein the approval subsystem, in the case of receiving a configuration issuing application initiated by the application subsystem, performs rationality verification and approval on a target configuration, the method further comprising:
the application subsystem acquires an application list from the target configuration center and displays the application list to the applicant; the application list comprises: at least one application;
the application subsystem obtains a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
10. The application configuration issuing method according to claim 8, wherein the validating and validating the target configuration by the validating subsystem in the case of receiving the configuration issuing application initiated by the application subsystem includes:
the approval subsystem issues the target configuration to a testing environment for rationality verification under the condition of receiving a configuration issuing application initiated by the application subsystem, and submits the target configuration to an auditor for secondary audit after verification is passed;
and the approval subsystem completes verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310151855.3A CN116382765A (en) | 2023-02-22 | 2023-02-22 | Application configuration release system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310151855.3A CN116382765A (en) | 2023-02-22 | 2023-02-22 | Application configuration release system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116382765A true CN116382765A (en) | 2023-07-04 |
Family
ID=86970183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310151855.3A Pending CN116382765A (en) | 2023-02-22 | 2023-02-22 | Application configuration release system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116382765A (en) |
-
2023
- 2023-02-22 CN CN202310151855.3A patent/CN116382765A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309022B (en) | Method, simulator, device and storage medium for simulating transaction test | |
CN109285069B (en) | Resource transfer method, device and server | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN110162322A (en) | A kind of upgrade method and device | |
CN112488652A (en) | Work order auditing method, system, terminal and storage medium | |
CN112561690B (en) | Method, system, equipment and storage medium for testing credit card staged service interface | |
CN113392002A (en) | Test system construction method, device, equipment and storage medium | |
CN111078527B (en) | Auxiliary system and method for pressure testing of server | |
CN112734387A (en) | Document approval method and device, electronic equipment and storage medium | |
CN110111188B (en) | Business handling method and equipment | |
CN108804307B (en) | Flow automation test method and device | |
CN111444105A (en) | Payment simulation method, system and device | |
CN116382765A (en) | Application configuration release system and method | |
CN115983991A (en) | Flow adjusting method, device, equipment and medium | |
CN112419052B (en) | Transaction testing method, device, electronic equipment and readable storage medium | |
CN115167842A (en) | Visual development method, device, system, electronic equipment and medium of business | |
CN112308622A (en) | Data processing method and device for virtual object, storage medium and electronic equipment | |
CN111737262A (en) | Data processing method and device | |
CN115687054A (en) | Self-adaptive test method and device based on service segmentation and restoration | |
CN113704123A (en) | Interface test method, device, equipment and storage medium | |
CN113609014A (en) | Interface field checking method and device, storage medium and electronic equipment | |
CN111625458A (en) | Service system testing method, device and equipment | |
CN112950138B (en) | Collaborative development state management method, device and server | |
CN116188190B (en) | Multi-batch semi-real-time reconciliation method and system for high-concurrency payment system | |
CN112598420B (en) | Online regression verification method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |