Application upgrade method and apparatus
First Claim
1. A method for upgrading a deployed application, comprising:
- receiving, by an application deployment server, an application upgrading request from a sender with the application upgrading request comprising a node template of a to-be-upgraded application, a deployed application identifier of the deployed application to be upgraded by the to-be-upgraded application, a node template identifier of a node template of the deployed application, a first platform node template identifier of a first platform node template, and a version requirement of the first platform node template required by the node template of the to-be-upgraded application;
acquiring, by the application deployment server according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier;
acquiring, by the application deployment server, a version of the first platform node indicated by the first platform node identifier, wherein the to-be-upgraded application depends on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template;
determining, by the application deployment server, that the version of the first platform node is below the version requirement of the first platform node template;
acquiring, by the application deployment server, a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-upgraded application;
upgrading, by the application deployment server, the first platform node indicated by the first platform node identifier using the first platform node upgrade package;
determining, by the application deployment server, an identifier of a to-be-upgraded application node; and
upgrading, by the application deployment server, an application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node.
0 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
-
Citations
20 Claims
-
1. A method for upgrading a deployed application, comprising:
-
receiving, by an application deployment server, an application upgrading request from a sender with the application upgrading request comprising a node template of a to-be-upgraded application, a deployed application identifier of the deployed application to be upgraded by the to-be-upgraded application, a node template identifier of a node template of the deployed application, a first platform node template identifier of a first platform node template, and a version requirement of the first platform node template required by the node template of the to-be-upgraded application; acquiring, by the application deployment server according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier; acquiring, by the application deployment server, a version of the first platform node indicated by the first platform node identifier, wherein the to-be-upgraded application depends on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template; determining, by the application deployment server, that the version of the first platform node is below the version requirement of the first platform node template; acquiring, by the application deployment server, a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-upgraded application; upgrading, by the application deployment server, the first platform node indicated by the first platform node identifier using the first platform node upgrade package; determining, by the application deployment server, an identifier of a to-be-upgraded application node; and upgrading, by the application deployment server, an application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable media storing computer instructions for upgrading an application, that when executed by one or more processors, cause the one or more processors to perform the steps of:
-
receiving an application upgrading request, with the application upgrading request comprising a node template of a to-be-upgraded application, a deployed application identifier of a deployed application to be upgraded by the to-be-upgraded application, a node template identifier of a node template of the deployed application, a first platform node template identifier of a first platform node template, and a version requirement of the first platform node template required by the node template of the to-be-upgraded application; acquiring, according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier; acquiring a version of the first platform node indicated by the first platform node identifier, wherein the to-be-upgraded application depends on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template; determining that the version of the first platform node is below the version requirement of the first platform node template; acquiring a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-upgraded application; upgrading the first platform node indicated by the first platform node identifier using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading an application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. An application deployment server, comprising:
-
a memory storing instructions; and one or more processors coupled to the memory, with the one or more processors executing the computer instructions to perform the steps of; receiving an application upgrading request, the application upgrading request comprising a node template of a to-be-upgraded application, a deployed application identifier of a deployed application to be upgraded by the to-be-upgraded application, a node template identifier of a node template of the deployed application, a first platform node template identifier of a first platform node template, and a version requirement of the first platform node template required by the node template of the to-be-upgraded application; acquiring, according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier and acquiring a version of the first platform node indicated by the first platform node identifier, wherein the to-be-upgraded application depends on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template; determining that the version of the first platform node is below the version requirement of the first platform node template; acquiring a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-upgraded application; upgrading the first platform node indicated by the first platform node identifier using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading an application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification