|
fwInstallation
8.4.2
|
Functions | |
| int | fwInstallationInit_execute (bool runPostInstall=true, string installationPath="") |
| bool | fwInstallationInit_isCleanupNeeded () |
| fwInstallationInit_consolidationCleanup () | |
| private bool | fwInstallationInit_consolidation_areLibsVersionsConsistent () |
| private string | fwInstallationInit_mappingObsoleteCfgLibsToString (const mapping &obsoleteConfigLibs) |
| private int | fwInstallationInit_consolidation_getObsoleteConfigLibs (string configPath, mapping &obsoleteConfigLibs) |
| private int | fwInstallationInit_consolidation_removeObsoleteConfigLibs (string configPath, const mapping &obsoleteConfigLibs) |
| private | fwInstallationInit_consolidation_getObsoletePathsToRemove (dyn_string &filesToRemove, dyn_string &dirsToRemove, dyn_string &dirsToRemoveRecursively) |
| private dyn_string | fwInstallationInit_consolidation_filterPathsExistingInProjDirs (string relativeProjPath, const dyn_string &obsoletePathsList) |
| private dyn_string | fwInstallationInit_consolidation_filterPathsExistingInDir (string absoluteDirPath, const dyn_string &relativePathsList) |
| private | fwInstallationInit_consolidation_removeObsoletePaths (const dyn_string &filesToRemove, const dyn_string &dirsToRemove, const dyn_string &dirsToRemoveRecursively) |
| private | fwInstallationInit_notifyUserAndStopManager (string uiMessage, string logMessage, string messageType="INFO", int exitCode=0) |
| private | fwInstallationInit_initPmonVariables () |
| int | fwInstallationInit_configureProjectConfigFile () |
| private int | fwInstallationInit_addInstallationToolLibToConfigSection (string section) |
| fwInstallationInit_updateComponentDps () | |
| int | fwInstallationInit_updateToolVersionInDp () |
| int | fwInstallationInit_loadInitFile () |
| int | fwInstallationInit_runInitScript () |
| int | fwInstallationInit_updateWCCOAInfo () |
| private | fwInstallationInit_configureInstallationDirectory (string installationDirectoryPath) |
| private int | fwInstallationInit_ensureInstallationDirectoryIsCreated (string installationDirectoryPath) |
| private | fwInstallationInit_ensureExistingInstallationDirectoryIsProjPath () |
| private | fwInstallationInit_addPostInstallManagerToConsole () |
| private | fwInstallationInit_addDbAgentManagerToConsole () |
| fwInstallationInit_tryDbConnection () | |
| private int | fwInstallationInit_configureDatapoints (string installationToolComponent) |
| private | fwInstallationInit_showFirstStartNotification (string installationToolComponent) |
| private dyn_string | fwInstallationInit_checkDpTypesConsistency (bool &isFirstRun, string installationToolComponent) |
| ========================== DP-types consistency checking ========================== More... | |
| private dyn_string | fwInstallationInit_getRequiredDpTypes (string installationToolComponent) |
| private dyn_string | fwInstallationInit_getMissingDpTypes (const dyn_string &requiredDpTypes) |
| private | fwInstallationInit_reportDpTypeInconsistency (const dyn_string &missingDpTypes, string installationToolComponent) |
| private dyn_string | fwInstallationInit_getNewDpTypes (string installationToolComponent) |
| private | fwInstallationInit_createDpTypes (dyn_string &dpTypesToCreate) |
| private | fwInstallationInit_getDptStruct (string dptName, dyn_dyn_string &elements, dyn_dyn_int &types) |
| private int | fwInstallationInit_checkDpTypeUpdates (mapping &dpTypeUpdateActions, string installationToolComponent) |
| private | fwInstallationInit_executeDpTypeUpdateActions (const mapping &dpTypeUpdateActions, string installationToolComponent) |
| private mapping | fwInstallationInit_checkDpsConsistency (bool isFirstRun, string installationToolComponent) |
| ========================== Datapoints consistency checking ========================== More... | |
| private mapping | fwInstallationInit_getRequiredDps (string installationToolComponent) |
| private mapping | fwInstallationInit_getMissingDps (const mapping &requiredDps) |
| private | fwInstallationInit_reportDpInconsistency (const mapping &missingDps, string installationToolComponent) |
| private dyn_string | fwInstallationInit_getNewDps (string installationToolComponent) |
| private mapping | fwInstallationInit_createDps (mapping &dpsToCreate) |
| private | fwInstallationInit_setDefaultDpValues (const mapping &dpsCreated, string installationToolComponent) |
| private | fwInstallationInit_updateDpValues (string installationToolComponent) |
| private dyn_string | fwInstallationInit_getRequiredDpTypes_tool () |
| ====================== Installation Tool DP-Types/DPs specific functions ====================== More... | |
| private dyn_string | fwInstallationInit_getNewDpTypes_tool () |
| private int | fwInstallationInit_checkDpTypeUpdates_tool (mapping &dpTypeUpdateActions) |
| private int | fwInstallationInit_checkDpTypeUpdates_Components (mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_checkDpTypeUpdates_Information (mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_executeDpTypeUpdateActions_tool (const mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_updateComponentDps_sourceFilesHashes () |
| private | fwInstallationInit_updateComponentDps_asciiImportLogSettings () |
| private dyn_string | fwInstallationInit_getNewDps_tool () |
| private | fwInstallationInit_initSourceFilesHashesIfEmpty () |
| private | fwInstallationInit_setDefault_tool (const mapping &dpsCreated) |
| private | fwInstallationInit_setDefault_asciiImportLogSettings () |
| private | fwInstallationInit_updateDpValues_tool () |
| private dyn_string | fwInstallationInit_getRequiredDpTypes_dbAgent () |
| ====================== Installation DB-Agent DP-Types/DPs specific functions ====================== More... | |
| private dyn_string | fwInstallationInit_getNewDpTypes_dbAgent () |
| private int | fwInstallationInit_checkDpTypeUpdates_dbAgent (mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_checkDpTypeUpdates_agentParametrization (mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_checkDpTypeUpdates_agentPendingRequests (mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_executeDpTypeUpdateActions_dbAgent (const mapping &dpTypeUpdateActions) |
| private | fwInstallationInit_updateAgentParametrizationDp_afterInitRestartNeeded () |
| private dyn_string | fwInstallationInit_getNewDps_dbAgent () |
| private | fwInstallationInit_setDefault_dbAgent (const mapping &dpsCreated) |
| private | fwInstallationInit_setDefault_agentParametrizationDp () |
| private | fwInstallationInit_setDefaultProtectedManagersList () |
| private | fwInstallationInit_setDefaultEnabledSynchronizationComponents () |
| private | fwInstallationInit_checkIfNewDpOrType (string newDpOrType, string versionWhereAdded, dyn_string &newDpsOrTypesList) |
| ================================== Utility functions ========================================= More... | |
| int | fwInstallationInit_createProbeDp (string dp, string dpType) |
| private bool | fwInstallationInit_dpHasElement (string dp, string element) |
| private | fwInstallationInit_getDptStruct_Information (dyn_dyn_string &ddElements, dyn_dyn_int &ddTypes) |
| ============================ DP-Types structure definition =================================== More... | |
| private | fwInstallationInit_getDptStruct_Components (dyn_dyn_string &ddElements, dyn_dyn_int &ddTypes) |
| private | fwInstallationInit_getDptStruct_PendingActions (dyn_dyn_string &ddElements, dyn_dyn_int &ddTypes) |
| private | fwInstallationInit_getDptStruct_agentParametrization (dyn_dyn_string &ddElements, dyn_dyn_int &ddTypes) |
| private | fwInstallationInit_getDptStruct_agentPendingRequests (dyn_dyn_string &ddElements, dyn_dyn_int &ddTypes) |
Variables | |
| const string | csFwInstallationInitLibVersion = "8.4.2" |
| const string | FW_INSTALLATION_INIT_SCRIPT = "fwInstallationInitScript.ctl" |
| const string | FW_INSTALLATION_INIT_TOOL_COMPONENT = "Tool" |
This file contains functions to perform actions needed to initialize installation tool. They initialize necessary global variables as well as perform upgrade of internal datapoints if needed.
| int fwInstallationInit_execute | ( | bool | runPostInstall = true, |
| string | installationPath = "" |
||
| ) |
This function needs to be called when starting Installation Tool panel or DB-Agent script
| runPostInstall | (in) Flag that specifies whether pending post-install scripts, if any, must be run during initialization, default: true (yes) |
| installationPath | (in) If not empty: Component installation path to be set, it overwrites any previously configured path and path given in init file. Directory is created and registered as project path if needed |
| bool fwInstallationInit_isCleanupNeeded | ( | ) |
This function checks whether a migration procedure has to be perfomed to upgrade fwInstallation from versions < 8.4.0 to the latest ones.
| fwInstallationInit_consolidationCleanup | ( | ) |
This function provides the migration path from the fwInstallation versions < 8.4.0 to the latest ones. It updates the fwInstallation LoadCtrlLibs config entries, removes obsolete files and restarts manager. When it is called in UI manager, user has to confirm the actions. Note: Due to the changes in the library locations, this function has to be called before fwInstallation script/panel checks the consistency of the library versions. It is because the existing old versions of libraries are already loaded via LoadCtrlLibs entry in the config file, and the new libraries, which were not present in the previous version are loaded with #uses statement.
| private bool fwInstallationInit_consolidation_areLibsVersionsConsistent | ( | ) |
For purpose of consolidation cleanup checks if version of this (fwInstallationInit.ctl) library and main library are the same
| private string fwInstallationInit_mappingObsoleteCfgLibsToString | ( | const mapping & | obsoleteConfigLibs | ) |
Creates a string from a mapping with obsolete fwInstallation config entries
| private int fwInstallationInit_consolidation_getObsoleteConfigLibs | ( | string | configPath, |
| mapping & | obsoleteConfigLibs | ||
| ) |
Creates a mapping with obsolete fwInstallation LoadCtrlLibs entries in project config file
| private int fwInstallationInit_consolidation_removeObsoleteConfigLibs | ( | string | configPath, |
| const mapping & | obsoleteConfigLibs | ||
| ) |
Removes obsolete fwInstallation entries from the project config file
| private fwInstallationInit_consolidation_getObsoletePathsToRemove | ( | dyn_string & | filesToRemove, |
| dyn_string & | dirsToRemove, | ||
| dyn_string & | dirsToRemoveRecursively | ||
| ) |
Creates lists of obsolete fwInstallation directories/files in the project
| private dyn_string fwInstallationInit_consolidation_filterPathsExistingInProjDirs | ( | string | relativeProjPath, |
| const dyn_string & | obsoletePathsList | ||
| ) |
Returns list of existing paths from given list of obsolete paths, relative the the given project-specific directory (eg. data/)
| private dyn_string fwInstallationInit_consolidation_filterPathsExistingInDir | ( | string | absoluteDirPath, |
| const dyn_string & | relativePathsList | ||
| ) |
Returns list of existing paths from given list of obsolete paths relative to the given directory
| private fwInstallationInit_consolidation_removeObsoletePaths | ( | const dyn_string & | filesToRemove, |
| const dyn_string & | dirsToRemove, | ||
| const dyn_string & | dirsToRemoveRecursively | ||
| ) |
Removes given obsolete fwInstallation directories/files from the project
| private fwInstallationInit_notifyUserAndStopManager | ( | string | uiMessage, |
| string | logMessage, | ||
| string | messageType = "INFO", |
||
| int | exitCode = 0 |
||
| ) |
Prints message to the log and in UI manager it displays pop-up informing about necessity to stop manager. Then terminates the manager with given exit code.
| private fwInstallationInit_initPmonVariables | ( | ) |
Ensure that fwInstallation global variables to store pmon credentials exist and have default values
| int fwInstallationInit_configureProjectConfigFile | ( | ) |
Adds the main Installation Tool library to the [ui] and [ctrl] section of the project config file
| private int fwInstallationInit_addInstallationToolLibToConfigSection | ( | string | section | ) |
Adds the main Installation Tool library to the given section of the project config file
| section | (in) Project config file section |
| fwInstallationInit_updateComponentDps | ( | ) |
This function updates the component name stored in name dpe in case it is different than the name included in component datapoint name
| int fwInstallationInit_updateToolVersionInDp | ( | ) |
This function updates the version of the installation tool in the internal datapoint. Tool version is taken from the fwInstallation.ctl library.
| int fwInstallationInit_loadInitFile | ( | ) |
This function imports the Installation Tool ASCII init file if it exists
| int fwInstallationInit_runInitScript | ( | ) |
This function executes the Installation Tool init script if it exists
| int fwInstallationInit_updateWCCOAInfo | ( | ) |
This function checks the WinCC OA version and patch level that runs the project and updates this information in the internal datapoint if new version/patch is detected.
| private fwInstallationInit_configureInstallationDirectory | ( | string | installationDirectoryPath | ) |
Sets the component installation path in internal datapoint and creates it if it does not exist.
| private int fwInstallationInit_ensureInstallationDirectoryIsCreated | ( | string | installationDirectoryPath | ) |
Checks if given installation directory exists and creates it if not.
| private fwInstallationInit_ensureExistingInstallationDirectoryIsProjPath | ( | ) |
If component installation path stored in internal datapoint is valid and the directory exists, add it to config proj_path if not yet there.
| private fwInstallationInit_addPostInstallManagerToConsole | ( | ) |
Add WCCOActrl manager running postinstall scripts
| private fwInstallationInit_addDbAgentManagerToConsole | ( | ) |
Add WCCOActrl manager running DB-Agent
| fwInstallationInit_tryDbConnection | ( | ) |
If configured, try to connect with Configuration and System Information database and check if schema is supported
| private int fwInstallationInit_configureDatapoints | ( | string | installationToolComponent | ) |
Checks/initializes/updates Installation Tool datapoints in the project.
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private fwInstallationInit_showFirstStartNotification | ( | string | installationToolComponent | ) |
Prints to the log information about first run of the given installation tool component
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_checkDpTypesConsistency | ( | bool & | isFirstRun, |
| string | installationToolComponent | ||
| ) |
========================== DP-types consistency checking ==========================
Checks whether all required DP-Types exists in the project and returns the list of missing ones
| isFirstRun | (out) If none of DP-Types is found it is set to true. This flag indicates a first run of the installation tool |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_getRequiredDpTypes | ( | string | installationToolComponent | ) |
Returns the list of DP-Types that are required by a given Installation Tool component
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_getMissingDpTypes | ( | const dyn_string & | requiredDpTypes | ) |
From given list of DP-Types returns the ones that are missing in the project
| requiredDpTypes | List of required DP-Types |
| private fwInstallationInit_reportDpTypeInconsistency | ( | const dyn_string & | missingDpTypes, |
| string | installationToolComponent | ||
| ) |
Prints to the log information about DP-Types that needs to be created because they are missing or because it is a first run of a new version of the Installation Tool, that adds new DP-Types
| missingDpTypes | List of necessary installation tool DP-Types that are missing in the project |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_getNewDpTypes | ( | string | installationToolComponent | ) |
In case of upgrade of the Installation Tool, it returns the list of new DP-Types added to the given component of Installation Tool, when upgrading from the previous version to the current one
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private fwInstallationInit_createDpTypes | ( | dyn_string & | dpTypesToCreate | ) |
Creates or updates DP-Types given in the list
| dpTypesToCreate | (in/out) Input: List of DP-Types to create/update Output: List of DP-Types for which creation/update failed. |
| private fwInstallationInit_getDptStruct | ( | string | dptName, |
| dyn_dyn_string & | elements, | ||
| dyn_dyn_int & | types | ||
| ) |
Returns the structure of given DP-Type name in output arguments.
| dptName | (in) DP-Type name |
| elements | (out) Array containing names of data point elements |
| types | (out) Array containing types of data point elements |
| private int fwInstallationInit_checkDpTypeUpdates | ( | mapping & | dpTypeUpdateActions, |
| string | installationToolComponent | ||
| ) |
This function checks for given Installation Tool component if DP-Type update is needed and if there are any actions that needs to be executed when updating the DP-Type. Actions are returned in a mapping output argument. Mapping keys are the DP-types that needs to be updated and values are nested mappings with key = action and values = parameters
| dpTypeUpdateActions | (out) Mapping containing needed DP-Type update actions |
| installationToolComponent | (in) Installation tool component (Tool itself or DB-Agent) |
| 0 | if check finished succesfully, -1 when failed to verify what DP-Type update actions are needed |
| private fwInstallationInit_executeDpTypeUpdateActions | ( | const mapping & | dpTypeUpdateActions, |
| string | installationToolComponent | ||
| ) |
This function for given Installation Tool component executes the necessary DP-Type update actions
| dpTypeUpdateActions | Mapping containing needed DP-Type update actions |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private mapping fwInstallationInit_checkDpsConsistency | ( | bool | isFirstRun, |
| string | installationToolComponent | ||
| ) |
========================== Datapoints consistency checking ==========================
Checks if all required DPs of given Installation Tool component exists in the project
| isFirstRun | Flag indicating whether Installation Tool is started for the first time in the project |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private mapping fwInstallationInit_getRequiredDps | ( | string | installationToolComponent | ) |
For given Installation Tool component it returns mapping with its required DPs
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private mapping fwInstallationInit_getMissingDps | ( | const mapping & | requiredDps | ) |
Checks if datapoints given in a mapping, are present in the project and reports the missing ones
| requiredDps | Mapping with required datapoints (key: DP name, value: DPT name) |
| private fwInstallationInit_reportDpInconsistency | ( | const mapping & | missingDps, |
| string | installationToolComponent | ||
| ) |
Prints to the log information about DPs that needs to be created because they are missing or because it is a first run of a new version of the Installation Tool, that adds new DPs
| missingDps | List of necessary installation tool DPs that are missing in the project |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_getNewDps | ( | string | installationToolComponent | ) |
In case of upgrade of the Installation Tool, it returns the list of new DPs added to the given component of Installation Tool, when upgrading from the previous version to the current one
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private mapping fwInstallationInit_createDps | ( | mapping & | dpsToCreate | ) |
Creates DPs given as a mapping (key: DP name, value: DPT name)
| dpsToCreate | (in/out) Mapping of datapoints to be created, on output it contains datapoints that could not be created |
| private fwInstallationInit_setDefaultDpValues | ( | const mapping & | dpsCreated, |
| string | installationToolComponent | ||
| ) |
Sets default defined DPE values to the datapoints given in a mapping This function is called once when DP(s) is/are created
| dpsCreated | Mapping of datapoints for which, the default DPE values should be set (key: DP name, value: DPT name) |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private fwInstallationInit_updateDpValues | ( | string | installationToolComponent | ) |
Updates (resets) defined DPE values for given Installation Tool component This function is called at every start of Installation Tool
| dpsCreated | Mapping of datapoints for which, the default DPE values should be set (key: DP name, value: DPT name) |
| installationToolComponent | Installation tool component (Tool itself or DB-Agent) |
| private dyn_string fwInstallationInit_getRequiredDpTypes_tool | ( | ) |
====================== Installation Tool DP-Types/DPs specific functions ======================
Returns list of DP-Types required by the Installation Tool
| private dyn_string fwInstallationInit_getNewDpTypes_tool | ( | ) |
Returns list of new DP-Types that were added since last Installation Tool version used in the project
| private int fwInstallationInit_checkDpTypeUpdates_tool | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the DP-Type change
| dpTypeUpdateActions | (out) Mapping of DP-Type update actions |
| private int fwInstallationInit_checkDpTypeUpdates_Components | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the _FwInstallationComponents DP-Type change
| private fwInstallationInit_checkDpTypeUpdates_Information | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the _FwInstallationInformation DP-Type change
| private fwInstallationInit_executeDpTypeUpdateActions_tool | ( | const mapping & | dpTypeUpdateActions | ) |
Executes given actions required due to the DP-Type change
| private fwInstallationInit_updateComponentDps_sourceFilesHashes | ( | ) |
Calculates and sets the source file hashes in case of an upgrade from version < 8.1.0
| private fwInstallationInit_updateComponentDps_asciiImportLogSettings | ( | ) |
Sets default ASCII import log settings in case of an upgrade from version < 8.5.0
| private dyn_string fwInstallationInit_getNewDps_tool | ( | ) |
Returns list of new DPs that were added since last Installation Tool version used in the project
| private fwInstallationInit_initSourceFilesHashesIfEmpty | ( | ) |
Calculates and sets the source file hashes if they are not yet calculated (can happen in upgraded redu project)
| private fwInstallationInit_setDefault_tool | ( | const mapping & | dpsCreated | ) |
Sets default DPEs values of given Installation Tool datapoints
| private fwInstallationInit_setDefault_asciiImportLogSettings | ( | ) |
Sets default values of fwInstallationInfo.asciiImportLogSettings.* DPEs
| private fwInstallationInit_updateDpValues_tool | ( | ) |
Updates (resets) values of specified Installation Tool DPEs
consider removing this function; since long time '.name' is same as the postfix of component dp name. There should not be any attempt to retrieve name from dp name instead of getting it directly from dpe
| private dyn_string fwInstallationInit_getRequiredDpTypes_dbAgent | ( | ) |
====================== Installation DB-Agent DP-Types/DPs specific functions ======================
Returns list of DP-Types required by the Installation DB-Agent
| private dyn_string fwInstallationInit_getNewDpTypes_dbAgent | ( | ) |
Returns list of new Installation DB-Agent DP-Types that were added since last Installation Tool version used in the project
| private int fwInstallationInit_checkDpTypeUpdates_dbAgent | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the DP-Type change
| dpTypeUpdateActions | (out) Mapping of DP-Type update actions |
| private fwInstallationInit_checkDpTypeUpdates_agentParametrization | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the _FwInstallation_agentParametrization DP-Type change
| private fwInstallationInit_checkDpTypeUpdates_agentPendingRequests | ( | mapping & | dpTypeUpdateActions | ) |
Checks whether it is needed to perform updates required due to the _FwInstallation_agentPendingRequests DP-Type change
| private fwInstallationInit_executeDpTypeUpdateActions_dbAgent | ( | const mapping & | dpTypeUpdateActions | ) |
Executes given actions required due to the DP-Type change
| private fwInstallationInit_updateAgentParametrizationDp_afterInitRestartNeeded | ( | ) |
Sets/updates the .postInitRestartNeeded flag and list of managers protected from stopping (.managers.protected)
| private dyn_string fwInstallationInit_getNewDps_dbAgent | ( | ) |
Returns list of new Installation DB Agent DP-Types, that were added since last Installation Tool version used in the project
| private fwInstallationInit_setDefault_dbAgent | ( | const mapping & | dpsCreated | ) |
Sets the default value to specified Installation DB Agent DPEs
| private fwInstallationInit_setDefault_agentParametrizationDp | ( | ) |
Sets the default value to specified DPEs of fwInstallation_agentParametrizationDp
| private fwInstallationInit_setDefaultProtectedManagersList | ( | ) |
Sets the default value to the list of managers protected from stopping
| private fwInstallationInit_setDefaultEnabledSynchronizationComponents | ( | ) |
Sets the default value to the list of enabled DB Agent synchronization components
| private fwInstallationInit_checkIfNewDpOrType | ( | string | newDpOrType, |
| string | versionWhereAdded, | ||
| dyn_string & | newDpsOrTypesList | ||
| ) |
================================== Utility functions =========================================
Checks if given DP-Type name or DP name is new - this is a first run of the new version of Installation Tool and the DP/DP-Type was not in the one that was previously used.
| newDpOrType | (in) DP-Type or DP name to be checked if it is new for the project |
| versionWhereAdded | (in) Installation Tool version where the DP-Type or DP was introduced |
| newDpsOrTypesList | (out) List containing new DP-Types or DP names |
| int fwInstallationInit_createProbeDp | ( | string | dp, |
| string | dpType | ||
| ) |
This function creates a probe datapoint of a given DP-type
| dp | Name of the probe datapoint |
| dpType | Name of DP-Type |
| private bool fwInstallationInit_dpHasElement | ( | string | dp, |
| string | element | ||
| ) |
Checks if datapoint has given DP-element
| dp | Datapoint name |
| element | DP-element name (beginning with dot '.') |
| private fwInstallationInit_getDptStruct_Information | ( | dyn_dyn_string & | ddElements, |
| dyn_dyn_int & | ddTypes | ||
| ) |
============================ DP-Types structure definition ===================================
Returns the structure _FwInstallation_Information datapoint type in output arguments.
| private fwInstallationInit_getDptStruct_Components | ( | dyn_dyn_string & | ddElements, |
| dyn_dyn_int & | ddTypes | ||
| ) |
Returns the structure _FwInstallation_Components datapoint type in output arguments.
| private fwInstallationInit_getDptStruct_PendingActions | ( | dyn_dyn_string & | ddElements, |
| dyn_dyn_int & | ddTypes | ||
| ) |
Returns the structure _FwInstallation_PendingActions datapoint type in output arguments.
| private fwInstallationInit_getDptStruct_agentParametrization | ( | dyn_dyn_string & | ddElements, |
| dyn_dyn_int & | ddTypes | ||
| ) |
Returns the structure _FwInstallation_agentParametrization datapoint type in output arguments.
| private fwInstallationInit_getDptStruct_agentPendingRequests | ( | dyn_dyn_string & | ddElements, |
| dyn_dyn_int & | ddTypes | ||
| ) |
Returns the structure _FwInstallation_agentPendingRequests datapoint type in output arguments.
| const string csFwInstallationInitLibVersion = "8.4.2" |
Version of this library. Used to determine the coherency of all libraries of the installation tool Please do not edit it manually
| const string FW_INSTALLATION_INIT_SCRIPT = "fwInstallationInitScript.ctl" |
Name of the init file loaded at start up of the tool.
| const string FW_INSTALLATION_INIT_TOOL_COMPONENT = "Tool" |
Installation Tool Components: main Tool and DB-Agent
1.8.5