rservicebus2 0.1.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +50 -0
- data/lib/rservicebus2/appresource/awsdynamodb.rb +16 -0
- data/lib/rservicebus2/appresource/awss3.rb +16 -0
- data/lib/rservicebus2/appresource_configure.rb +6 -0
- data/lib/rservicebus2/host.rb +2 -2
- data/lib/rservicebus2/monitor.rb +1 -0
- data/lib/rservicebus2/monitor/awss3.rb +73 -0
- data/lib/rservicebus2/monitor_configure.rb +3 -0
- data/lib/rservicebus2/mq.rb +7 -1
- data/lib/rservicebus2/mq/aws.rb +85 -0
- data/lib/rservicebus2/mq/redis.rb +53 -0
- data/lib/rservicebus2/saga/manager.rb +8 -5
- data/lib/rservicebus2/saga_loader.rb +7 -7
- data/lib/rservicebus2/saga_storage/dir.rb +1 -1
- metadata +32 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c1e12570efafa3e17329ee11b4f458e86ba6d61700dea27f5552e3ef54945cd4
|
4
|
+
data.tar.gz: 0ad1c7926d644e24f795d6baaacba9b18bbb60c51c6f8d2018b7829c2f02433a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2db9257198bff90b072fc80f1561e18373b831064f321e3d3238a37904a1026a506276f64d51eb575d21d9d7a5f58d5be4c27246e6e49608b569eb722f7e70fc
|
7
|
+
data.tar.gz: 88f37e1a0d0837baf786ad2dfaf685f4bce862f62eebeca837275e06d37954a4681f0549b54b6e10757d9cce38a4fc1c99e68c58bb59c88be009584c1c0865cc
|
data/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# rservicebus2
|
2
|
+
|
3
|
+
Use the examples directory as the starting point.
|
4
|
+
|
5
|
+
## General Approach
|
6
|
+
|
7
|
+
1. Convention over Configuration
|
8
|
+
2. Configuration via Environment Variables
|
9
|
+
3. Working examples provided for configuration
|
10
|
+
|
11
|
+
## General Config
|
12
|
+
|
13
|
+
### APPNAME
|
14
|
+
1. Name of process
|
15
|
+
2. Doubles as default queueName
|
16
|
+
3. Defaults to directory name
|
17
|
+
|
18
|
+
### MAX_RETRIES
|
19
|
+
1. If an exception is generated while processing a message, the message can be
|
20
|
+
retried. This allows the number of retries to be set.
|
21
|
+
2. Defaults to 5
|
22
|
+
|
23
|
+
### ERROR_QUEUE_NAME
|
24
|
+
1. If an exception is generated while processing a message, the message can be
|
25
|
+
retried. Once all retries are exhausted, the message will be put in the error queue.
|
26
|
+
2. This allows the name of the queue to be set.
|
27
|
+
3. Defaults to error
|
28
|
+
|
29
|
+
### WORKING_DIR
|
30
|
+
1. Where message handlers are looked for.
|
31
|
+
2. Defaults to current directory
|
32
|
+
|
33
|
+
### VERBOSE
|
34
|
+
1. Send out more logging to track message processing
|
35
|
+
|
36
|
+
### AUDIT_QUEUE_NAME
|
37
|
+
1. When set, a copy of all messages sent and received will be add to this queue
|
38
|
+
|
39
|
+
### RSBCRON_[msg name]
|
40
|
+
1. An empty message will be created and sent based on the cron string
|
41
|
+
|
42
|
+
## RSBMQ - Message queue
|
43
|
+
1. Environment Variable Name: RSBMQ
|
44
|
+
|
45
|
+
### Beanstalk
|
46
|
+
|
47
|
+
### Redis
|
48
|
+
|
49
|
+
### SQS
|
50
|
+
RSBMQ=aws://[region]/[queue_name]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'aws-sdk-dynamodb'
|
2
|
+
|
3
|
+
module RServiceBus2
|
4
|
+
# AppResourceAWSDynamoDb
|
5
|
+
class AppResourceAWSDynamoDb < AppResource
|
6
|
+
# rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
7
|
+
def connect(uri)
|
8
|
+
region = uri.host
|
9
|
+
|
10
|
+
Aws::DynamoDB::Client.new(region: region)
|
11
|
+
end
|
12
|
+
|
13
|
+
def finished
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'aws-sdk-s3'
|
2
|
+
|
3
|
+
module RServiceBus2
|
4
|
+
# AppResourceAWSDynamoDb
|
5
|
+
class AppResourceAWSS3 < AppResource
|
6
|
+
# rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
7
|
+
def connect(uri)
|
8
|
+
region = uri.host
|
9
|
+
|
10
|
+
Aws::S3::Client.new(region: region)
|
11
|
+
end
|
12
|
+
|
13
|
+
def finished
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -31,6 +31,12 @@ module RServiceBus2
|
|
31
31
|
when 'file'
|
32
32
|
require 'rservicebus2/appresource/file'
|
33
33
|
rm.add k.sub('RSB_', ''), AppResourceFile.new(host, uri)
|
34
|
+
when 'awsdynamodb'
|
35
|
+
require 'rservicebus2/appresource/awsdynamodb'
|
36
|
+
rm.add k.sub('RSB_', ''), AppResourceAWSDynamoDb.new(host, uri)
|
37
|
+
when 'awss3'
|
38
|
+
require 'rservicebus2/appresource/awss3'
|
39
|
+
rm.add k.sub('RSB_', ''), AppResourceAWSS3.new(host, uri)
|
34
40
|
else
|
35
41
|
abort("Scheme, #{uri.scheme}, not recognised when configuring
|
36
42
|
app resource, #{k}=#{v}")
|
data/lib/rservicebus2/host.rb
CHANGED
@@ -43,8 +43,8 @@ module RServiceBus2
|
|
43
43
|
|
44
44
|
# Thin veneer for Configuring state
|
45
45
|
def configure_saga_storage
|
46
|
-
string = RServiceBus2.get_value('SAGA_URI')
|
47
|
-
string = 'dir:///tmp' if string.nil?
|
46
|
+
string = RServiceBus2.get_value('SAGA_URI', 'dir:///tmp/saga')
|
47
|
+
# string = 'dir:///tmp' if string.nil?
|
48
48
|
|
49
49
|
uri = URI.parse(string)
|
50
50
|
@saga_storage = SagaStorage.get(uri)
|
data/lib/rservicebus2/monitor.rb
CHANGED
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'aws-sdk-s3'
|
2
|
+
|
3
|
+
module RServiceBus2
|
4
|
+
# Monitor S3 Bucket for objects
|
5
|
+
class MonitorAWSS3 < Monitor
|
6
|
+
def connect(uri)
|
7
|
+
@bucket_name = uri.path
|
8
|
+
@bucket_name[0] = ''
|
9
|
+
|
10
|
+
@region = uri.host
|
11
|
+
|
12
|
+
@s3_client = Aws::S3::Client.new(region: @region)
|
13
|
+
@input_filter = []
|
14
|
+
end
|
15
|
+
|
16
|
+
def process_content(content)
|
17
|
+
content
|
18
|
+
end
|
19
|
+
|
20
|
+
# rubocop:disable Metrics/MethodLength
|
21
|
+
def read_content_from_file(file_path)
|
22
|
+
content = ''
|
23
|
+
if @input_filter.length > 0
|
24
|
+
if @input_filter[0] == 'ZIP'
|
25
|
+
content = read_content_from_zip_file(file_path)
|
26
|
+
elsif @input_filter[0] == 'GZ'
|
27
|
+
content = read_content_from_gz_file(file_path)
|
28
|
+
elsif @input_filter[0] == 'TAR'
|
29
|
+
fail 'TAR reader not implemented'
|
30
|
+
end
|
31
|
+
|
32
|
+
else
|
33
|
+
content = IO.read(file_path)
|
34
|
+
end
|
35
|
+
|
36
|
+
content
|
37
|
+
end
|
38
|
+
|
39
|
+
def process_path(object_key)
|
40
|
+
# content = read_content_from_object(object_key)
|
41
|
+
content = object_key
|
42
|
+
payload = process_content(content)
|
43
|
+
|
44
|
+
send(payload, URI.parse(URI.encode("s3://#{@region}/#{@bucket_name}/#{object_key}")))
|
45
|
+
content
|
46
|
+
end
|
47
|
+
|
48
|
+
def look
|
49
|
+
file_processed = 0
|
50
|
+
max_files_processed = 1
|
51
|
+
|
52
|
+
objects = @s3_client.list_objects_v2(
|
53
|
+
bucket: @bucket_name,
|
54
|
+
max_keys: max_files_processed
|
55
|
+
).contents
|
56
|
+
|
57
|
+
return if objects.count.zero?
|
58
|
+
|
59
|
+
objects.each do |object|
|
60
|
+
RServiceBus2.log "Ready to process, #{object.key}"
|
61
|
+
process_path(object.key)
|
62
|
+
# content = process_path(object.key)
|
63
|
+
|
64
|
+
# File.unlink(file_path)
|
65
|
+
|
66
|
+
file_processed += 1
|
67
|
+
RServiceBus2.log "Processed #{file_processed} of #{objects.length}."
|
68
|
+
RServiceBus2.log "Allow system tick #{self.class.name}"
|
69
|
+
break if file_processed >= max_files_processed
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -48,6 +48,9 @@ module RServiceBus2
|
|
48
48
|
when 'dir'
|
49
49
|
require 'rservicebus2/monitor/dir'
|
50
50
|
monitor = MonitorDir.new(@host, name, uri)
|
51
|
+
when 'awss3'
|
52
|
+
require 'rservicebus2/monitor/awss3'
|
53
|
+
monitor = MonitorAWSS3.new(@host, name, uri)
|
51
54
|
when 'dirnotifier'
|
52
55
|
require 'rservicebus2/monitor/dirnotifier'
|
53
56
|
monitor = MonitorDirNotifier.new(@host, name, uri)
|
data/lib/rservicebus2/mq.rb
CHANGED
@@ -20,7 +20,13 @@ module RServiceBus2
|
|
20
20
|
mq = MQBeanstalk.new(uri)
|
21
21
|
when 'file'
|
22
22
|
require 'rservicebus2/mq/file'
|
23
|
-
|
23
|
+
mq = MQFile.new(uri)
|
24
|
+
when 'redis'
|
25
|
+
require 'rservicebus2/mq/redis'
|
26
|
+
mq = MQRedis.new(uri)
|
27
|
+
when 'aws'
|
28
|
+
require 'rservicebus2/mq/aws'
|
29
|
+
mq = MQAWS.new(uri)
|
24
30
|
else
|
25
31
|
abort("Scheme, #{uri.scheme}, not recognised when configuring mq,
|
26
32
|
#{string}")
|
@@ -0,0 +1,85 @@
|
|
1
|
+
require 'aws-sdk-sqs'
|
2
|
+
require 'aws-sdk-sts'
|
3
|
+
require 'rservicebus2/mq'
|
4
|
+
|
5
|
+
module RServiceBus2
|
6
|
+
# Beanstalk client implementation.
|
7
|
+
class MQAWS < MQ
|
8
|
+
# Connect to the broker
|
9
|
+
# rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
10
|
+
def connect(region, port)
|
11
|
+
begin
|
12
|
+
@max_job_size = 4_194_304
|
13
|
+
@region = region
|
14
|
+
|
15
|
+
sts_client = Aws::STS::Client.new(region: region)
|
16
|
+
@caller_identity_account = sts_client.get_caller_identity.account
|
17
|
+
rescue StandardError => e
|
18
|
+
puts 'Error connecting to AWS'
|
19
|
+
puts "Host string, #{region}"
|
20
|
+
puts e.message
|
21
|
+
puts e.backtrace
|
22
|
+
abort
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def subscribe(queuename)
|
27
|
+
# For example:
|
28
|
+
# 'https://sqs.us-east-1.amazonaws.com/111111111111/my-queue'
|
29
|
+
@queue_url = 'https://sqs.' + @region + '.amazonaws.com/' +
|
30
|
+
@caller_identity_account + '/' + queuename
|
31
|
+
@sqs_client = Aws::SQS::Client.new(region: @region)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Get next msg from queue
|
35
|
+
def pop
|
36
|
+
begin
|
37
|
+
response = @sqs_client.receive_message(
|
38
|
+
queue_url: @queue_url,
|
39
|
+
max_number_of_messages: 1
|
40
|
+
)
|
41
|
+
|
42
|
+
if response.messages.count.zero?
|
43
|
+
raise NoMsgToProcess
|
44
|
+
end
|
45
|
+
|
46
|
+
response.messages.each do |message|
|
47
|
+
@job = message
|
48
|
+
end
|
49
|
+
rescue StandardError => e
|
50
|
+
raise e
|
51
|
+
end
|
52
|
+
@job.body
|
53
|
+
end
|
54
|
+
|
55
|
+
def return_to_queue
|
56
|
+
# @job.release if @job
|
57
|
+
@job = nil
|
58
|
+
end
|
59
|
+
|
60
|
+
def ack
|
61
|
+
@sqs_client.delete_message({
|
62
|
+
queue_url: @queue_url,
|
63
|
+
receipt_handle: @job.receipt_handle
|
64
|
+
})
|
65
|
+
@job = nil
|
66
|
+
end
|
67
|
+
|
68
|
+
def send(queue_name, msg)
|
69
|
+
if msg.length > @max_job_size
|
70
|
+
puts '***Attempting to send a msg which will not fit on queue.'
|
71
|
+
puts "***Msg size, #{msg.length}, max msg size, #{@max_job_size}."
|
72
|
+
fail JobTooBigError, "Msg size, #{msg.length}, max msg size,
|
73
|
+
#{@max_job_size}"
|
74
|
+
end
|
75
|
+
|
76
|
+
queue_url = 'https://sqs.' + @region + '.amazonaws.com/' +
|
77
|
+
@caller_identity_account + '/' + queue_name
|
78
|
+
|
79
|
+
@sqs_client.send_message(
|
80
|
+
queue_url: queue_url,
|
81
|
+
message_body: msg
|
82
|
+
)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'redis'
|
2
|
+
require 'rservicebus2/mq'
|
3
|
+
|
4
|
+
module RServiceBus2
|
5
|
+
# Redis client implementation.
|
6
|
+
class MQRedis < MQ
|
7
|
+
# Connect to the broker
|
8
|
+
# rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
9
|
+
def connect(host, port)
|
10
|
+
port ||= 6379
|
11
|
+
string = "#{host}:#{port}"
|
12
|
+
|
13
|
+
begin
|
14
|
+
@redis = Redis.new(:host => host, :port => port)
|
15
|
+
|
16
|
+
rescue Exception => e
|
17
|
+
puts e.message
|
18
|
+
puts 'Error connecting to Redis for mq'
|
19
|
+
puts "Host string, #{string}"
|
20
|
+
abort()
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# Connect to the queue
|
25
|
+
def subscribe( queuename )
|
26
|
+
@queuename = queuename
|
27
|
+
end
|
28
|
+
|
29
|
+
# Get next msg from queue
|
30
|
+
def pop
|
31
|
+
if @redis.llen( @queuename ) == 0 then
|
32
|
+
sleep @timeout
|
33
|
+
raise NoMsgToProcess.new
|
34
|
+
end
|
35
|
+
|
36
|
+
return @redis.lindex @queuename, 0
|
37
|
+
end
|
38
|
+
|
39
|
+
def returnToQueue
|
40
|
+
end
|
41
|
+
|
42
|
+
# "Commit" queue
|
43
|
+
def ack
|
44
|
+
@redis.lpop @queuename
|
45
|
+
end
|
46
|
+
|
47
|
+
# At least called in the Host rescue block, to ensure all network links are healthy
|
48
|
+
def send( queueName, msg )
|
49
|
+
@redis.rpush queueName, msg
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
@@ -24,7 +24,7 @@ module RServiceBus2
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def get_start_with_method_names(saga)
|
27
|
-
get_methods_by_prefix(saga, '
|
27
|
+
get_methods_by_prefix(saga, 'start_with_')
|
28
28
|
end
|
29
29
|
|
30
30
|
# setBusAttributeIfRequested
|
@@ -63,7 +63,7 @@ module RServiceBus2
|
|
63
63
|
@start_with[msg_name] = [] if @start_with[msg_name].nil?
|
64
64
|
@start_with[msg_name] << s
|
65
65
|
|
66
|
-
RServiceBus2.log "Registered, #{saga.name}, to
|
66
|
+
RServiceBus2.log "Registered, #{saga.name}, to start_with, #{msg_name}", true
|
67
67
|
end
|
68
68
|
|
69
69
|
@saga[saga.name] = s
|
@@ -88,12 +88,13 @@ module RServiceBus2
|
|
88
88
|
msg_class_name = msg.class.name.downcase
|
89
89
|
|
90
90
|
RServiceBus2.log "SagaManager, started processing, #{msg_class_name}", true
|
91
|
-
|
91
|
+
if @start_with.key?(msg_class_name)
|
92
|
+
# unless @start_with[msg_class_name].nil?
|
92
93
|
@start_with[msg_class_name].each do |saga|
|
93
94
|
data = SagaData.new(saga)
|
94
95
|
@saga_storage.set(data)
|
95
96
|
|
96
|
-
method_name = "
|
97
|
+
method_name = "start_with_#{msg_class_name}"
|
97
98
|
process_msg(saga, data, method_name, msg)
|
98
99
|
|
99
100
|
handled = true
|
@@ -102,8 +103,10 @@ module RServiceBus2
|
|
102
103
|
return handled if handled == true
|
103
104
|
|
104
105
|
return false if rmsg.correlation_id.nil?
|
106
|
+
|
105
107
|
data = @saga_storage.get(rmsg.correlation_id)
|
106
|
-
return
|
108
|
+
return false if data.nil?
|
109
|
+
|
107
110
|
method_name = "handle_#{msg_class_name}"
|
108
111
|
saga = @saga[data.saga_class_name]
|
109
112
|
process_msg(saga, data, method_name, msg)
|
@@ -16,21 +16,21 @@ module RServiceBus2
|
|
16
16
|
# Cleans the given path to ensure it can be used for as a parameter for the
|
17
17
|
# require statement.
|
18
18
|
# @param [String] file_path the path to be cleaned
|
19
|
-
def get_require_path(
|
19
|
+
def get_require_path(file_path)
|
20
20
|
file_path = './' + file_path unless file_path.start_with?('/')
|
21
21
|
|
22
22
|
return file_path.sub('.rb', '') if File.exist?(file_path)
|
23
23
|
|
24
|
-
abort('Filepath, ' +
|
24
|
+
abort('Filepath, ' + file_path + ", given for Saga require doesn't exist")
|
25
25
|
end
|
26
26
|
|
27
|
-
# Instantiate the saga named in sagaName from the file name in
|
27
|
+
# Instantiate the saga named in sagaName from the file name in file_path
|
28
28
|
# Exceptions will be raised if encountered when loading sagas. This is a
|
29
29
|
# load time activity, so sagas should load correctly. As much information
|
30
30
|
# as possible is returned to enable the saga to be fixed, or configuration
|
31
31
|
# corrected.
|
32
32
|
# @param [String] sagaName name of the saga to instantiate
|
33
|
-
# @param [String]
|
33
|
+
# @param [String] file_path the path to the file to be loaded
|
34
34
|
# @return [RServiceBus2::Saga] the loader
|
35
35
|
def load_saga_from_file(saga_name, file_path)
|
36
36
|
require_path = get_require_path(file_path)
|
@@ -50,7 +50,7 @@ module RServiceBus2
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Wrapper function
|
53
|
-
# @param [String]
|
53
|
+
# @param [String] file_path
|
54
54
|
# @param [String] sagaName
|
55
55
|
# @returns [RServiceBus2::Saga] saga
|
56
56
|
def load_saga(file_path, saga_name)
|
@@ -97,7 +97,7 @@ module RServiceBus2
|
|
97
97
|
|
98
98
|
saga_name = base_name.sub(ext_name, '')
|
99
99
|
|
100
|
-
"
|
100
|
+
"saga_#{saga_name}".gsub(/(?<=_|^)(\w)/){$1.upcase}.gsub(/(?:_)(\w)/,'\1')
|
101
101
|
end
|
102
102
|
|
103
103
|
# Entry point for loading Sagas
|
@@ -106,7 +106,7 @@ module RServiceBus2
|
|
106
106
|
RServiceBus2.rlog "SagaLoader.loadSagasFromPath. base_dir: #{base_dir}"
|
107
107
|
|
108
108
|
get_list_of_files_for_dir(base_dir).each do |file_path|
|
109
|
-
unless
|
109
|
+
unless file_path.end_with?('.')
|
110
110
|
saga_name = get_saga_name(file_path)
|
111
111
|
load_saga(file_path, saga_name)
|
112
112
|
end
|
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rservicebus2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uuidtools
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.2.0
|
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:
|
26
|
+
version: 2.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.5.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.5.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: beanstalk-client
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: fluiddb
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.1.19
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.1.19
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: parse-cron
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.1.4
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.1.4
|
83
83
|
description: A Ruby interpretation of NServiceBus
|
84
84
|
email: guy@guyirvine.com
|
85
85
|
executables:
|
@@ -93,6 +93,7 @@ extensions: []
|
|
93
93
|
extra_rdoc_files: []
|
94
94
|
files:
|
95
95
|
- LICENSE
|
96
|
+
- README.md
|
96
97
|
- bin/return_messages_to_source_queue
|
97
98
|
- bin/rsb_ctl
|
98
99
|
- bin/rservicebus2
|
@@ -103,6 +104,8 @@ files:
|
|
103
104
|
- lib/rservicebus2.rb
|
104
105
|
- lib/rservicebus2/agent.rb
|
105
106
|
- lib/rservicebus2/appresource.rb
|
107
|
+
- lib/rservicebus2/appresource/awsdynamodb.rb
|
108
|
+
- lib/rservicebus2/appresource/awss3.rb
|
106
109
|
- lib/rservicebus2/appresource/dir.rb
|
107
110
|
- lib/rservicebus2/appresource/file.rb
|
108
111
|
- lib/rservicebus2/appresource/fluiddb.rb
|
@@ -123,14 +126,17 @@ files:
|
|
123
126
|
- lib/rservicebus2/message/subscription.rb
|
124
127
|
- lib/rservicebus2/message/verboseoutput.rb
|
125
128
|
- lib/rservicebus2/monitor.rb
|
129
|
+
- lib/rservicebus2/monitor/awss3.rb
|
126
130
|
- lib/rservicebus2/monitor/dir.rb
|
127
131
|
- lib/rservicebus2/monitor/dirnotifier.rb
|
128
132
|
- lib/rservicebus2/monitor/message.rb
|
129
133
|
- lib/rservicebus2/monitor/xmldir.rb
|
130
134
|
- lib/rservicebus2/monitor_configure.rb
|
131
135
|
- lib/rservicebus2/mq.rb
|
136
|
+
- lib/rservicebus2/mq/aws.rb
|
132
137
|
- lib/rservicebus2/mq/beanstalk.rb
|
133
138
|
- lib/rservicebus2/mq/file.rb
|
139
|
+
- lib/rservicebus2/mq/redis.rb
|
134
140
|
- lib/rservicebus2/resource_manager.rb
|
135
141
|
- lib/rservicebus2/saga/base.rb
|
136
142
|
- lib/rservicebus2/saga/data.rb
|
@@ -161,7 +167,7 @@ homepage: http://rubygems.org/gems/rservicebus2
|
|
161
167
|
licenses:
|
162
168
|
- LGPL-3.0
|
163
169
|
metadata: {}
|
164
|
-
post_install_message:
|
170
|
+
post_install_message:
|
165
171
|
rdoc_options: []
|
166
172
|
require_paths:
|
167
173
|
- lib
|
@@ -176,9 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
182
|
- !ruby/object:Gem::Version
|
177
183
|
version: '0'
|
178
184
|
requirements: []
|
179
|
-
|
180
|
-
|
181
|
-
signing_key:
|
185
|
+
rubygems_version: 3.0.9
|
186
|
+
signing_key:
|
182
187
|
specification_version: 4
|
183
188
|
summary: RServiceBus
|
184
189
|
test_files: []
|