-
Notifications
You must be signed in to change notification settings - Fork 896
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
change aggregation mixin methods into virtual attributes #20149
Conversation
bba3159
to
3aeef98
Compare
e849e74
to
b27fb43
Compare
4af871f
to
3eb91c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh... some more spec suggestions...
🎹 💨
🙉 (ducks)
spec/support/examples_group/shared_examples_for_aggregation_mixin.rb
Outdated
Show resolved
Hide resolved
3eb91c5
to
2f28af3
Compare
2f28af3
to
354b7ee
Compare
Checked commit d-m-u@354b7ee with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @kbrock has covered anything remaining with the models.
I am much more happy with the specs now, thanks! And this PR is already drastically different from when I looked at it, so thanks for taking all the suggestions/changes. Looks good to me.
introduced in: ManageIQ#20149
introduced in: ManageIQ#20149 ``` 1) EmsClusterController#show render listnav partial correctly for timeline page Failure/Error: sdate, edate = @tl_record.first_and_last_event(@tl_options.evt_type) NameError: undefined local variable or method `all_host_ids' for #<EmsCluster:0x000055e3fd7fb930> Did you mean? all_relationship_ids ```
introduced in: ManageIQ#20149 ``` 1) EmsClusterController#show render listnav partial correctly for timeline page Failure/Error: sdate, edate = @tl_record.first_and_last_event(@tl_options.evt_type) NameError: undefined local variable or method `all_host_ids' for #<EmsCluster:0x000055e3fd7fb930> Did you mean? all_relationship_ids ```
fixes `ManageIQ::Providers::Google::CloudManager Inst Including Associations (0.1ms - 1rows) [----] F, [2020-06-17T13:58:28.726000 #394303:ae790] FATAL -- : Error caught: [NoMethodError] undefined method 'all_vms_and_templates'` from ManageIQ/manageiq#20284 @miq-bot add_label bug broken in ManageIQ/manageiq#20149
fixes `ManageIQ::Providers::Google::CloudManager Inst Including Associations (0.1ms - 1rows) [----] F, [2020-06-17T13:58:28.726000 #394303:ae790] FATAL -- : Error caught: [NoMethodError] undefined method 'all_vms_and_templates'` from ManageIQ/manageiq#20284 broken in ManageIQ/manageiq#20149
@h-kataria why do we want this backported to Jansa? Seems like it can live on master and get burned in for the Kasparov release. |
Keenan got this virtual aggregate stuff working and we should use it.
@miq-bot assign @kbrock