Skip to content
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 model associations for containers graph refresh #15298

Merged
merged 1 commit into from
Jun 5, 2017

Conversation

cben
Copy link
Contributor

@cben cben commented Jun 5, 2017

Extracted from #14337.
(simplified a couple things, see afe06d6)

The plan is after this we can finish up
ManageIQ/manageiq-providers-kubernetes#30

@agrare @Ladas @zeari please review

@miq-bot
Copy link
Member

miq-bot commented Jun 5, 2017

Checked commit cben@9962000 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks fine. 🏆

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@agrare agrare merged commit 250308a into ManageIQ:master Jun 5, 2017
@chessbyte chessbyte added this to the Sprint 62 Ending Jun 5, 2017 milestone Jun 7, 2017
has_many :container_env_vars, :through => :container_definitions
has_many :security_contexts, :through => :container_definitions
has_many :container_service_port_configs, :through => :container_services
has_many :container_routes, :through => :container_services
Copy link

@zeari zeari Jun 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this how we get routes? i thought ems was their direct parent

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants