aw_datapipe 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/README.md +5 -1
- data/aw_datapipe.gemspec +0 -1
- data/lib/aw_datapipe/pipeline_object.rb +2 -1
- data/lib/aw_datapipe/pipeline_serializer.rb +2 -1
- data/lib/aw_datapipe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c983384c36d63b6a8cacc019d757a34159e18202
|
4
|
+
data.tar.gz: b5af0af6d9157e7083a9645cf547d3cf974d66a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc704568621731f24931f5ace8d66144ec4ee3009e5633543c59b499022b8510e76f36ec5d7d518e414a9cc60739b75480b173fbacf6944939825294542db962
|
7
|
+
data.tar.gz: 4dac32dfe96dfa8ba2dce0246c446cf6f85215cfc134d18d6a056606f3de25edca592af16c1866d789ff7ebcebc93560b69660ed6b25007b7df95a6f147e5129
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
## TODO
|
4
|
-
-
|
4
|
+
- Updating.
|
5
|
+
- http://stackoverflow.com/questions/31188739/how-to-automate-the-updating-editing-of-amazon-data-pipeline
|
6
|
+
- http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-manage-pipeline-modify-console.html
|
7
|
+
- Add DSL using clean room.
|
5
8
|
- Add Thor based utility instead of console for downloads.
|
6
9
|
- Generate separate SQL script files.
|
7
10
|
- Codecov.
|
@@ -9,7 +12,11 @@
|
|
9
12
|
- Rubydocs.
|
10
13
|
- AWS labs examples converted to DSL.
|
11
14
|
|
12
|
-
## 0.2.
|
15
|
+
## 0.2.1 - 2017-05-16
|
16
|
+
- Allow either S3 directory\_path or file\_path.
|
17
|
+
- Add ShellCommandActivity.
|
18
|
+
|
19
|
+
## 0.2.0 - 2017-05-06
|
13
20
|
- [FIX] Handle array values, e.g. 'securityGroups' => ['group1', 'group2']
|
14
21
|
- Separate SourceWriter class.
|
15
22
|
- Simplify build vs. new.
|
data/README.md
CHANGED
@@ -50,12 +50,16 @@ A live AWS account with a sample pipeline is required to run the remote tests.
|
|
50
50
|
|
51
51
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
52
52
|
|
53
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
53
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
54
54
|
|
55
55
|
## Contributing
|
56
56
|
|
57
57
|
Bug reports and pull requests are welcome on GitHub at https://github.com/varyonic/aw_datapipe.
|
58
58
|
|
59
|
+
## Releasing
|
60
|
+
|
61
|
+
To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
62
|
+
|
59
63
|
## License
|
60
64
|
|
61
65
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/aw_datapipe.gemspec
CHANGED
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = "Unofficial ruby wrapper for the AWS SDK Data Pipeline API."
|
13
13
|
spec.description = "Unofficial domain specific ruby wrapper for the AWS SDK Data Pipeline API."
|
14
14
|
spec.homepage = "http://github.com/varyonic/aw_datapipe"
|
15
|
-
spec.date = "2017-05-02"
|
16
15
|
spec.license = "MIT"
|
17
16
|
|
18
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -60,7 +60,8 @@ module AwDatapipe
|
|
60
60
|
Schedule = PipelineObject.new(:period, :start_date_time)
|
61
61
|
|
62
62
|
Ec2Resource = PipelineObject.new(:action_on_task_failure, :instance_type, :security_group_ids, :subnet_id, :terminate_after)
|
63
|
-
S3DataNode = PipelineObject.new(:directory_path)
|
63
|
+
S3DataNode = PipelineObject.new(:directory_path, :file_path)
|
64
|
+
ShellCommandActivity = PipelineObject.new(:command, :input, :output, :stage, :runs_on)
|
64
65
|
|
65
66
|
JdbcDatabase = PipelineObject.new(:_password, :connection_string, :jdbc_driver_class, :username)
|
66
67
|
SqlDataNode = PipelineObject.new(:database, :select_query, :table)
|
@@ -80,10 +80,11 @@ module AwDatapipe
|
|
80
80
|
{ key: camelized_key, ref_value: camelize(value.id) }
|
81
81
|
when Array
|
82
82
|
value.map { |v| Hash[key: camelized_key, string_value: v] }
|
83
|
+
when NilClass
|
83
84
|
else
|
84
85
|
{ key: camelized_key, string_value: value }
|
85
86
|
end
|
86
|
-
end.flatten
|
87
|
+
end.flatten.compact
|
87
88
|
end
|
88
89
|
|
89
90
|
# Convert string to a rubyish variable name.
|
data/lib/aw_datapipe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aw_datapipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piers Chambers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|