nulogy_message_bus_producer 4.0.0.alpha → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -105
  3. data/lib/nulogy_message_bus_producer/subscription_event.rb +0 -3
  4. data/lib/nulogy_message_bus_producer/subscriptions/postgres_transport.rb +6 -6
  5. data/lib/nulogy_message_bus_producer/version.rb +1 -1
  6. data/lib/nulogy_message_bus_producer.rb +1 -17
  7. data/spec/dummy/bin/setup +8 -9
  8. data/spec/dummy/bin/yarn +15 -7
  9. data/spec/dummy/config/application.rb +11 -6
  10. data/spec/dummy/config/boot.rb +2 -4
  11. data/spec/dummy/config/cable.yml +2 -2
  12. data/spec/dummy/config/environments/development.rb +29 -7
  13. data/spec/dummy/config/environments/production.rb +45 -15
  14. data/spec/dummy/config/environments/test.rb +24 -7
  15. data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
  16. data/spec/dummy/config/initializers/content_security_policy.rb +30 -0
  17. data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
  18. data/spec/dummy/config/initializers/new_framework_defaults_6_1.rb +67 -0
  19. data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
  20. data/spec/dummy/config/locales/en.yml +1 -1
  21. data/spec/dummy/config/storage.yml +34 -0
  22. data/spec/dummy/config.ru +1 -0
  23. data/spec/dummy/db/schema.rb +1 -4
  24. data/spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb +1 -3
  25. data/spec/spec_helper.rb +1 -0
  26. data/spec/support/skip.rb +9 -0
  27. data/spec/support/test_graphql_schema.rb +0 -2
  28. metadata +96 -65
  29. data/db/migrate/20210330204121_add_event_type_to_subscription_events.rb +0 -9
  30. data/spec/dummy/log/development.log +0 -2553
  31. data/spec/dummy/log/test.log +0 -46636
  32. data/spec/integration/lib/nulogy_message_bus_producer_spec.rb +0 -25
@@ -1,4 +1,6 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
3
  # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
4
+ Rails.application.config.filter_parameters += [
5
+ :password, :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
6
+ ]
@@ -0,0 +1,67 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains migration options to ease your Rails 6.1 upgrade.
4
+ #
5
+ # Once upgraded flip defaults one by one to migrate to the new default.
6
+ #
7
+ # Read the Guide for Upgrading Ruby on Rails for more info on each option.
8
+
9
+ # Support for inversing belongs_to -> has_many Active Record associations.
10
+ # Rails.application.config.active_record.has_many_inversing = true
11
+
12
+ # Track Active Storage variants in the database.
13
+ # Rails.application.config.active_storage.track_variants = true
14
+
15
+ # Apply random variation to the delay when retrying failed jobs.
16
+ # Rails.application.config.active_job.retry_jitter = 0.15
17
+
18
+ # Stop executing `after_enqueue`/`after_perform` callbacks if
19
+ # `before_enqueue`/`before_perform` respectively halts with `throw :abort`.
20
+ # Rails.application.config.active_job.skip_after_callbacks_if_terminated = true
21
+
22
+ # Specify cookies SameSite protection level: either :none, :lax, or :strict.
23
+ #
24
+ # This change is not backwards compatible with earlier Rails versions.
25
+ # It's best enabled when your entire app is migrated and stable on 6.1.
26
+ # Rails.application.config.action_dispatch.cookies_same_site_protection = :lax
27
+
28
+ # Generate CSRF tokens that are encoded in URL-safe Base64.
29
+ #
30
+ # This change is not backwards compatible with earlier Rails versions.
31
+ # It's best enabled when your entire app is migrated and stable on 6.1.
32
+ # Rails.application.config.action_controller.urlsafe_csrf_tokens = true
33
+
34
+ # Specify whether `ActiveSupport::TimeZone.utc_to_local` returns a time with an
35
+ # UTC offset or a UTC time.
36
+ # ActiveSupport.utc_to_local_returns_utc_offset_times = true
37
+
38
+ # Change the default HTTP status code to `308` when redirecting non-GET/HEAD
39
+ # requests to HTTPS in `ActionDispatch::SSL` middleware.
40
+ # Rails.application.config.action_dispatch.ssl_default_redirect_status = 308
41
+
42
+ # Use new connection handling API. For most applications this won't have any
43
+ # effect. For applications using multiple databases, this new API provides
44
+ # support for granular connection swapping.
45
+ # Rails.application.config.active_record.legacy_connection_handling = false
46
+
47
+ # Make `form_with` generate non-remote forms by default.
48
+ # Rails.application.config.action_view.form_with_generates_remote_forms = false
49
+
50
+ # Set the default queue name for the analysis job to the queue adapter default.
51
+ # Rails.application.config.active_storage.queues.analysis = nil
52
+
53
+ # Set the default queue name for the purge job to the queue adapter default.
54
+ # Rails.application.config.active_storage.queues.purge = nil
55
+
56
+ # Set the default queue name for the incineration job to the queue adapter default.
57
+ # Rails.application.config.action_mailbox.queues.incineration = nil
58
+
59
+ # Set the default queue name for the routing job to the queue adapter default.
60
+ # Rails.application.config.action_mailbox.queues.routing = nil
61
+
62
+ # Set the default queue name for the mail deliver job to the queue adapter default.
63
+ # Rails.application.config.action_mailer.deliver_later_queue_name = nil
64
+
65
+ # Generate a `Link` header that gives a hint to modern browsers about
66
+ # preloading assets when using `javascript_include_tag` and `stylesheet_link_tag`.
67
+ # Rails.application.config.action_view.preload_links_header = true
@@ -0,0 +1,11 @@
1
+ # Define an application-wide HTTP permissions policy. For further
2
+ # information see https://developers.google.com/web/updates/2018/06/feature-policy
3
+ #
4
+ # Rails.application.config.permissions_policy do |f|
5
+ # f.camera :none
6
+ # f.gyroscope :none
7
+ # f.microphone :none
8
+ # f.usb :none
9
+ # f.fullscreen :self
10
+ # f.payment :self, "https://secure.example.com"
11
+ # end
@@ -27,7 +27,7 @@
27
27
  # 'true': 'foo'
28
28
  #
29
29
  # To learn more, please read the Rails Internationalization guide
30
- # available at http://guides.rubyonrails.org/i18n.html.
30
+ # available at https://guides.rubyonrails.org/i18n.html.
31
31
 
32
32
  en:
33
33
  hello: "Hello world"
@@ -0,0 +1,34 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
4
+
5
+ local:
6
+ service: Disk
7
+ root: <%= Rails.root.join("storage") %>
8
+
9
+ # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
+ # amazon:
11
+ # service: S3
12
+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
+ # region: us-east-1
15
+ # bucket: your_own_bucket
16
+
17
+ # Remember not to checkin your GCS keyfile to a repository
18
+ # google:
19
+ # service: GCS
20
+ # project: your_project
21
+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
+ # bucket: your_own_bucket
23
+
24
+ # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
+ # microsoft:
26
+ # service: AzureStorage
27
+ # storage_account_name: your_account_name
28
+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
+ # container: your_container_name
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
data/spec/dummy/config.ru CHANGED
@@ -3,3 +3,4 @@
3
3
  require_relative "config/environment"
4
4
 
5
5
  run Rails.application
6
+ Rails.application.load_server
@@ -10,8 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 2021_03_30_204121) do
14
-
13
+ ActiveRecord::Schema.define(version: 2020_10_05_164116) do
15
14
  # These are extensions that must be enabled in order to support this database
16
15
  enable_extension "plpgsql"
17
16
  enable_extension "uuid-ossp"
@@ -23,7 +22,6 @@ ActiveRecord::Schema.define(version: 2021_03_30_204121) do
23
22
  t.uuid "company_uuid", null: false
24
23
  t.json "event_json", null: false
25
24
  t.datetime "created_at"
26
- t.text "event_type"
27
25
  t.index ["created_at"], name: "index_nulogy_mb_producer_subscription_events_on_created_at"
28
26
  end
29
27
 
@@ -37,5 +35,4 @@ ActiveRecord::Schema.define(version: 2021_03_30_204121) do
37
35
  t.datetime "updated_at", null: false
38
36
  t.index ["event_type"], name: "index_nulogy_mb_producer_subscriptions_on_event_type"
39
37
  end
40
-
41
38
  end
@@ -14,9 +14,7 @@ RSpec.describe NulogyMessageBusProducer::RepopulateReplicationSlots do
14
14
  cleanup_everything
15
15
  end
16
16
 
17
- # TODO: This test is incredibly flakey.
18
- # It rarely works in CI, and ocassionally works locally.
19
- xit "generates events" do
17
+ it "generates events", skip: flakey_in_ci do
20
18
  Kafka.create_topic(topic_name)
21
19
  consumer = Kafka.setup_kafka_consumer(topic_name)
22
20
 
data/spec/spec_helper.rb CHANGED
@@ -56,4 +56,5 @@ RSpec.configure do |config|
56
56
  end
57
57
 
58
58
  config.include(SubscriptionHelpers)
59
+ config.extend(Skip)
59
60
  end
@@ -0,0 +1,9 @@
1
+ module Skip
2
+ def flakey_in_ci
3
+ if ENV.fetch("CI", false)
4
+ "This spec is terribly flakey in CI, so we only run it locally"
5
+ else
6
+ false
7
+ end
8
+ end
9
+ end
@@ -40,8 +40,6 @@ module NulogyMessageBusProducer
40
40
  end
41
41
 
42
42
  class TestSchema < GraphQL::Schema
43
- use GraphQL::Execution::Interpreter
44
- use GraphQL::Analysis::AST
45
43
  use NulogyMessageBusProducer::Subscriptions::PostgresTransport
46
44
 
47
45
  query TestQuery
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nulogy_message_bus_producer
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.alpha
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nulogy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.4
19
+ version: 1.13.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: 1.11.4
26
+ version: 1.13.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: rails
28
+ name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5'
33
+ version: '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: '5'
40
+ version: '5.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler-audit
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.7.0.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: listen
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.5'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: pg
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +108,20 @@ dependencies:
94
108
  - - ">="
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '6'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '6'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: rake
99
127
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +236,7 @@ dependencies:
208
236
  version: 1.40.0
209
237
  description: Nulogy's code for producing to the Message Bus
210
238
  email:
211
- - tass@nulogy.com
239
+ - platform-engineering@nulogy.com
212
240
  executables: []
213
241
  extensions: []
214
242
  extra_rdoc_files: []
@@ -217,7 +245,6 @@ files:
217
245
  - Rakefile
218
246
  - db/migrate/20200611150212_create_public_subscriptions_and_events_tables.rb
219
247
  - db/migrate/20201005150212_rename_tenant_id_and_public.rb
220
- - db/migrate/20210330204121_add_event_type_to_subscription_events.rb
221
248
  - lib/nulogy_message_bus_producer.rb
222
249
  - lib/nulogy_message_bus_producer/application_record.rb
223
250
  - lib/nulogy_message_bus_producer/base_subscription.rb
@@ -270,20 +297,22 @@ files:
270
297
  - spec/dummy/config/initializers/application_controller_renderer.rb
271
298
  - spec/dummy/config/initializers/assets.rb
272
299
  - spec/dummy/config/initializers/backtrace_silencers.rb
300
+ - spec/dummy/config/initializers/content_security_policy.rb
273
301
  - spec/dummy/config/initializers/cookies_serializer.rb
274
302
  - spec/dummy/config/initializers/filter_parameter_logging.rb
275
303
  - spec/dummy/config/initializers/inflections.rb
276
304
  - spec/dummy/config/initializers/mime_types.rb
305
+ - spec/dummy/config/initializers/new_framework_defaults_6_1.rb
306
+ - spec/dummy/config/initializers/permissions_policy.rb
277
307
  - spec/dummy/config/initializers/wrap_parameters.rb
278
308
  - spec/dummy/config/locales/en.yml
279
309
  - spec/dummy/config/puma.rb
280
310
  - spec/dummy/config/routes.rb
281
311
  - spec/dummy/config/secrets.yml
282
312
  - spec/dummy/config/spring.rb
313
+ - spec/dummy/config/storage.yml
283
314
  - spec/dummy/db/migrate/20201005164116_create_active_storage_tables.active_storage.rb
284
315
  - spec/dummy/db/schema.rb
285
- - spec/dummy/log/development.log
286
- - spec/dummy/log/test.log
287
316
  - spec/dummy/package.json
288
317
  - spec/dummy/public/404.html
289
318
  - spec/dummy/public/422.html
@@ -299,7 +328,6 @@ files:
299
328
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/postgres_transport_spec.rb
300
329
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/query_validator_spec.rb
301
330
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker_spec.rb
302
- - spec/integration/lib/nulogy_message_bus_producer_spec.rb
303
331
  - spec/integration_spec_helper.rb
304
332
  - spec/nulogy_message_bus_producer/configuration/query_parser_spec.rb
305
333
  - spec/nulogy_message_bus_producer/subscriptions/subscription_spec.rb
@@ -307,6 +335,7 @@ files:
307
335
  - spec/support/kafka.rb
308
336
  - spec/support/kafka_connect.rb
309
337
  - spec/support/shared_examples/subscription_validations.rb
338
+ - spec/support/skip.rb
310
339
  - spec/support/spec_utils.rb
311
340
  - spec/support/sql_helpers.rb
312
341
  - spec/support/subscription_helpers.rb
@@ -320,92 +349,94 @@ require_paths:
320
349
  - lib
321
350
  required_ruby_version: !ruby/object:Gem::Requirement
322
351
  requirements:
323
- - - "~>"
352
+ - - ">="
324
353
  - !ruby/object:Gem::Version
325
- version: '2.0'
354
+ version: '2.6'
326
355
  required_rubygems_version: !ruby/object:Gem::Requirement
327
356
  requirements:
328
- - - ">"
357
+ - - ">="
329
358
  - !ruby/object:Gem::Version
330
- version: 1.3.1
359
+ version: '0'
331
360
  requirements: []
332
- rubygems_version: 3.0.3
361
+ rubygems_version: 3.2.15
333
362
  signing_key:
334
363
  specification_version: 4
335
364
  summary: Nulogy's code for producing to the Message Bus
336
365
  test_files:
337
- - spec/spec_helper.rb
338
- - spec/dummy/app/mailers/application_mailer.rb
339
- - spec/dummy/app/models/application_record.rb
340
- - spec/dummy/app/jobs/application_job.rb
366
+ - spec/dummy/Rakefile
367
+ - spec/dummy/app/assets/config/manifest.js
368
+ - spec/dummy/app/assets/javascripts/application.js
369
+ - spec/dummy/app/assets/javascripts/cable.js
370
+ - spec/dummy/app/assets/stylesheets/application.css
371
+ - spec/dummy/app/channels/application_cable/channel.rb
372
+ - spec/dummy/app/channels/application_cable/connection.rb
341
373
  - spec/dummy/app/controllers/application_controller.rb
342
374
  - spec/dummy/app/controllers/dummy_controller.rb
375
+ - spec/dummy/app/helpers/application_helper.rb
376
+ - spec/dummy/app/jobs/application_job.rb
377
+ - spec/dummy/app/mailers/application_mailer.rb
378
+ - spec/dummy/app/models/application_record.rb
343
379
  - spec/dummy/app/views/layouts/application.html.erb
344
380
  - spec/dummy/app/views/layouts/mailer.html.erb
345
381
  - spec/dummy/app/views/layouts/mailer.text.erb
346
- - spec/dummy/app/assets/config/manifest.js
347
- - spec/dummy/app/assets/javascripts/cable.js
348
- - spec/dummy/app/assets/javascripts/application.js
349
- - spec/dummy/app/assets/stylesheets/application.css
350
- - spec/dummy/app/helpers/application_helper.rb
351
- - spec/dummy/app/channels/application_cable/connection.rb
352
- - spec/dummy/app/channels/application_cable/channel.rb
353
- - spec/dummy/bin/update
382
+ - spec/dummy/bin/bundle
383
+ - spec/dummy/bin/rails
354
384
  - spec/dummy/bin/rake
355
385
  - spec/dummy/bin/setup
356
- - spec/dummy/bin/bundle
386
+ - spec/dummy/bin/update
357
387
  - spec/dummy/bin/yarn
358
- - spec/dummy/bin/rails
359
- - spec/dummy/config/secrets.yml
360
- - spec/dummy/config/routes.rb
361
- - spec/dummy/config/locales/en.yml
388
+ - spec/dummy/config/application.rb
389
+ - spec/dummy/config/boot.rb
362
390
  - spec/dummy/config/cable.yml
363
- - spec/dummy/config/environments/production.rb
391
+ - spec/dummy/config/database.yml
392
+ - spec/dummy/config/environment.rb
364
393
  - spec/dummy/config/environments/development.rb
394
+ - spec/dummy/config/environments/production.rb
365
395
  - spec/dummy/config/environments/test.rb
366
- - spec/dummy/config/spring.rb
367
- - spec/dummy/config/environment.rb
368
- - spec/dummy/config/application.rb
369
- - spec/dummy/config/puma.rb
370
- - spec/dummy/config/database.yml
371
- - spec/dummy/config/boot.rb
372
396
  - spec/dummy/config/initializers/application_controller_renderer.rb
373
- - spec/dummy/config/initializers/backtrace_silencers.rb
374
- - spec/dummy/config/initializers/mime_types.rb
375
- - spec/dummy/config/initializers/filter_parameter_logging.rb
376
- - spec/dummy/config/initializers/wrap_parameters.rb
377
397
  - spec/dummy/config/initializers/assets.rb
398
+ - spec/dummy/config/initializers/backtrace_silencers.rb
399
+ - spec/dummy/config/initializers/content_security_policy.rb
378
400
  - spec/dummy/config/initializers/cookies_serializer.rb
401
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
379
402
  - spec/dummy/config/initializers/inflections.rb
403
+ - spec/dummy/config/initializers/mime_types.rb
404
+ - spec/dummy/config/initializers/new_framework_defaults_6_1.rb
405
+ - spec/dummy/config/initializers/permissions_policy.rb
406
+ - spec/dummy/config/initializers/wrap_parameters.rb
407
+ - spec/dummy/config/locales/en.yml
408
+ - spec/dummy/config/puma.rb
409
+ - spec/dummy/config/routes.rb
410
+ - spec/dummy/config/secrets.yml
411
+ - spec/dummy/config/spring.rb
412
+ - spec/dummy/config/storage.yml
380
413
  - spec/dummy/config.ru
381
- - spec/dummy/Rakefile
382
- - spec/dummy/public/favicon.ico
414
+ - spec/dummy/db/migrate/20201005164116_create_active_storage_tables.active_storage.rb
415
+ - spec/dummy/db/schema.rb
416
+ - spec/dummy/package.json
417
+ - spec/dummy/public/404.html
383
418
  - spec/dummy/public/422.html
384
- - spec/dummy/public/apple-touch-icon.png
385
419
  - spec/dummy/public/500.html
386
- - spec/dummy/public/404.html
387
420
  - spec/dummy/public/apple-touch-icon-precomposed.png
388
- - spec/dummy/package.json
389
- - spec/dummy/db/schema.rb
390
- - spec/dummy/db/migrate/20201005164116_create_active_storage_tables.active_storage.rb
391
- - spec/dummy/log/test.log
392
- - spec/dummy/log/development.log
393
- - spec/integration_spec_helper.rb
394
- - spec/integration/lib/nulogy_message_bus_producer_spec.rb
395
- - spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb
421
+ - spec/dummy/public/apple-touch-icon.png
422
+ - spec/dummy/public/favicon.ico
396
423
  - spec/integration/lib/nulogy_message_bus_producer/config_spec.rb
397
- - spec/integration/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker_spec.rb
424
+ - spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb
425
+ - spec/integration/lib/nulogy_message_bus_producer/subscription_spec.rb
398
426
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/finder_spec.rb
427
+ - spec/integration/lib/nulogy_message_bus_producer/subscriptions/no_variables_spec.rb
399
428
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/postgres_transport_spec.rb
400
429
  - spec/integration/lib/nulogy_message_bus_producer/subscriptions/query_validator_spec.rb
401
- - spec/integration/lib/nulogy_message_bus_producer/subscriptions/no_variables_spec.rb
402
- - spec/integration/lib/nulogy_message_bus_producer/subscription_spec.rb
403
- - spec/support/kafka_connect.rb
404
- - spec/support/subscription_helpers.rb
430
+ - spec/integration/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker_spec.rb
431
+ - spec/integration_spec_helper.rb
432
+ - spec/nulogy_message_bus_producer/configuration/query_parser_spec.rb
433
+ - spec/nulogy_message_bus_producer/subscriptions/subscription_spec.rb
434
+ - spec/spec_helper.rb
405
435
  - spec/support/kafka.rb
436
+ - spec/support/kafka_connect.rb
437
+ - spec/support/shared_examples/subscription_validations.rb
438
+ - spec/support/skip.rb
406
439
  - spec/support/spec_utils.rb
407
440
  - spec/support/sql_helpers.rb
408
- - spec/support/shared_examples/subscription_validations.rb
441
+ - spec/support/subscription_helpers.rb
409
442
  - spec/support/test_graphql_schema.rb
410
- - spec/nulogy_message_bus_producer/configuration/query_parser_spec.rb
411
- - spec/nulogy_message_bus_producer/subscriptions/subscription_spec.rb
@@ -1,9 +0,0 @@
1
- class AddEventTypeToSubscriptionEvents < ActiveRecord::Migration[5.2]
2
- def up
3
- add_column :message_bus_subscription_events, :event_type, :text
4
- end
5
-
6
- def down
7
- remove_column :message_bus_subscription_events, :event_type
8
- end
9
- end