funktor 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/funktor/cli/init.rb +2 -2
- data/lib/funktor/cli/templates/config/function_definitions/incoming_job_handler.yml +1 -1
- data/lib/funktor/cli/templates/config/function_definitions/work_queue_handler.yml +1 -1
- data/lib/funktor/cli/templates/{app/handlers → lambda_event_handlers}/incoming_job_handler.rb +0 -0
- data/lib/funktor/cli/templates/{app/handlers → lambda_event_handlers}/work_queue_handler.rb +0 -0
- data/lib/funktor/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ca7738fdb4ce7e628d489b4eafa1975036cc1e82ec162bc4115383ac2b29233
|
4
|
+
data.tar.gz: 0a328bcb1d0c5a007d560eda72d88832269f9d21def9bfea3720746600f828f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274578bd0e322e8cb4d5bfbdb27c5aaa97d966e37bc3e38ef63cec5536947e132f9b5018b78ba52f6d492ed73ba8f46ac872614b750bcb4fab425613c5eccbfe
|
7
|
+
data.tar.gz: 454d9ffaf4970543f409be989ce455717c5f600e81c85f6ba8aea640867d232c4aaf2ec9b8f79e7956da53db197668a6bb37627de5c18ceac8a9348dfe527521
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
funktor (0.2.
|
4
|
+
funktor (0.2.5)
|
5
5
|
activesupport
|
6
6
|
aws-sdk-sqs (~> 1.37)
|
7
7
|
thor
|
@@ -9,7 +9,7 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (6.1.
|
12
|
+
activesupport (6.1.4)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 1.6, < 2)
|
15
15
|
minitest (>= 5.1)
|
@@ -18,8 +18,8 @@ GEM
|
|
18
18
|
addressable (2.7.0)
|
19
19
|
public_suffix (>= 2.0.2, < 5.0)
|
20
20
|
aws-eventstream (1.1.1)
|
21
|
-
aws-partitions (1.
|
22
|
-
aws-sdk-core (3.
|
21
|
+
aws-partitions (1.471.0)
|
22
|
+
aws-sdk-core (3.115.0)
|
23
23
|
aws-eventstream (~> 1, >= 1.0.2)
|
24
24
|
aws-partitions (~> 1, >= 1.239.0)
|
25
25
|
aws-sigv4 (~> 1.1)
|
data/lib/funktor/cli/init.rb
CHANGED
@@ -88,11 +88,11 @@ module Funktor
|
|
88
88
|
end
|
89
89
|
|
90
90
|
def lambda_handlers
|
91
|
-
template File.join("
|
91
|
+
template File.join("lambda_event_handlers", "incoming_job_handler.rb"), File.join("lambda_event_handlers", "incoming_job_handler.rb")
|
92
92
|
queues.each do |queue_details|
|
93
93
|
@work_queue_name = queue_details.keys.first
|
94
94
|
@work_queue_config = queue_details.values.first
|
95
|
-
template File.join("
|
95
|
+
template File.join("lambda_event_handlers", "work_queue_handler.rb"), File.join("lambda_event_handlers", "#{work_queue_name.underscore}_queue_handler.rb")
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
handler:
|
1
|
+
handler: lambda_event_handlers/incoming_job_handler.call
|
2
2
|
timeout: ${self:custom.funktor.incomingJobHandler.timeout, 30}
|
3
3
|
reservedConcurrency: ${self:custom.funktor.incomingJobHandler.reservedConcurrency, null}
|
4
4
|
provisionedConcurrency: ${self:custom.funktor.incomingJobHandler.provisionedConcurrency, null}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
handler:
|
1
|
+
handler: lambda_event_handlers/<%= work_queue_name.underscore %>_queue_handler.call
|
2
2
|
timeout: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.timeout, 900}
|
3
3
|
reservedConcurrency: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.reservedConcurrency, null}
|
4
4
|
provisionedConcurrency: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.provisionedConcurrency, null}
|
data/lib/funktor/cli/templates/{app/handlers → lambda_event_handlers}/incoming_job_handler.rb
RENAMED
File without changes
|
File without changes
|
data/lib/funktor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: funktor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-sqs
|
@@ -115,8 +115,6 @@ files:
|
|
115
115
|
- lib/funktor/cli/generate/work_queue.rb
|
116
116
|
- lib/funktor/cli/init.rb
|
117
117
|
- lib/funktor/cli/templates/Gemfile
|
118
|
-
- lib/funktor/cli/templates/app/handlers/incoming_job_handler.rb
|
119
|
-
- lib/funktor/cli/templates/app/handlers/work_queue_handler.rb
|
120
118
|
- lib/funktor/cli/templates/app/workers/hello_worker.rb
|
121
119
|
- lib/funktor/cli/templates/config/environment.yml
|
122
120
|
- lib/funktor/cli/templates/config/function_definitions/incoming_job_handler.yml
|
@@ -133,6 +131,8 @@ files:
|
|
133
131
|
- lib/funktor/cli/templates/config/ruby_layer.yml
|
134
132
|
- lib/funktor/cli/templates/funktor_init.yml.tt
|
135
133
|
- lib/funktor/cli/templates/gitignore
|
134
|
+
- lib/funktor/cli/templates/lambda_event_handlers/incoming_job_handler.rb
|
135
|
+
- lib/funktor/cli/templates/lambda_event_handlers/work_queue_handler.rb
|
136
136
|
- lib/funktor/cli/templates/package.json
|
137
137
|
- lib/funktor/cli/templates/serverless.yml
|
138
138
|
- lib/funktor/fake_job_queue.rb
|