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__'

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



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

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)
end