pipely 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pipely/live_pipeline.rb +10 -4
- data/lib/pipely/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f76f0852a53f6da5311f1c7583103fa9528df97f
|
4
|
+
data.tar.gz: b7d017cf685697be1c3797144cd48bd7f9d5b237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3f109976a467641e3499661a712607366a621aafdc1c6f67c09fbddbf49cf56cf1782d1434fabe75b4c20b6290a41b88544c324c081485a48647fdcec0dc369
|
7
|
+
data.tar.gz: 1a7bf4e634e356f9f34c3bfcb32ed2d7d9303341f17b17d65155f6166381e621b23351467a85b21668195053532767ad54ad1da03c93bd9474f1e1e1a8458bd6
|
data/lib/pipely/live_pipeline.rb
CHANGED
@@ -4,6 +4,7 @@ module Pipely
|
|
4
4
|
|
5
5
|
# Represent a pipeline that has been deployed to AWS DataPipeline
|
6
6
|
class LivePipeline
|
7
|
+
attr_reader :pipeline_id
|
7
8
|
|
8
9
|
def initialize(pipeline_id)
|
9
10
|
@pipeline_id = pipeline_id
|
@@ -84,25 +85,30 @@ module Pipely
|
|
84
85
|
end
|
85
86
|
|
86
87
|
def all_instances
|
87
|
-
result = {}
|
88
88
|
pipeline_objects = []
|
89
|
+
marker = nil
|
89
90
|
|
90
91
|
begin
|
91
92
|
result = data_pipeline.query_objects(
|
92
93
|
pipeline_id: pipeline_id,
|
93
94
|
sphere: "INSTANCE",
|
94
|
-
marker:
|
95
|
+
marker: marker,
|
95
96
|
)
|
96
97
|
|
98
|
+
marker = result.marker
|
99
|
+
|
97
100
|
instance_details = data_pipeline.describe_objects(
|
98
101
|
pipeline_id: pipeline_id,
|
99
102
|
object_ids: result.ids
|
100
103
|
)
|
101
104
|
|
102
|
-
data_pipeline.describe_objects(
|
105
|
+
data_pipeline.describe_objects(
|
106
|
+
pipeline_id: pipeline_id,
|
107
|
+
object_ids: result.ids
|
108
|
+
)
|
103
109
|
pipeline_objects += instance_details.pipeline_objects
|
104
110
|
|
105
|
-
end while (result.has_more_results &&
|
111
|
+
end while (result.has_more_results && marker)
|
106
112
|
|
107
113
|
pipeline_objects
|
108
114
|
end
|
data/lib/pipely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Gillooly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-graphviz
|
@@ -331,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
331
331
|
version: '0'
|
332
332
|
requirements: []
|
333
333
|
rubyforge_project:
|
334
|
-
rubygems_version: 2.
|
334
|
+
rubygems_version: 2.2.2
|
335
335
|
signing_key:
|
336
336
|
specification_version: 4
|
337
337
|
summary: Generate dependency graphs from pipeline definitions.
|