Class: ForestLiana::WorkflowExecutionsController
Constant Summary
collapse
%w[Authorization Cookie].freeze
- UPSTREAM_TIMEOUT_IN_SECONDS =
10
- UPSTREAM_ERRORS =
[
HTTParty::Error,
SocketError,
Errno::ECONNREFUSED,
Net::OpenTimeout,
Net::ReadTimeout,
Timeout::Error
].freeze
Instance Method Summary
collapse
#authenticate_user_from_jwt, #deactivate_count_response, #forest_user, #get_collection, #internal_server_error, papertrail?, #serialize_model, #serialize_models
#route_not_found
Instance Method Details
#show ⇒ Object
16
17
18
|
# File 'app/controllers/forest_liana/workflow_executions_controller.rb', line 16
def show
forward_to_executor(method: :get, suffix: '')
end
|
#trigger ⇒ Object
20
21
22
|
# File 'app/controllers/forest_liana/workflow_executions_controller.rb', line 20
def trigger
forward_to_executor(method: :post, suffix: '/trigger')
end
|