Class: QaServer::CheckStatusController

Inherits:
AuthorityValidationController show all
Defined in:
app/controllers/qa_server/check_status_controller.rb

Constant Summary collapse

ALL_AUTHORITIES =
'__all__'

Constants inherited from AuthorityValidationController

AuthorityValidationController::ALL_VALIDATIONS, AuthorityValidationController::DEFAULT_VALIDATION_TYPE, AuthorityValidationController::VALIDATE_ACCURACY, AuthorityValidationController::VALIDATE_CONNECTIONS, AuthorityValidationController::VALIDATION_TYPE_PARAM

Instance Method Summary collapse

Instance Method Details

#indexObject

Sets up presenter with data to display in the UI



11
12
13
14
15
16
# File 'app/controllers/qa_server/check_status_controller.rb', line 11

def index
  validate(authorities_to_validate, validation_type)
  @presenter = presenter_class.new(authorities_list: authorities_list,
                                   connection_status_data: connection_status_data_from_log,
                                   accuracy_status_data: accuracy_status_data_from_log)
end