Post-plugin upgrade configuration update
New 16.2
A new client/UI feature was added which performs the following operations:
Load each channel referencing a specific custom plugin
Compare the pre-load configuration to the post-load configuration
If the configuration has changed, then
Lock the channel
Save the channel
Unlock the channel
This feature was added due to the following scenario:
A new version of an existing plugin is imported, and
The new plugin has a new configuration property which defaults to a global tag
// * the default value of the new property points to a global
private string m_NewConfigurationProperty = "{System.MessagesPerSecond}";
[DataMember]
public string NewConfigurationProperty
{
get { return m_NewConfigurationProperty; }
set
{
if (m_NewConfigurationProperty != value)
{
m_NewConfigurationProperty = value;
RaisePropertyChanged(); // you must call RaisePropertyChanged for the UI to reflect property updates
}
}
}In the preceding example, the new property will not be properly processed by the Global evaluator system until either
The channel configuration is updated and saved, or,
This new feature is executed.
The 'Load & Re-save' feature is accessed via the Plugin Manager dialog
All channels to be loaded and saved must be unlocked, or, locked by you. If any channel is locked by someone else, you will be notified and the operation cancelled.
A prompt will be displayed:
Note that this can be a ‘heavy’ operation - as (within the management application) it will fully load each channel and perform locking and saving operations. Within the Connexion service, each channel will be saved, locked and reloaded. If you have a high number of these plugins, the server will be tasked with reloading each one.