-
Notifications
You must be signed in to change notification settings - Fork 899
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
Adds cloud_services table #8093
Conversation
t.string :binary | ||
t.string :hostname | ||
t.string :status | ||
t.boolean :scheduling |
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.
probably adding scheduling_enabled or disabled, based on what it means
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.
We have scheduling_disabled_reason there too... so this push me to using scheduling_disabled but I think scheduling_enabled seems more appropriate.... what do you think?
Update: renamed to scheduling_disabled
396608f
to
859d8c7
Compare
maybe I would call it host_name and zone_name, but it can be like it is now. Looks good to me now 👍 |
create_table :cloud_services do |t| | ||
t.string :ems_ref | ||
t.string :source | ||
t.string :binary |
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.
What are source
and binary
? These names are too ambiguous right now. If you give me a decent explanation, I could help with a better column name.
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.
Expanations are here for source and here for binary. I have a comment on binary
below in this PR thread
@petrblaho I think I asked this in another PR (not sure which)... What's the difference between a In other words, could the fields being added to this new I'm not sure I understand the distinction here. |
Answering my own question... Just talked to @Ladas about this. He said that We would have a |
@blomquisg I think answers for your inline questions can be found in discussion at #7996 - @Fryguy already asked similar questions. And as I can see you already has the answer for CloudService vs. SystemService. |
@blomquisg zonename, hostname and binary are coming from Fog Compute Service model - so I need to store that to match CloudService with AvailabilityZone, Host and SystemService from MIQ models. |
Aside from my comments, everything else looks fine, though I do question the EDIT: My thoughts on |
@Fryguy And I should probably rename |
I like this better.
|
yeah exectuable_name sounds great...very clear. |
Summary of a conversation from https://gitter.im/ManageIQ/manageiq/providers
Thanks @petrblaho !! |
859d8c7
to
d6bb43b
Compare
Looks great @petrblaho ...if you could align the symbols for style, then this is good to go. |
This table will be used for CloudService model.
d6bb43b
to
c99b526
Compare
LGTM 👍 will merge when green. |
Checked commit petrblaho@c99b526 with ruby 2.2.3, rubocop 0.37.2, and haml-lint 0.16.1 |
This table will be used for CloudService model.
EDIT (@blomquisg): Pulled from #7996