Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused salesforce streaming code #1226

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ gem 'oj_mimic_json'
# CORS for local testing/dev
gem 'rack-cors'

# Salesforce streaming API
gem 'cookiejar', git: 'https://github.com/MissionCapital/cookiejar.git'
gem 'faye', '0.8.9'

gem 'blazer'

group :development, :test do
Expand Down
27 changes: 0 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
GIT
remote: https://github.com/MissionCapital/cookiejar.git
revision: 68eecc8415338c6e9d636c4f7e4d2e13547e20a2
specs:
cookiejar (0.3.2)

GIT
remote: https://github.com/openstax/intl-tel-input-rails.git
revision: 3a63a495822d90bc9ca93e9541ef252fd7a0b50b
Expand Down Expand Up @@ -252,14 +246,6 @@ GEM
dry-equalizer (~> 0.2)
dry-logic (~> 0.4.2)
dry-types (~> 0.13.1)
em-http-request (1.1.7)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.2)
eventmachine (>= 1.0.0.beta.4)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
Expand All @@ -286,16 +272,6 @@ GEM
faraday (>= 0.8)
faraday_middleware (1.0.0)
faraday (~> 1.0)
faye (0.8.9)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.4.0)
rack (>= 1.0.0)
yajl-ruby (>= 1.0.0)
faye-websocket (0.11.1)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.15.4)
fine_print (6.0.1)
action_interceptor
Expand Down Expand Up @@ -761,7 +737,6 @@ GEM
will_paginate (3.3.0)
xpath (3.2.0)
nokogiri (~> 1.8)
yajl-ruby (1.4.2)

PLATFORMS
ruby
Expand Down Expand Up @@ -790,7 +765,6 @@ DEPENDENCIES
codecov
coffee-rails (= 5.0.0)
compass-rails (~> 3.1.0)
cookiejar!
database_cleaner
db-query-matchers
debase
Expand All @@ -806,7 +780,6 @@ DEPENDENCIES
fakeredis
faraday (~> 1.0.0)
faraday_middleware (~> 1.0.0)
faye (= 0.8.9)
fine_print
font-awesome-rails
guard-livereload (~> 2.5)
Expand Down
2 changes: 0 additions & 2 deletions app/models/push_topic.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/models/salesforce_streaming_replay.rb

This file was deleted.

99 changes: 0 additions & 99 deletions app/services/contact_parser.rb

This file was deleted.

57 changes: 0 additions & 57 deletions app/services/lead_parser.rb

This file was deleted.

45 changes: 0 additions & 45 deletions app/services/salesforce_contact_replay_handler.rb

This file was deleted.

101 changes: 0 additions & 101 deletions app/services/salesforce_subscriber.rb

This file was deleted.

10 changes: 10 additions & 0 deletions db/migrate/20240123173834_drop_streaming_tables.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class DropStreamingTables < ActiveRecord::Migration[5.2]
def up
drop_table :salesforce_streaming_replays
drop_table :push_topics
end

def down
raise ActiveRecord::IrreversibleMigration
end
end
Loading
Loading