eventhub-processor2 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +13 -1
- data/Rakefile +6 -0
- data/docker/Dockerfile +1 -1
- data/docker/definitions.json +27 -1
- data/docker/docker-compose.yml +1 -1
- data/docker/reset +5 -0
- data/lib/eventhub/actor_heartbeat.rb +0 -1
- data/lib/eventhub/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf33bf376e804fd54bc99b3a538c6ce148325d3954344d5ca6fa853b1621ffd7
|
4
|
+
data.tar.gz: 60083e2300ae7d0bf41ca09cb6efafe2665561d323089b58aa342c69412c0d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f88f2c77e2bbd6140ddc02d95c59af8045804ca10262b367cafd13de12045c28b341bc3655d31f6c9d78fbb990c4e63d7265db50def7075f15b90122d27d8c
|
7
|
+
data.tar.gz: 6133d08b08b596fc95e657fbb6e81ebdfa2c2ee52d2064f83a214a2e84b4acf428e20f7d99e7ec930a9e2e4fd72bbea0d8e6e5184202bd482c926be989162c72
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -173,7 +173,19 @@ Processor2 symbolizes keys and sub-keys from configuration files automatically.
|
|
173
173
|
|
174
174
|
## Development
|
175
175
|
|
176
|
-
|
176
|
+
```
|
177
|
+
# Get the source code
|
178
|
+
git clone https://github.com/thomis/eventhub-processor2.git
|
179
|
+
|
180
|
+
# Install dependencies
|
181
|
+
bundle
|
182
|
+
|
183
|
+
# Setup rabbitmq docker container with initial definitions. This can be run multiple times to get your container back into an initial state
|
184
|
+
bundle exec rake init
|
185
|
+
|
186
|
+
# Run all rspec tests
|
187
|
+
bundle exec rake
|
188
|
+
```
|
177
189
|
|
178
190
|
To install this gem onto your local machine, run `bundle exec rake install`. 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).
|
179
191
|
|
data/Rakefile
CHANGED
@@ -6,4 +6,10 @@ RSpec::Core::RakeTask.new(:spec) do |t|
|
|
6
6
|
t.verbose = false
|
7
7
|
end
|
8
8
|
|
9
|
+
desc "Initialize or reset rabbitmq docker container (run before rspec)"
|
10
|
+
task :init do
|
11
|
+
sh "cd docker && ./reset"
|
12
|
+
puts "You may need to give rabbitmq container a bit time to startup properly..."
|
13
|
+
end
|
14
|
+
|
9
15
|
task default: [:spec, :standard]
|
data/docker/Dockerfile
CHANGED
data/docker/definitions.json
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"rabbitmq_version": "3.8.14",
|
3
|
+
"product_name": "RabbitMQ",
|
4
|
+
"product_version": "3.8.14",
|
3
5
|
"users": [
|
4
6
|
{
|
5
7
|
"name": "guest",
|
@@ -51,6 +53,13 @@
|
|
51
53
|
"durable": true,
|
52
54
|
"auto_delete": false,
|
53
55
|
"arguments": {}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "processor2",
|
59
|
+
"vhost": "event_hub",
|
60
|
+
"durable": true,
|
61
|
+
"auto_delete": false,
|
62
|
+
"arguments": {}
|
54
63
|
}
|
55
64
|
],
|
56
65
|
"exchanges": [
|
@@ -89,6 +98,15 @@
|
|
89
98
|
"auto_delete": false,
|
90
99
|
"internal": false,
|
91
100
|
"arguments": {}
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"name": "processor2",
|
104
|
+
"vhost": "event_hub",
|
105
|
+
"type": "direct",
|
106
|
+
"durable": true,
|
107
|
+
"auto_delete": false,
|
108
|
+
"internal": false,
|
109
|
+
"arguments": {}
|
92
110
|
}
|
93
111
|
],
|
94
112
|
"bindings": [
|
@@ -123,6 +141,14 @@
|
|
123
141
|
"destination_type": "queue",
|
124
142
|
"routing_key": "",
|
125
143
|
"arguments": {}
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"source": "processor2",
|
147
|
+
"vhost": "event_hub",
|
148
|
+
"destination": "processor2",
|
149
|
+
"destination_type": "queue",
|
150
|
+
"routing_key": "",
|
151
|
+
"arguments": {}
|
126
152
|
}
|
127
153
|
]
|
128
154
|
}
|
data/docker/docker-compose.yml
CHANGED
data/docker/reset
ADDED
data/lib/eventhub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventhub-processor2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steiner, Thomas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- docker/definitions.json
|
161
161
|
- docker/docker-compose.yml
|
162
162
|
- docker/rabbitmq.config
|
163
|
+
- docker/reset
|
163
164
|
- eventhub-processor2.gemspec
|
164
165
|
- example/README.md
|
165
166
|
- example/config/receiver.json
|