Package com.morpheusdata.core.providers
Interface SystemProvider
- All Superinterfaces:
PluginProvider
Provides a set of interface methods for integration with a vme manager
System- Since:
- 1.2.10
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.PluginProvider
PluginProvider.EventSubscriberFacet<E extends Event> -
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceResponseaddSystemComponent(System system, SystemRequest systemRequest, SystemComponentType componentType) This method is called when adding an additional component to an existing system (adding a new host, storage array etc)default ServiceResponsedeleteSystem(System system) Perform any cleanup/state reset operations required on removal of a systemGrabs the description for the SystemProvidergetIcon()Returns the logo for display.Provides a Collection ofSystemComponentTypewhich are supported for this system providerProvides a collection ofSystemTypeLayoutwhich are supported by this system provider.Providers a collection of system types that are supported by this providerdefault ServiceResponseinitializeSystem(System system, SystemRequest systemRequest) This method is executed post initialization workflows have been executed.default ServiceResponseprepareInitializeSystem(System system, SystemRequest systemRequest) This phase is run prior to exeucting the system initialization workflows.default ServiceResponseprepareUpdateSystem(System system, SystemRequest systemRequest) This phase is run prior to executing the system update workflows.default ServiceResponserefreshSystem(System system) This method is bound to a periodic job that is executed by the VME Manager.default ServiceResponserefreshSystemDaily(System system) Executed once a day, perform any desireable action on a daily intervaldefault ServiceResponseupdateSystem(System system, SystemRequest systemRequest) This method is executed post update workflows for the given system.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
-
Method Details
-
getDescription
String getDescription()Grabs the description for the SystemProvider- Returns:
- String
-
getIcon
Icon getIcon()Returns the logo for display. SVGs are preferred.- Returns:
- Icon representation of assets stored in the src/assets of the project.
-
getSystemComponentTypes
Collection<SystemComponentType> getSystemComponentTypes()Provides a Collection ofSystemComponentTypewhich are supported for this system provider -
getSystemTypes
Collection<SystemType> getSystemTypes()Providers a collection of system types that are supported by this provider -
getSystemTypeLayouts
Collection<SystemTypeLayout> getSystemTypeLayouts()Provides a collection ofSystemTypeLayoutwhich are supported by this system provider. These layouts map the resources which are maintained, configured, updated by the provider implementation -
prepareInitializeSystem
This phase is run prior to exeucting the system initialization workflows. In this phase you can perform any form up pre initialization checks, additional input validations, etc.- Parameters:
system-- Returns:
-
initializeSystem
This method is executed post initialization workflows have been executed. Not required to implement.- Parameters:
system-- Returns:
-
prepareUpdateSystem
This phase is run prior to executing the system update workflows. Perform any pre checks, validations, or resource auditing here.- Parameters:
system-- Returns:
-
updateSystem
This method is executed post update workflows for the given system.- Parameters:
system-- Returns:
-
deleteSystem
Perform any cleanup/state reset operations required on removal of a system- Parameters:
system-- Returns:
-
refreshSystem
This method is bound to a periodic job that is executed by the VME Manager.- Parameters:
system-- Returns:
-
refreshSystemDaily
Executed once a day, perform any desireable action on a daily interval- Parameters:
system-- Returns:
-
addSystemComponent
default ServiceResponse addSystemComponent(System system, SystemRequest systemRequest, SystemComponentType componentType) This method is called when adding an additional component to an existing system (adding a new host, storage array etc)- Parameters:
system-systemRequest-componentType-- Returns:
-