lib/gooddata/models/process.rb in gooddata-0.6.53 vs lib/gooddata/models/process.rb in gooddata-0.6.54

- old
+ new

@@ -123,9 +123,13 @@ client.put("/gdc/projects/#{project.pid}/dataload/processes/#{process_id}", data) end File.delete(deployed_path) if File.exist?(deployed_path) + if res['asyncTask'] + res = client.poll_on_response(res['asyncTask']['links']['poll']) { |body| body['asyncTask'] } + end + process = client.create(Process, res, project: project) puts HighLine.color("Deploy DONE #{path}", HighLine::GREEN) if verbose process end