Class: QaServer::AuthorityValidatorService
- Inherits:
-
Object
- Object
- QaServer::AuthorityValidatorService
- Defined in:
- app/services/qa_server/authority_validator_service.rb
Constant Summary collapse
- VALIDATE_CONNECTIONS =
validator_class::VALIDATE_CONNECTION
- VALIDATE_ACCURACY =
validator_class::VALIDATE_ACCURACY
- VALIDATE_ACCURACY_COMPARISON =
validator_class::VALIDATE_ACCURACY_COMPARISON
- ALL_VALIDATIONS =
validator_class::ALL_VALIDATIONS
- DEFAULT_VALIDATION_TYPE =
validator_class::DEFAULT_VALIDATION_TYPE
Class Method Summary collapse
-
.run(authority_name:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) ⇒ Object
Run the set of validation scenarios for an authority logging the results.
Class Method Details
.run(authority_name:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) ⇒ Object
Run the set of validation scenarios for an authority logging the results
25 26 27 28 29 30 |
# File 'app/services/qa_server/authority_validator_service.rb', line 25 def self.run(authority_name:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) scenarios = scenarios_loader_class.load(authority_name: , status_log: status_log) return if scenarios.blank? run_terms(scenarios, status_log, validation_type) run_searches(scenarios, status_log, validation_type) end |