主权项 |
1. A method comprising:
providing, in an application server communicatively connected to a communication network, a first version of an application service by executing a first plurality of compiled code files associated with the application service and stored by the application server, the first plurality of compiled code files including a first compiled code file and a second compiled code file; receiving, in the application server, a replacement compiled code file corresponding to a second version of the application service for the first compiled code file; in response to the receiving of the replacement compiled code file, performing the steps of:
archiving the first compiled code file in a local repository, local to and stored by the application server;replacing the first compiled code file of the first plurality of compiled code files with the received replacement compiled code file to generate a second plurality of compiled code files including the replacement compiled code file and the second compiled code file;andproviding, in the application server, the second version of the application service by executing the second plurality of compiled code files;receiving, in the application server, identification of a third compiled code file included in the first plurality of compiled code files that is not needed to provide the second version of the application service;in response to receiving the identification of the third compiled code file, performing the steps of:
archiving the third compiled code file in the local repository; andremoving the third compiled code file from the first plurality of compiled code files to generate a third plurality of compiled code files for the second version of the application service; andproviding the second version of the application service by executing the third plurality of compiled code files;in response to receiving a rollback command in the application server, performing the steps of:
copying the third compiled code file from the local repository to the third plurality of compiled code files to generate a fourth plurality of compiled code files that include the third compiled code file, andproviding, in the application server, a rolled-back first version of the application service by executing the forth plurality of compiled code files including the third compiled code file retrieved from the local repository. |