Improving validation step (BUGZ-4238)
- Split validate into two methods - one purely for configuration validation, and the other for config, time and cert as part of startup validation - this is for transparency as
arcctl config verifytoday also contains time and cert checks which is not obvious for the user-
arcctl config verifywhich calls the new method validate_config() in Validator.py - which only callsvalidate_configuration -
arcctl startup verifyis a new control that calls validate_startup which has the same behaviour as the old validate() method, callingvalidate_configuration(),validate_time()andvalidate_certificates()).
-
- For the certificate check - remove --check option as this might take too long in some situations. The important for the validation is just to check that the file is not corrupted, and then --check is not needed