Skip to content

Instantly share code, notes, and snippets.

@syncrou
Created October 25, 2016 15:51
Show Gist options
  • Save syncrou/288cbd436e66f73d787a2a62ec5a1ad6 to your computer and use it in GitHub Desktop.
Save syncrou/288cbd436e66f73d787a2a62ec5a1ad6 to your computer and use it in GitHub Desktop.
object_request in MIQ
[dbomhof@syncrou ~/syncrou/manageiq (syncrou_master)]$ ack "object_request"
app/assets/javascripts/controllers/schedule/schedule_form_controller.js
74: $scope.scheduleModel.object_request = data.object_request;
216: $scope.scheduleModel.object_request = data.object_request;
app/controllers/application_controller/automate.rb
17: @sb[:attrs][:request] = @resolve[:new][:object_request] # Add the request attribute value entered by the user
54: @edit[:new][:object_request] = @resolve[:new][:object_request]
app/controllers/application_controller/buttons.rb
98: @edit[:new][:object_request] = params[:object_request] if params[:object_request]
722: add_flash(_("Request is required"), :error) if @edit[:new][:object_request].blank?
740: button.uri_attributes["request"] = @edit[:new][:object_request]
813: @edit[:new][:object_request] = @custom_button.uri_attributes["request"]
949: @resolve[:new][:object_request] = @custom_button.uri_attributes["request"]
app/controllers/miq_ae_customization_controller/custom_buttons.rb
81: @resolve[:new][:object_request] = @custom_button.uri_attributes["request"]
app/controllers/miq_ae_tools_controller.rb
382: add_flash(_("Request is required"), :error) if @resolve[:new][:object_request].blank?
403: @resolve[:new][:object_request] = params[:object_request] if params.key?(:object_request)
app/controllers/miq_policy_controller/miq_actions.rb
101: @edit[:new][:options][:ae_request] = params[:object_request] if params[:object_request]
238: @edit[:new][:object_request] = @edit[:new][:options][:ae_request] unless @edit[:new][:options][:ae_request].nil?
347: @edit[:new][:object_request] = @edit[:new][:options][:ae_request] unless @edit[:new][:options][:ae_request].nil?
app/controllers/ops_controller/settings/automate_schedules.rb
13: :object_request => automate_request[:object_request],
46: automate_request[:object_request] = filter[:parameters][:object_request] || ""
app/controllers/ops_controller/settings/schedules.rb
173: :object_request => automate_request[:object_request],
517: :object_request => params[:object_request],
app/views/layouts/_ae_resolve_options.html.haml
40: = text_field_tag("object_request",
41: resolve[:new][:object_request],
app/views/layouts/angular-bootstrap/_ae_resolve_options.html.haml
24: .form-group{"ng-class" => "{'has-error': angularForm.object_request.$invalid}"}
25: %label.col-md-2.control-label{"for" => "object_request"}
29: "id" => "object_request",
30: "name" => "object_request",
31: "ng-model" => "scheduleModel.object_request",
34: %span.help-block{"ng-show" => "angularForm.object_request.$error.miqrequired"}
app/views/ops/_schedule_show.html.haml
66: = h(@selected_schedule.filter[:parameters][:object_request])
app/views/shared/buttons/_ab_show.html.haml
49: = h(@resolve[:new][:object_request])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment