Sha256: 87f712011ed9f6b9f6df595da630c65ad37a105a00f26bd03e49709992088034

Contents?: true

Size: 244 Bytes

Versions: 36

Compression:

Stored size: 244 Bytes

Contents

module InsightsCloud
  class TasksController < ::ApplicationController
    def create
      task = ForemanTasks.async_task(InsightsCloud::Async::InsightsFullSync)

      render json: {
        task: task,
      }, status: :ok
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-3.0.33 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.35 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.35 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.34 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.33 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-3.0.32 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.32 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.32 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.31 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.31 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.30 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.30 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-3.0.29 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.29 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.29 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-3.0.28 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-5.0.28 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-4.0.27 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-3.0.26 app/controllers/insights_cloud/tasks_controller.rb