The Controller should implement a mechanism of updating an application instance to the newer version in case that a suitable update package is available. APS supports two types of application updates: patch and upgrade. Generally speaking, the difference is that patching supposes unattended instance update, while upgrading brings more serious changes to the instance and may require the user attendance. Application patch and upgrade are defined in detail by the Specification in section 5.1.15. Updates. Distinguishing patches and upgrades was made with the purpose to facilitate implementation of the Controller update function. Depending on what kind of update is required - patch or upgrade - the Controller behavior slightly differs.
Updating an application instance supposes that the Controller performs the following two steps:
Further in the chapter, we describe what's specific in the Controller implementation about patching and upgrading instances. In case when some information concerns both, we use the terms update and updating.