Skip to content

Commit

Permalink
Drop the graphql plugin and the references to it in the bundler group
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Nov 2, 2021
1 parent d684403 commit ea7c244
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,6 @@ group :rest_api, :manageiq_default do
manageiq_plugin "manageiq-api"
end

group :graphql_api do
# Note, you still need to mount the engine in the UI / rest api processes:
# mount ManageIQ::GraphQL::Engine, :at => '/graphql'
manageiq_plugin "manageiq-graphql"
end

group :scheduler, :manageiq_default do
gem "rufus-scheduler"
end
Expand Down
2 changes: 1 addition & 1 deletion app/models/miq_ui_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def friendly_name
include MiqWorker::ServiceWorker

def self.bundler_groups
%w[manageiq_default ui_dependencies graphql_api]
%w[manageiq_default ui_dependencies]
end

def self.kill_priority
Expand Down
2 changes: 1 addition & 1 deletion app/models/miq_web_service_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def self.bundler_groups
# TODO: The api process now looks at the existing UI session as of: https://github.com/ManageIQ/manageiq-api/pull/543
# ui-classic should not be but is serialializing its classes into session, so we need to have access to them for deserialization
# sandboxes;FC:-ActiveSupport::HashWithIndifferentAccess{I"dashboard;FC;q{I"perf_options;FS:0ApplicationController::Performance::Options$typ0:daily_date0:hourly_date0: days0:
%w[manageiq_default ui_dependencies graphql_api]
%w[manageiq_default ui_dependencies]
end

def self.kill_priority
Expand Down
2 changes: 1 addition & 1 deletion systemd/manageiq-ui@.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Wants=httpd.service
WantedBy=manageiq-ui.target
[Service]
WorkingDirectory=/var/www/miq/vmdb
Environment=BUNDLER_GROUPS=manageiq_default,ui_dependencies,graphql_api
Environment=BUNDLER_GROUPS=manageiq_default,ui_dependencies
EnvironmentFile=/etc/default/manageiq*.properties
ExecStart=/usr/bin/ruby lib/workers/bin/run_single_worker.rb MiqUiWorker --heartbeat --guid=%i
User=manageiq
Expand Down
2 changes: 1 addition & 1 deletion systemd/manageiq-web_service@.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Wants=httpd.service
WantedBy=manageiq-web_service.target
[Service]
WorkingDirectory=/var/www/miq/vmdb
Environment=BUNDLER_GROUPS=manageiq_default,ui_dependencies,graphql_api
Environment=BUNDLER_GROUPS=manageiq_default,ui_dependencies
EnvironmentFile=/etc/default/manageiq*.properties
ExecStart=/usr/bin/ruby lib/workers/bin/run_single_worker.rb MiqWebServiceWorker --heartbeat --guid=%i
User=manageiq
Expand Down

0 comments on commit ea7c244

Please sign in to comment.