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
Foreman configuration tags #2413
Conversation
22896ad
to
51057e9
Compare
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
|
51057e9
to
21b413a
Compare
1a3c924
to
6411c67
Compare
huh. works for me. Will need to nail this error down. If anyone gets a chance to review the structure of the classes, please let me know |
46ae5bb
to
c8a6a64
Compare
@@ -0,0 +1,24 @@ | |||
class CreateConfigurationTags < ActiveRecord::Migration | |||
def change | |||
create_table :configuration_tags, :id => :bigserial do |t| |
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.
per @gmcculloug: remove :id => :bigserial
c8a6a64
to
ca11072
Compare
acts_as_miq_taggable | ||
|
||
belongs_to :manager | ||
end |
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.
Should you have has_and_belongs_to_many relationships to point back to configuration_profile and configured_system?
ca11072
to
877bb2f
Compare
- architecture - domain - environment - realm
877bb2f
to
2357bba
Compare
Checked commits kbrock@8ef1005 .. kbrock@2357bba with rubocop 0.27.1 vmdb/db/migrate/20150324164033_create_configuration_tags.rb
vmdb/spec/models/ems_refresh/refreshers/foreman_refresher_spec.rb
|
LGTM @brandondunne Any comments? |
👍 Looks Good |
Here are some new foreman models.
I added an STI table for basic attributes called
ConfigurationTag
./cc @Fryguy Please let me know if you want to change the model names or have other pieces in mind
/cc @brandondunne @gmcculloug yay more foreman goodness
/cc @gmcculloug please review need automate / tagging