Modifier and Type | Method and Description |
---|---|
ServiceInfo |
AmbariMetaInfo.getService(Service service)
Convenience method to use stack id instead of separate name and version.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AmbariManagementControllerImpl.filterHostsForAction(Set<String> candidateHosts,
Service service,
Cluster cluster,
Resource.Type level)
Utility method that filters out hosts from set based on their maintenance
state status.
|
protected ServiceComponent |
AmbariManagementControllerImpl.getClientComponentForRunningAction(Cluster cluster,
Service service) |
protected String |
AmbariManagementControllerImpl.getClientHostForRunningAction(Cluster cluster,
Service service,
ServiceComponent serviceComponent) |
TreeMap<String,MetadataServiceInfo> |
AmbariManagementControllerImpl.getMetadataServiceLevelParams(Service service) |
void |
AmbariManagementController.initializeWidgetsAndLayouts(Cluster cluster,
Service service)
Initialize cluster scoped widgets and widgetLayouts for different stack
components.
|
void |
AmbariManagementControllerImpl.initializeWidgetsAndLayouts(Cluster cluster,
Service service) |
boolean |
MaintenanceStateHelper.isOperationAllowed(Resource.Type level,
Service service) |
Modifier and Type | Method and Description |
---|---|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs) |
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo) |
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
protected RequestStageContainer |
AmbariManagementControllerImpl.doStageCreation(RequestStageContainer requestStages,
Cluster cluster,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComps,
Map<String,Map<State,List<ServiceComponentHost>>> changedScHosts,
Map<String,String> requestParameters,
Map<String,String> requestProperties,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useLatestConfigs,
boolean useClusterHostInfo) |
Modifier and Type | Method and Description |
---|---|
Service |
MaintenanceModeEvent.getService()
Gets the service that had the direct maintenance mode event, or
null if the event was not directly on a service. |
Constructor and Description |
---|
MaintenanceModeEvent(MaintenanceState state,
Service service)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<Service> |
RoleCommandOrder.getTransitiveServices(Service service,
RoleCommand cmd)
Returns transitive dependencies as a services list
|
Modifier and Type | Method and Description |
---|---|
Set<Service> |
RoleCommandOrder.getTransitiveServices(Service service,
RoleCommand cmd)
Returns transitive dependencies as a services list
|
Modifier and Type | Method and Description |
---|---|
CommandRepository |
RepositoryVersionHelper.getCommandRepository(Cluster cluster,
Service service,
Host host,
String componentName) |
Modifier and Type | Class and Description |
---|---|
class |
ServiceImpl |
Modifier and Type | Method and Description |
---|---|
Service |
Cluster.addService(String serviceName,
RepositoryVersionEntity repositoryVersion)
Add service to the cluster
|
Service |
ServiceFactory.createExisting(Cluster cluster,
ClusterServiceEntity serviceEntity)
Creates an in-memory representation of a service from an existing database
object.
|
Service |
ServiceFactory.createNew(Cluster cluster,
String serviceName,
RepositoryVersionEntity desiredRepositoryVersion)
Creates a new service in memory and then persists it to the database.
|
Service |
Cluster.getService(String serviceName)
Get a service
|
Service |
Cluster.getServiceByComponentName(String componentName)
Gets a service from the given component name.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Service> |
Cluster.getServices()
Get all services
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.addService(Service service)
Add a service to a cluster
|
ServiceComponent |
ServiceComponentFactory.createExisting(Service service,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
ServiceComponent |
ServiceComponentFactory.createNew(Service service,
String componentName) |
Map<String,Map<String,String>> |
ConfigHelper.getCredentialStoreEnabledProperties(StackId stackId,
Service service)
Gets a map of config types to password property names to password property value names,
that are credential store enabled.
|
Constructor and Description |
---|
ServiceComponentImpl(Service service,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity,
AmbariMetaInfo ambariMetaInfo,
ServiceComponentDesiredStateDAO serviceComponentDesiredStateDAO,
ClusterServiceDAO clusterServiceDAO,
HostComponentDesiredStateDAO hostComponentDesiredStateDAO,
ServiceComponentHostFactory serviceComponentHostFactory,
AmbariEventPublisher eventPublisher) |
ServiceComponentImpl(Service service,
String componentName,
AmbariMetaInfo ambariMetaInfo,
ServiceComponentDesiredStateDAO serviceComponentDesiredStateDAO,
ClusterServiceDAO clusterServiceDAO,
ServiceComponentHostFactory serviceComponentHostFactory,
AmbariEventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
Service |
ClusterImpl.addService(String serviceName,
RepositoryVersionEntity repositoryVersion)
Add service to the cluster
|
Service |
ClusterImpl.getService(String serviceName) |
Service |
ClusterImpl.getServiceByComponentName(String componentName) |
Modifier and Type | Method and Description |
---|---|
Map<String,Service> |
ClusterImpl.getServices() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterImpl.addService(Service service) |
Copyright © 2022 Apache Software Foundation. All rights reserved.