13. Notification Interface¶
RepoPro is designed to send notifications via email whenever parameter values are updated at the Instance level. This is achieved by using a plugin interface.
13.1. Interface Methods¶
Using the below interface methods, Plugin developer can implement the plugin to notify the users when there is a change in the parameter value at the asset instance level.
Interface Methods | Description |
---|---|
notifyOnParameterValueChanges | If any of the parameters are changed at instance level, notification is sent to users provided by the plugin. |
notifyOnParameterValueChangesBasedOnOtherParameter | If any of the parameters is updated, a notification is sent to the users provided by the plugin based on the dependent parameter value. |
13.2. Interface Notification¶
Updating the below fields in properties file, notifications can be enabled and disabled accordingly.
To enable a notification:
Add the below fields in RepoPro.properties file
customParameterNotification.plugin.class = [Fully qualified class name]
customParameter.plugin.path = [Path of the notification jar file]
To disable a notification:
Remove the below in RepoPro.properties file
customParameterNotification.plugin.class = [Fully qualified class name]
customParameter.plugin.path = [Path of the notification jar file]