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
Add tenant for matching assigned chargeback rate #9005
Add tenant for matching assigned chargeback rate #9005
Conversation
@miq-bot add-label wip |
50f0b26
to
963065b
Compare
@miq-bot add-label blocker |
@lpichler Why we should add the current tenant of user? |
and selection is here:
Maybe we should think we what we will do if for the current tenant there is no such assigment Does it make sense to you ? |
Yeah you're right :) . Thanks @lpichler |
I realized another thing. @aljesusg or maybe it should not be a current user. so I think that we should determine tenant for somehow from metric rollup records (perf) So my other proposal is to use
@gtanzillo What do you think about using It seems ok to me because there is basically the same thing but drawback can be perfomance, but logically it sounds good to me. Thanks! |
963065b
to
46a709c
Compare
46a709c
to
75b08e3
Compare
@miq-bot remove-label wip |
I added resource's tenant to parents with spec. @aljesusg @gtanzillo please review |
Checked commits lpichler/manageiq@3ca68f6~...75b08e3 with ruby 2.2.4, rubocop 0.37.2, and haml-lint 0.16.1 |
👍 Looks good! |
Add tenant for matching assigned chargeback rate (cherry picked from commit ccca15a)
https://bugzilla.redhat.com/show_bug.cgi?id=1337657
we are not considering current tenant when we want to determine assigned rate,
so
I am making suggestion for you @aljesusg, what do you think ?
cc @gtanzillo