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

Remove prepend_namespace #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Jul 9, 2024

We do not use prepend_namespace
The feature is causing us to double the number of queries when looking up objects

@Fryguy you mentioned that we are not using this.
It was an extension mechanism added by tina that seems to not be leveraged.

I just put this into a PR so I didn't have to have a local branch and have to remember where I saw this issue.

We do not use prepend namespace
The feature is causing us to double the number of queries when
looking up objects
@miq-bot
Copy link
Member

miq-bot commented Jul 9, 2024

Checked commit kbrock@0885f24 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
6 files checked, 0 offenses detected
Everything looks fine. 🏆

@Fryguy
Copy link
Member

Fryguy commented Jul 9, 2024

Oh interesting. So the vendor part of this was part of an idea to create namespaces for plugins. Plugins could then own their own namespace or even domain, and then provide concrete implementations of things like provisioning and event handling, where the core automation engine would have generic stuff and call into plug-in specific stuff.

I don't believe this was ever completed, but do you see any vendor specific namespaces in manageiq-content?

cc @agrare

@Fryguy Fryguy self-assigned this Jul 10, 2024
@agrare
Copy link
Member

agrare commented Jul 10, 2024

I don't recognize any of this but I like the idea of moving provider specific automate bits into their respective plugins

@kbrock
Copy link
Member Author

kbrock commented Jul 11, 2024

@Fryguy I didn't look. I remember you saying that Tina introduced this but we never ended up using it (6 months ago when I was tracing automate), and I saw a branch yesterday and finally pushed it forward.

When tracing the queries and walking through the code, it is a distraction to me, especially knowing they are useless queries.

@Fryguy
Copy link
Member

Fryguy commented Jul 11, 2024

Yeah my only concern is that there is already some vendor namespaces built, that this would effectively break. If not, then I think we can merge.

@miq-bot miq-bot added the stale label Oct 14, 2024
@miq-bot
Copy link
Member

miq-bot commented Oct 14, 2024

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s).

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.

4 participants