opener-daemons 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/opener/daemons/mapper.rb +1 -2
- data/lib/opener/daemons/version.rb +5 -3
- data/schema/sqs_input.json +1 -1
- metadata +33 -34
- data/schema/inline_sqs_input.json +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a638527183a3e404a43cbf6c7541eba121ea584d
|
4
|
+
data.tar.gz: 7310cae56c7be53564ee9862349a2e3b6de75f63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 821a4cbec43d3e311f8e7a7f72059a825718f74648dff7f061d2db822ab09620f259c1161bc5187f3bef072aaacf604365168d317643a4ff84d2c9459f40f5ae
|
7
|
+
data.tar.gz: c6395a078ab5b90112c687ec4f65e9c492db99a5b8ae55d47a0879f4e3304c9b832edc4f19d876053f4ecdf002581497bb8272360630262d3b5b6d4590a21701
|
@@ -25,8 +25,7 @@ module Opener
|
|
25
25
|
#
|
26
26
|
# @return [String]
|
27
27
|
#
|
28
|
-
|
29
|
-
INPUT_SCHEMA = File.join SCHEMA_DIRECTORY, INPUT_SCHEMA_FILE
|
28
|
+
INPUT_SCHEMA = File.join SCHEMA_DIRECTORY, 'sqs_input.json'
|
30
29
|
|
31
30
|
##
|
32
31
|
# @param [Class] component
|
data/schema/sqs_input.json
CHANGED
metadata
CHANGED
@@ -1,143 +1,144 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-daemons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilco van Duinkerken
|
8
8
|
- Olery
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2018-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
name: aws-sdk
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
18
|
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '2.0'
|
20
|
-
name: aws-sdk
|
21
|
-
prerelease: false
|
22
21
|
type: :runtime
|
22
|
+
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '2.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
+
name: slop
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
34
|
version: '3.0'
|
34
|
-
name: slop
|
35
|
-
prerelease: false
|
36
35
|
type: :runtime
|
36
|
+
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '3.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
+
name: opener-callback-handler
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
46
|
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
48
|
version: '1.1'
|
48
|
-
name: opener-callback-handler
|
49
|
-
prerelease: false
|
50
49
|
type: :runtime
|
50
|
+
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '1.1'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
+
name: opener-core
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
60
|
- - "~>"
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '2.3'
|
62
|
-
name: opener-core
|
63
|
-
prerelease: false
|
64
63
|
type: :runtime
|
64
|
+
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.3'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
+
name: newrelic_rpm
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
74
|
- - ">="
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '0'
|
76
|
-
name: newrelic_rpm
|
77
|
-
prerelease: false
|
78
77
|
type: :runtime
|
78
|
+
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
+
name: json-schema
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
88
|
- - ">="
|
88
89
|
- !ruby/object:Gem::Version
|
89
90
|
version: '0'
|
90
|
-
name: json-schema
|
91
|
-
prerelease: false
|
92
91
|
type: :runtime
|
92
|
+
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
|
+
name: rollbar
|
99
100
|
requirement: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
102
|
- - "~>"
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '1.0'
|
104
|
-
name: rollbar
|
105
|
-
prerelease: false
|
106
105
|
type: :runtime
|
106
|
+
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '1.0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
+
name: oni
|
113
114
|
requirement: !ruby/object:Gem::Requirement
|
114
115
|
requirements:
|
115
116
|
- - "~>"
|
116
117
|
- !ruby/object:Gem::Version
|
117
118
|
version: '4.0'
|
118
|
-
name: oni
|
119
|
-
prerelease: false
|
120
119
|
type: :runtime
|
120
|
+
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '4.0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
+
name: oga
|
127
128
|
requirement: !ruby/object:Gem::Requirement
|
128
129
|
requirements:
|
129
130
|
- - "~>"
|
130
131
|
- !ruby/object:Gem::Version
|
131
132
|
version: '1.0'
|
132
|
-
name: oga
|
133
|
-
prerelease: false
|
134
133
|
type: :runtime
|
134
|
+
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '1.0'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
|
+
name: httpclient
|
141
142
|
requirement: !ruby/object:Gem::Requirement
|
142
143
|
requirements:
|
143
144
|
- - "~>"
|
@@ -146,9 +147,8 @@ dependencies:
|
|
146
147
|
- - ">="
|
147
148
|
- !ruby/object:Gem::Version
|
148
149
|
version: 2.5.3.3
|
149
|
-
name: httpclient
|
150
|
-
prerelease: false
|
151
150
|
type: :runtime
|
151
|
+
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
@@ -158,56 +158,56 @@ dependencies:
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 2.5.3.3
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
|
+
name: pry
|
161
162
|
requirement: !ruby/object:Gem::Requirement
|
162
163
|
requirements:
|
163
164
|
- - ">="
|
164
165
|
- !ruby/object:Gem::Version
|
165
166
|
version: '0'
|
166
|
-
name: pry
|
167
|
-
prerelease: false
|
168
167
|
type: :development
|
168
|
+
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
|
+
name: bundler
|
175
176
|
requirement: !ruby/object:Gem::Requirement
|
176
177
|
requirements:
|
177
178
|
- - ">="
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: '0'
|
180
|
-
name: bundler
|
181
|
-
prerelease: false
|
182
181
|
type: :development
|
182
|
+
prerelease: false
|
183
183
|
version_requirements: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
|
+
name: rake
|
189
190
|
requirement: !ruby/object:Gem::Requirement
|
190
191
|
requirements:
|
191
192
|
- - ">="
|
192
193
|
- !ruby/object:Gem::Version
|
193
194
|
version: '0'
|
194
|
-
name: rake
|
195
|
-
prerelease: false
|
196
195
|
type: :development
|
196
|
+
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
|
+
name: rspec
|
203
204
|
requirement: !ruby/object:Gem::Requirement
|
204
205
|
requirements:
|
205
206
|
- - ">="
|
206
207
|
- !ruby/object:Gem::Version
|
207
208
|
version: '0'
|
208
|
-
name: rspec
|
209
|
-
prerelease: false
|
210
209
|
type: :development
|
210
|
+
prerelease: false
|
211
211
|
version_requirements: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
@@ -240,13 +240,12 @@ files:
|
|
240
240
|
- lib/opener/daemons/version.rb
|
241
241
|
- lib/opener/daemons/worker.rb
|
242
242
|
- opener-daemons.gemspec
|
243
|
-
- schema/inline_sqs_input.json
|
244
243
|
- schema/sqs_input.json
|
245
244
|
homepage: http://opener-project.github.io
|
246
245
|
licenses:
|
247
246
|
- Apache 2.0
|
248
247
|
metadata: {}
|
249
|
-
post_install_message:
|
248
|
+
post_install_message:
|
250
249
|
rdoc_options: []
|
251
250
|
require_paths:
|
252
251
|
- lib
|
@@ -261,9 +260,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
260
|
- !ruby/object:Gem::Version
|
262
261
|
version: '0'
|
263
262
|
requirements: []
|
264
|
-
rubyforge_project:
|
263
|
+
rubyforge_project:
|
265
264
|
rubygems_version: 2.6.13
|
266
|
-
signing_key:
|
265
|
+
signing_key:
|
267
266
|
specification_version: 4
|
268
267
|
summary: Toolkit for turning OpeNER components into daemons
|
269
268
|
test_files: []
|
@@ -1,34 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"title": "opener-daemons",
|
4
|
-
"description": "Schema for SQS input messages",
|
5
|
-
"type": "object",
|
6
|
-
"properties": {
|
7
|
-
"input": {
|
8
|
-
"description": "A Base64 representation of the gzip compressed input",
|
9
|
-
"type": "string"
|
10
|
-
},
|
11
|
-
"input_url": {
|
12
|
-
"description": "URL to the KAF document to process",
|
13
|
-
"type": "string"
|
14
|
-
},
|
15
|
-
|
16
|
-
"identifier": {
|
17
|
-
"description": "A unique identifier to associate with the document",
|
18
|
-
"type": "string"
|
19
|
-
},
|
20
|
-
|
21
|
-
"callbacks": {
|
22
|
-
"description": "An Array of URLs to submit the result to",
|
23
|
-
"type": "array",
|
24
|
-
"minItems": 1
|
25
|
-
},
|
26
|
-
|
27
|
-
"metadata": {
|
28
|
-
"description": "Extra metadata to pass along to each output URL",
|
29
|
-
"type": "object",
|
30
|
-
"additionalProperties": true
|
31
|
-
}
|
32
|
-
},
|
33
|
-
"required": ["input", "callbacks"]
|
34
|
-
}
|