hyperflow-amqp-executor 1.0.0 → 1.0.1.pre
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/Gemfile +2 -4
- data/Gemfile.lock +102 -37
- data/VERSION +1 -1
- data/example/settings.yml +10 -9
- data/hyperflow-amqp-executor.gemspec +10 -8
- data/lib/hyperflow-amqp-executor/gridftp_storage.rb +0 -1
- data/lib/hyperflow-amqp-executor/settings.rb +2 -0
- metadata +20 -7
- data/example/task.json +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 250d783db96d49b108b75e9de00657ddaa77ae6e
|
4
|
+
data.tar.gz: 47ce4eebc10725cffeef2197242aa47e80e93ec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5312d1671a2aadfa01624efbe0a5f9b6a2ab085385e43b60b274e87f8de71ba59086a90365165a3e4b87e715f4fe2e528317e42e5866e438c82c6f07219cea2
|
7
|
+
data.tar.gz: 360968450a77ec7642d3499a9bdd08a6ea7c580b4d0e8685fc1e9b31c27d36a46d4115649a56654a98ce1fda2589aca89938f606183f06b136715487c8490134
|
data/Gemfile
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
gem 'fog', "~> 1.18"
|
3
|
+
gem 'fog', "~> 1.30"
|
4
|
+
gem 'fog-aws', "~> 0.2"
|
7
5
|
gem 'unf', "~> 0.1" # for AWS fog
|
8
6
|
gem 'recursive-open-struct', "~> 0.4"
|
9
7
|
gem 'amqp', "~> 1.1"
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
+
CFPropertyList (2.3.1)
|
4
5
|
activesupport (4.2.1)
|
5
6
|
i18n (~> 0.7)
|
6
7
|
json (~> 1.7, >= 1.7.7)
|
7
8
|
minitest (~> 5.1)
|
8
9
|
thread_safe (~> 0.3, >= 0.3.4)
|
9
10
|
tzinfo (~> 1.1)
|
10
|
-
addressable (2.3.8)
|
11
11
|
amq-protocol (1.9.2)
|
12
12
|
amqp (1.5.0)
|
13
13
|
amq-protocol (>= 1.9.2)
|
@@ -16,69 +16,133 @@ GEM
|
|
16
16
|
coderay (1.1.0)
|
17
17
|
deep_merge (1.0.1)
|
18
18
|
eventmachine (1.0.7)
|
19
|
-
excon (0.
|
20
|
-
|
21
|
-
|
22
|
-
fog (1.
|
19
|
+
excon (0.45.3)
|
20
|
+
fission (0.5.0)
|
21
|
+
CFPropertyList (~> 2.2)
|
22
|
+
fog (1.30.0)
|
23
|
+
fog-atmos
|
24
|
+
fog-aws (~> 0.0)
|
25
|
+
fog-brightbox (~> 0.4)
|
26
|
+
fog-core (~> 1.27, >= 1.27.4)
|
27
|
+
fog-ecloud
|
28
|
+
fog-google (>= 0.0.2)
|
29
|
+
fog-json
|
30
|
+
fog-local
|
31
|
+
fog-powerdns (>= 0.1.1)
|
32
|
+
fog-profitbricks
|
33
|
+
fog-radosgw (>= 0.0.2)
|
34
|
+
fog-riakcs
|
35
|
+
fog-sakuracloud (>= 0.0.4)
|
36
|
+
fog-serverlove
|
37
|
+
fog-softlayer
|
38
|
+
fog-storm_on_demand
|
39
|
+
fog-terremark
|
40
|
+
fog-vmfusion
|
41
|
+
fog-voxel
|
42
|
+
fog-xml (~> 0.1.1)
|
43
|
+
ipaddress (~> 0.5)
|
44
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
45
|
+
fog-atmos (0.1.0)
|
46
|
+
fog-core
|
47
|
+
fog-xml
|
48
|
+
fog-aws (0.2.2)
|
49
|
+
fog-core (~> 1.27)
|
50
|
+
fog-json (~> 1.0)
|
51
|
+
fog-xml (~> 0.1)
|
52
|
+
ipaddress (~> 0.8)
|
53
|
+
fog-brightbox (0.7.1)
|
54
|
+
fog-core (~> 1.22)
|
55
|
+
fog-json
|
56
|
+
inflecto (~> 0.0.2)
|
57
|
+
fog-core (1.30.0)
|
23
58
|
builder
|
24
|
-
excon (~> 0.
|
25
|
-
formatador (~> 0.2
|
59
|
+
excon (~> 0.45)
|
60
|
+
formatador (~> 0.2)
|
26
61
|
mime-types
|
27
|
-
multi_json (~> 1.0)
|
28
62
|
net-scp (~> 1.1)
|
29
63
|
net-ssh (>= 2.1.3)
|
30
|
-
|
31
|
-
|
64
|
+
fog-ecloud (0.1.1)
|
65
|
+
fog-core
|
66
|
+
fog-xml
|
67
|
+
fog-google (0.0.5)
|
68
|
+
fog-core
|
69
|
+
fog-json
|
70
|
+
fog-xml
|
71
|
+
fog-json (1.0.1)
|
72
|
+
fog-core (~> 1.0)
|
73
|
+
multi_json (~> 1.0)
|
74
|
+
fog-local (0.2.1)
|
75
|
+
fog-core (~> 1.27)
|
76
|
+
fog-powerdns (0.1.1)
|
77
|
+
fog-core (~> 1.27)
|
78
|
+
fog-json (~> 1.0)
|
79
|
+
fog-xml (~> 0.1)
|
80
|
+
fog-profitbricks (0.0.2)
|
81
|
+
fog-core
|
82
|
+
fog-xml
|
83
|
+
nokogiri
|
84
|
+
fog-radosgw (0.0.4)
|
85
|
+
fog-core (>= 1.21.0)
|
86
|
+
fog-json
|
87
|
+
fog-xml (>= 0.0.1)
|
88
|
+
fog-riakcs (0.1.0)
|
89
|
+
fog-core
|
90
|
+
fog-json
|
91
|
+
fog-xml
|
92
|
+
fog-sakuracloud (1.0.1)
|
93
|
+
fog-core
|
94
|
+
fog-json
|
95
|
+
fog-serverlove (0.1.2)
|
96
|
+
fog-core
|
97
|
+
fog-json
|
98
|
+
fog-softlayer (0.4.6)
|
99
|
+
fog-core
|
100
|
+
fog-json
|
101
|
+
fog-storm_on_demand (0.1.1)
|
102
|
+
fog-core
|
103
|
+
fog-json
|
104
|
+
fog-terremark (0.1.0)
|
105
|
+
fog-core
|
106
|
+
fog-xml
|
107
|
+
fog-vmfusion (0.1.0)
|
108
|
+
fission
|
109
|
+
fog-core
|
110
|
+
fog-voxel (0.1.0)
|
111
|
+
fog-core
|
112
|
+
fog-xml
|
113
|
+
fog-xml (0.1.1)
|
114
|
+
fog-core
|
115
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
32
116
|
formatador (0.2.5)
|
33
117
|
git (1.2.9.1)
|
34
|
-
github_api (0.10.1)
|
35
|
-
addressable
|
36
|
-
faraday (~> 0.8.1)
|
37
|
-
hashie (>= 1.2)
|
38
|
-
multi_json (~> 1.4)
|
39
|
-
nokogiri (~> 1.5.2)
|
40
|
-
oauth2
|
41
|
-
hashie (3.4.1)
|
42
|
-
highline (1.7.2)
|
43
118
|
httpclient (2.6.0.1)
|
44
119
|
i18n (0.7.0)
|
45
|
-
|
46
|
-
|
120
|
+
inflecto (0.0.2)
|
121
|
+
ipaddress (0.8.0)
|
122
|
+
jeweler (1.8.4)
|
47
123
|
bundler (~> 1.0)
|
48
124
|
git (>= 1.2.5)
|
49
|
-
github_api (= 0.10.1)
|
50
|
-
highline (>= 1.6.15)
|
51
|
-
nokogiri (= 1.5.10)
|
52
125
|
rake
|
53
126
|
rdoc
|
54
127
|
json (1.8.2)
|
55
|
-
jwt (1.4.1)
|
56
128
|
method_source (0.8.2)
|
57
129
|
mime-types (2.5)
|
130
|
+
mini_portile (0.6.2)
|
58
131
|
minitest (5.6.1)
|
59
132
|
multi_json (1.11.0)
|
60
|
-
multi_xml (0.5.5)
|
61
|
-
multipart-post (1.2.0)
|
62
133
|
net-scp (1.2.1)
|
63
134
|
net-ssh (>= 2.6.5)
|
64
135
|
net-ssh (2.9.2)
|
65
|
-
nokogiri (1.
|
66
|
-
|
67
|
-
faraday (>= 0.8, < 0.10)
|
68
|
-
jwt (~> 1.0)
|
69
|
-
multi_json (~> 1.3)
|
70
|
-
multi_xml (~> 0.5)
|
71
|
-
rack (~> 1.2)
|
136
|
+
nokogiri (1.6.6.2)
|
137
|
+
mini_portile (~> 0.6.0)
|
72
138
|
pry (0.10.1)
|
73
139
|
coderay (~> 1.1.0)
|
74
140
|
method_source (~> 0.8.1)
|
75
141
|
slop (~> 3.4)
|
76
|
-
rack (1.6.0)
|
77
142
|
rake (10.4.2)
|
78
143
|
rdoc (3.12.2)
|
79
144
|
json (~> 1.4)
|
80
145
|
recursive-open-struct (0.6.3)
|
81
|
-
ruby-hmac (0.4.0)
|
82
146
|
shoulda (3.5.0)
|
83
147
|
shoulda-context (~> 1.0, >= 1.0.1)
|
84
148
|
shoulda-matchers (>= 1.4.1, < 3.0)
|
@@ -100,7 +164,8 @@ DEPENDENCIES
|
|
100
164
|
amqp (~> 1.1)
|
101
165
|
bundler (~> 1.0)
|
102
166
|
deep_merge (~> 1.0)
|
103
|
-
fog (~> 1.
|
167
|
+
fog (~> 1.30)
|
168
|
+
fog-aws (~> 0.2)
|
104
169
|
httpclient (~> 2.6)
|
105
170
|
jeweler (~> 1.8)
|
106
171
|
pry
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1.pre
|
data/example/settings.yml
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
# RabbitMQ URL, defaults to ENV['AMQP_URL']
|
2
|
-
amqp_url: <%= ENV['AMQP_URL'] %>
|
2
|
+
:amqp_url: <%= ENV['AMQP_URL'] %>
|
3
3
|
|
4
4
|
# Execution storage scenario: cloud | nfs | local | plgdata
|
5
5
|
# This setting may be overriden for each task
|
6
|
-
storage: <%= ENV['STORAGE'] || 'cloud' %>
|
6
|
+
:storage: <%= ENV['STORAGE'] || 'cloud' %>
|
7
7
|
|
8
8
|
# Number of execution threads (defaults to: ENV['THREADS'], `nprocs` if available or 1)
|
9
|
-
threads: <%= Executor::cpu_count %>
|
9
|
+
:threads: <%= Executor::cpu_count %>
|
10
10
|
|
11
11
|
# Cloud storage settings, the following hash is passed directyl to Fog::Storage, see http://fog.io/storage/ for further reference
|
12
12
|
# Defaults to AWS S3 with credentials passed in ENV
|
13
|
-
cloud_storage:
|
14
|
-
provider: AWS
|
15
|
-
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
|
16
|
-
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
|
13
|
+
:cloud_storage:
|
14
|
+
:provider: AWS
|
15
|
+
:aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
|
16
|
+
:aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
|
17
|
+
:region: <%= ENV['AWS_REGION'] %>
|
17
18
|
|
18
|
-
plgdata:
|
19
|
-
proxy: <%= ENV['X509_USER_PROXY'] or "./grid_proxy "%>
|
19
|
+
:plgdata:
|
20
|
+
:proxy: <%= ENV['X509_USER_PROXY'] or "./grid_proxy "%>
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: hyperflow-amqp-executor 1.0.
|
5
|
+
# stub: hyperflow-amqp-executor 1.0.1.pre ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "hyperflow-amqp-executor"
|
9
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.1.pre"
|
10
10
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Kamil Figiela"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-05-18"
|
15
15
|
s.description = "AMQP job executor for Hyperflow workflow engine (http://github.com/dice-cyfronet/hyperflow)"
|
16
16
|
s.email = "kamil.figiela@gmail.com"
|
17
17
|
s.executables = ["hyperflow-amqp-executor", "hyperflow-amqp-metric-collector"]
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
|
|
30
30
|
"bin/hyperflow-amqp-executor",
|
31
31
|
"bin/hyperflow-amqp-metric-collector",
|
32
32
|
"example/settings.yml",
|
33
|
-
"example/task.json",
|
34
33
|
"hyperflow-amqp-executor.gemspec",
|
35
34
|
"lib/hyperflow-amqp-executor.rb",
|
36
35
|
"lib/hyperflow-amqp-executor/cloud_storage.rb",
|
@@ -53,7 +52,8 @@ Gem::Specification.new do |s|
|
|
53
52
|
s.specification_version = 4
|
54
53
|
|
55
54
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
56
|
-
s.add_runtime_dependency(%q<fog>, ["~> 1.
|
55
|
+
s.add_runtime_dependency(%q<fog>, ["~> 1.30"])
|
56
|
+
s.add_runtime_dependency(%q<fog-aws>, ["~> 0.2"])
|
57
57
|
s.add_runtime_dependency(%q<unf>, ["~> 0.1"])
|
58
58
|
s.add_runtime_dependency(%q<recursive-open-struct>, ["~> 0.4"])
|
59
59
|
s.add_runtime_dependency(%q<amqp>, ["~> 1.1"])
|
@@ -65,7 +65,8 @@ Gem::Specification.new do |s|
|
|
65
65
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
|
66
66
|
s.add_development_dependency(%q<pry>, [">= 0"])
|
67
67
|
else
|
68
|
-
s.add_dependency(%q<fog>, ["~> 1.
|
68
|
+
s.add_dependency(%q<fog>, ["~> 1.30"])
|
69
|
+
s.add_dependency(%q<fog-aws>, ["~> 0.2"])
|
69
70
|
s.add_dependency(%q<unf>, ["~> 0.1"])
|
70
71
|
s.add_dependency(%q<recursive-open-struct>, ["~> 0.4"])
|
71
72
|
s.add_dependency(%q<amqp>, ["~> 1.1"])
|
@@ -78,7 +79,8 @@ Gem::Specification.new do |s|
|
|
78
79
|
s.add_dependency(%q<pry>, [">= 0"])
|
79
80
|
end
|
80
81
|
else
|
81
|
-
s.add_dependency(%q<fog>, ["~> 1.
|
82
|
+
s.add_dependency(%q<fog>, ["~> 1.30"])
|
83
|
+
s.add_dependency(%q<fog-aws>, ["~> 0.2"])
|
82
84
|
s.add_dependency(%q<unf>, ["~> 0.1"])
|
83
85
|
s.add_dependency(%q<recursive-open-struct>, ["~> 0.4"])
|
84
86
|
s.add_dependency(%q<amqp>, ["~> 1.1"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperflow-amqp-executor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamil Figiela
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.30'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.30'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: fog-aws
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.2'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: unf
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,7 +198,6 @@ files:
|
|
184
198
|
- bin/hyperflow-amqp-executor
|
185
199
|
- bin/hyperflow-amqp-metric-collector
|
186
200
|
- example/settings.yml
|
187
|
-
- example/task.json
|
188
201
|
- hyperflow-amqp-executor.gemspec
|
189
202
|
- lib/hyperflow-amqp-executor.rb
|
190
203
|
- lib/hyperflow-amqp-executor/cloud_storage.rb
|
@@ -212,9 +225,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
225
|
version: '0'
|
213
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
227
|
requirements:
|
215
|
-
- - "
|
228
|
+
- - ">"
|
216
229
|
- !ruby/object:Gem::Version
|
217
|
-
version:
|
230
|
+
version: 1.3.1
|
218
231
|
requirements: []
|
219
232
|
rubyforge_project:
|
220
233
|
rubygems_version: 2.2.2
|