Open androklis opened 7 years ago
There are many factors that can result in an invalid configuration file. The first thing the program can do is to try to recover by supplying a default value (e.g. Timeout contains letters instead of digits). At the same time a warning is displayed.
If a problem is detected during processing of an individual service then the error is displayed: ERROR: service with id 23 has an invalid configuration. Skipping service 23.
If there is an unrecoverable error then the program stops and informs user
I think this is the best we can do now. One day we will implement a nice UI for configuration file!!! But this will be in the paid version of service watcher. One potential issue that we might have in the future is to introduce so many parameters and configuration options that it will be impossible to create a decent configuration file from scratch unless you have a 35 pages manual or you have a PHD.
Or if someone has Oracle Service Watcher certification
I haven't thought of that. Coming soon....
The infamous OSWC!
Another one acronym to remember
In case of an invalid conf file, SW terminates. We could implement the following:
I have tested the above implementations and everything worked fine.
What happens for multiple config files?