Upgrade Service Module

======================

Install & Configuration

Required


###How to Install * Download and unzip the "UpgradeService" module in "MasterInstall/modules/seat/" folder.


###Variables The following bulit-in variables are provided to all scripts. These variables can be accesses and used by any of the scripts.

Provided Variable Name Of Type
workbenchApp WorkbenchApp
gui WorkbenchGui
module Module
warnings ArrayList<String>
criticals ArrayList<String>

workbenchApp - This is a WorkbenchApp object.

gui - This is a WorkbenchGui object. This Gui component can be used for any gui purposes.

module - This is the Module object.

warnings - Add warning messages to this arraylist. All warning messages will be shown in a warning message pop-up gui.

criticals - Add critical/fatal messages to this arraylist. All critial messages will be shown in a critical message pop-up gui.


###Configuration The following configurations will be performed by the developers and no action is needed by the production personnel. On the other hand, the developers must complete these configurations, as appropriate, for the successfull running of this module.

Important: The "ReleaseNumber" folder must be of "x.x.x.x" format where "x" represents integer number. This is to be able to run the scripts based on increasing order of the releases. This means all scripts under "4.4.10.2" will be run prior to all scripts belongs to "4.4.10.4".


###Run Location The "UpgradeService" module runs in the workbench launch by "MasterInstall/os/windows/programs/Workbench.bat" file. It runs within "MasterInstall" and the module files located under "MasterInstall/modules/seat/" folder.


###Script configuration examples

Pre upgrade diagnostic

Figure #1: Pre upgrade diagnostic scripts within the "4.4.10.4/Inspection" folder
will be run after it runs scripts in the 4.4.10 and 4.4.10.0 folder.

Pre upgrade Fixit

Figure #2: Pre upgrade diagnostic scripts. It maintains
the point releases' lower-to-higher sort order to run the scripts.

Post upgrade diagnostic

Figure #3: Post upgrade diagnostic and fixit folders

Post upgrade diagnostic

Figure #4: Post upgrade diagnostic scripts