Class: QaServer::CheckStatusController

Inherits:
ApplicationController
  • Object
show all
Includes:
AuthorityValidationBehavior
Defined in:
app/controllers/qa_server/check_status_controller.rb

Constant Summary collapse

ALL_AUTHORITIES =
'__all__'
VALIDATE_ACCURACY_COMPARISON =
:accuracy_comparison

Constants included from AuthorityValidationBehavior

AuthorityValidationBehavior::ALL_VALIDATIONS, AuthorityValidationBehavior::VALIDATE_ACCURACY, AuthorityValidationBehavior::VALIDATE_CONNECTIONS, AuthorityValidationBehavior::VALIDATION_TYPE_PARAM

Instance Method Summary collapse

Instance Method Details

#indexObject

Sets up presenter with data to display in the UI



16
17
18
19
20
21
22
23
# File 'app/controllers/qa_server/check_status_controller.rb', line 16

def index
  log_header
  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,
                                   comparison_status_data: comparison_status_data_from_log)
end