gd_bam 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/bam +2 -2
- data/lib/bam/version.rb +1 -1
- data/lib/nodes/clover_gen.rb +2 -5
- metadata +3 -3
data/bin/bam
CHANGED
@@ -195,7 +195,7 @@ command :project do |c|
|
|
195
195
|
state = result["taskState"]["status"]
|
196
196
|
end
|
197
197
|
GoodData.post "/gdc/projects/#{new_project.obj_id}/eventStore/stores", {:store => {:storeId => "es_0"}}
|
198
|
-
puts "Your project
|
198
|
+
puts "Your project pid is #{new_project.obj_id}"
|
199
199
|
|
200
200
|
end
|
201
201
|
|
@@ -337,4 +337,4 @@ on_error do |exception|
|
|
337
337
|
true
|
338
338
|
end
|
339
339
|
|
340
|
-
exit run(ARGV)
|
340
|
+
exit run(ARGV)
|
data/lib/bam/version.rb
CHANGED
data/lib/nodes/clover_gen.rb
CHANGED
@@ -669,7 +669,6 @@ HEREDOC
|
|
669
669
|
end
|
670
670
|
|
671
671
|
def self.build_gd_dataset_loader_json(dataset)
|
672
|
-
# binding.pry
|
673
672
|
{
|
674
673
|
:gd_dataset => {
|
675
674
|
:attributes => dataset[:fields].find_all {|d| d[:type] == "attribute" || d[:type] == "connection_point"}.map do |attribute|
|
@@ -1096,7 +1095,6 @@ HEREDOC
|
|
1096
1095
|
:populates => e.to_extract_fragment('pid')["readTask"]["readMap"].first[:populates]
|
1097
1096
|
}
|
1098
1097
|
|
1099
|
-
# binding.pry
|
1100
1098
|
build_node2(builder, GoodData::CloverGenerator::Nodes.es_reader2({:name => "#{file} ES Reader", :id => "#{file}_es", :entityFieldsMapping => stuff.to_json , :readMap => readmap.to_json}))
|
1101
1099
|
build_node2(builder, GoodData::CloverGenerator::Nodes.copy2({:name => "#{file} copy", :id => "#{file}_copy"}))
|
1102
1100
|
build_node2(builder, GoodData::CloverGenerator::Nodes.edge2({:toNode => "#{file}_copy:0", :fromNode => "#{file}_es:0", :metadata => "#{file}_es_metadata", :id => get_id()}))
|
@@ -1113,7 +1111,7 @@ HEREDOC
|
|
1113
1111
|
def self.create_incremental_downloading_graph(file, sources, options={})
|
1114
1112
|
metadata = options[:metadata]
|
1115
1113
|
store = options[:store] || "${GDC_EVENTSTORE}"
|
1116
|
-
|
1114
|
+
s3_backup = true && options[:s3_backup]
|
1117
1115
|
|
1118
1116
|
merged_sources = sources.reduce([]) do |memo, source|
|
1119
1117
|
merged_source = memo.find {|s| s[:object] == source[:object]}
|
@@ -1192,8 +1190,7 @@ HEREDOC
|
|
1192
1190
|
module_name = mod[:object]
|
1193
1191
|
file = mod[:id] || module_name
|
1194
1192
|
dataset = file || module_name
|
1195
|
-
|
1196
|
-
|
1193
|
+
|
1197
1194
|
|
1198
1195
|
builder.Phase(:number => phase += 1) do
|
1199
1196
|
build_node2(builder, GoodData::CloverGenerator::Nodes.es_truncate2({:guiName => dataset, :store => store, :entity => dataset, :timestamp => "${#{dataset}_TRUNCATE_DATE}", :name => "#{module_name} es truncate", :id => "#{module_name}_es_truncate"}))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gd_bam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -397,7 +397,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
397
397
|
version: '0'
|
398
398
|
segments:
|
399
399
|
- 0
|
400
|
-
hash:
|
400
|
+
hash: -223004513366541779
|
401
401
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
402
402
|
none: false
|
403
403
|
requirements:
|
@@ -406,7 +406,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
406
406
|
version: '0'
|
407
407
|
segments:
|
408
408
|
- 0
|
409
|
-
hash:
|
409
|
+
hash: -223004513366541779
|
410
410
|
requirements: []
|
411
411
|
rubyforge_project:
|
412
412
|
rubygems_version: 1.8.25
|