-
Notifications
You must be signed in to change notification settings - Fork 898
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
[Providers] Pluggability Checklist #19440
Comments
One thing @agrare is removing the need to check |
That's a good one @juliancheal, we can probably just drop the |
I had spoken to @chessbyte about that with respect to his EmsCluster changes (see here), and we came up with 2 possibilities
|
Created #19469 for refactoring VmScan code. |
@carbonin that absolutely covers that case |
@agrare This exists, which I am currently working on: ManageIQ/manageiq-gems-pending#403 Not sure where it fits into what you have at the moment. Sorry it took me so long to figure the |
Awesome thanks @NickLaMuro, added to the list and linked to your issue. |
For what it is worth, for the end goal of that ticket item:
That PR doesn't complete that, but just moves it back into the main repo via: Moving the |
This is one of those weird cases where even though it's S3, it's been argued that it doesn't belong in the amazon provider. The reasoning is that someone could use S3 as a File Depot, without requiring an Amazon provider and vice versa. This is sort of an independent pluggable thing. I didn't think this way previously, but now I'm leaning more towards that way. |
I got a green light from @Fryguy to move decorators, we might introduce external tests from the decorator library repo for providers using a similar approach to https://github.com/ManageIQ/manageiq/blob/master/lib/tasks/test_providers_common.rake |
I added a "Decorators" bullet to the checklist in the OP. @skateman Be sure that if there are any patterned changes that all providers need to implement, that they are first implemented in the provider generator and then blasted out to all existing providers. |
Update the spec test to not require a hard-coded exhaustive list of EMS types from all of the plugins ManageIQ#19440
Merged #20595, but wasn't sure which checklist item above to check off |
@Fryguy linked the pr and checked it off |
This is an ongoing list of items which need to be extracted out of core repos (manageiq, manageiq-api, manageiq-ui) and into plugins.
A continuation of #14840
Specs
These factories should be moved to their respective plugins and specs in core should be updated to not reference provider factories
vm_or_template
host
Providers
raw_*
methods for most of the VM Operations callrun_command_via_parent
and execute a method on the ExtManagementSystem. This pattern was initially for VMware where the connection logic was in the InfraManager and was copied to a lot of other providers. Theraw_*
methods in core should raise NotImplementedError and each provider should define how the methods are run.Refactor the .types and .supported_types EMS specs #20595
Core Pluggability
UI
The text was updated successfully, but these errors were encountered: