You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show error message if reading config file fails (#171)
* NullPointerException thrown when drmHandle is null in readConfigurationFile.
MonitoringConfiguration constructor removed
* Code clean up: unnecessary constructor removed from AmIMonitoringService and getInstance() method removed form MonitoringConfiguration.
* error message logged when config file does not exist for given location and fileName.
* minor change with file path in default getInstance() method.
* getInstance() method in MonitoringConfiguration takes default file path when not specified.
* NullPointerException thrown when drmHandle is null in readConfigurationFile.
MonitoringConfiguration constructor removed
* Code clean up: unnecessary constructor removed from AmIMonitoringService and getInstance() method removed form MonitoringConfiguration.
* error message logged when config file does not exist for given location and fileName.
* minor change with file path in default getInstance() method.
* getInstance() method in MonitoringConfiguration takes default file path when not specified.
* applied patch for resolving logging issue
* readConfigurationFileTest() is added
and some code cleanup
* suggestions applied
* replacing workaround code for getting config file path with ContextPathUtils.getConfigDir()
* Apply patch for: fix_silently_failing_test_TestMonitoringService
* suggestions applied
* suggestions applied
Co-authored-by: Sebastian Scholze <4063307+schlotze@users.noreply.github.com>
Copy file name to clipboardexpand all lines: context-core/src/main/java/org/eclipse/opensmartclide/pm2/common/io/POKindCoreServiceMonitoringConfAMsImpl.java
Copy file name to clipboardexpand all lines: context-monitoring/src/main/java/org/eclipse/opensmartclide/context/monitoring/config/MonitoringConfiguration.java
Copy file name to clipboardexpand all lines: context-monitoring/src/test/java/org/eclipse/opensmartclide/context/monitoring/config/TestMonitoringConfiguration.java
Copy file name to clipboardexpand all lines: context-monitoring/src/test/java/org/eclipse/opensmartclide/context/monitoring/monitors/file/TestFilePairSystemMonitor.java
Copy file name to clipboardexpand all lines: context-monitoring/src/test/java/org/eclipse/opensmartclide/context/services/TestMonitoringDataRepositoryService.java
0 commit comments