2017-11-02 06:14:10 -04:00
|
|
|
class ClusterInstallAppWorker
|
2017-11-28 11:08:30 -05:00
|
|
|
include ApplicationWorker
|
2017-11-02 06:14:10 -04:00
|
|
|
include ClusterQueue
|
2017-11-02 13:55:02 -04:00
|
|
|
include ClusterApplications
|
2017-11-02 06:14:10 -04:00
|
|
|
|
|
|
|
def perform(app_name, app_id)
|
2017-11-02 13:55:02 -04:00
|
|
|
find_application(app_name, app_id) do |app|
|
|
|
|
Clusters::Applications::InstallService.new(app).execute
|
2017-11-02 06:14:10 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|