lib/gooddata/lcm/actions/create_segment_masters.rb in gooddata-0.6.52 vs lib/gooddata/lcm/actions/create_segment_masters.rb in gooddata-0.6.53
- old
+ new
@@ -53,10 +53,11 @@
synchronize_projects = segments.map do |segment_in| # rubocop:disable Metrics/BlockLength
segment_id = segment_in.segment_id
development_pid = segment_in.development_pid
driver = segment_in.driver.downcase
token = params.tokens[driver.to_sym] || fail("Token for driver '#{driver}' was not specified")
+ ads_output_stage_uri = segment_in.ads_output_stage_uri
# Create master project Postgres
version = get_project_version(params, segment_id) + 1
master_name = segment_in.master_name.gsub('#{version}', version.to_s)
@@ -110,17 +111,19 @@
results << {
segment_id: segment_id,
name: master_name,
development_pid: development_pid,
master_pid: project.pid,
+ ads_output_stage_uri: ads_output_stage_uri,
driver: driver,
status: status
}
{
segment: segment_id,
from: development_pid,
- to: [{ pid: project.pid }]
+ to: [{ pid: project.pid }],
+ ads_output_stage_uri: ads_output_stage_uri
}
end
# Return results
{