Following the re-work of ovirt-engine service (bug#952297), we should align the notifier service to use the same infrastructure to ease maintenance. Highlights: 1. Rename engine-notifierd to ovirt-engine-notifier to be consistent with service names of product. 2. Use conf.d convention for configuration files at /etc/ovirt-engine/notifier/notifier.conf.d/*.conf 3. Use the same service infrastructure of ovirt-engine to support sysv and systemd. 4. Eliminate duplicate parameters validation between service shell code and java code. 5. Cleanup some major issues in code structure.
notifier: switch to log4j for some reason no logs using current logger. also fix log4j.xml as it complains about format. Change-Id: I35de5d5a97ccd4f7bb80739fdb328de2e0ce6bd9 Signed-off-by: Alon Bar-Lev <alonbl>
notifier: handle port correctly 1. separate between plain and ssl ports. 2. actually set plain port. Change-Id: Ibcfa79849856dc3c2b3aaa9d0dd8652be04c788b Signed-off-by: Alon Bar-Lev <alonbl>
notifier: use LocalConfig as configuration file gives the advantage of defaults and conf.d structure. Change-Id: Iea3d8a9887d76920c51d26467c634912e64242dd Signed-off-by: Alon Bar-Lev <alonbl>
notifier: remove NotificationConfigurator as superseded by LocalConfig cleanup validations of parameters to be acquired the LocalConfig way. move most of validation to main function in more structural manner. Change-Id: I9f8ebea59fabac945b95b6422d1bfbf8a2b1d208 Signed-off-by: Alon Bar-Lev <alonbl>
notifier: move to the new service infrastructure rename service to ovirt-engine-notifier to match other services. remove redundant parameter validations in shell script as there is duplicate java logic. Change-Id: I2aadeca8b3017dad4107939c7c624ef020347b94 Signed-off-by: Alon Bar-Lev <alonbl>
What I have tested: 1. Service start/stop. 2. Unit tests pass. 3. Configuration is loaded correctly. What I have not tested: Application logic.
Verified on is5, by TCMS test case 285276
Closing - RHEV 3.3 Released