public class RecommendationResourceProvider extends StackAdvisorResourceProvider
AbstractResourceProvider.Command<T>CONFIGURATIONS_PROPERTY_ID, saHelper, STACK_NAME_PROPERTY_ID, STACK_VERSION_PROPERTY_ID, USER_CONTEXT_OPERATION_DETAILS_PROPERTY, USER_CONTEXT_OPERATION_PROPERTYPROPERTIES_ATTRIBUTES_REGEX| Modifier | Constructor and Description |
|---|---|
protected |
RecommendationResourceProvider(AmbariManagementController managementController) |
| Modifier and Type | Method and Description |
|---|---|
RequestStatus |
createResources(Request request)
Create the resources defined by the properties in the given request object.
|
protected Set<String> |
getPKPropertyIds()
Get the set of property ids that uniquely identify the resources
of this provider.
|
protected String |
getRequestTypePropertyId() |
calculateChangedConfigurations, calculateConfigGroups, calculateConfigGroups, calculateConfigurations, calculateConfigurations, getRequestProperty, init, prepareStackAdvisorRequest, readUserContextamendPredicate, deleteResources, getResources, updateResourcesgetClusterId, getClusterResourceId, getClusterResourceId, getManagementController, getResourceProvider, getResourceProvider, initcreateResourcesAuthorized, deleteResourcesAuthorized, getRequiredCreateAuthorizations, getRequiredDeleteAuthorizations, getRequiredGetAuthorizations, getRequiredUpdateAuthorizations, getResourceId, getResourcesAuthorized, getResourceType, isAuthorizedToCreateResources, isAuthorizedToDeleteResources, isAuthorizedToGetResources, isAuthorizedToUpdateResources, setRequiredCreateAuthorizations, setRequiredDeleteAuthorizations, setRequiredGetAuthorizations, setRequiredUpdateAuthorizations, updateResourcesAuthorizedaddObserver, createResources, getConfigurationRequests, getKeyPropertyIds, getPropertyMaps, getPropertyMaps, getQueryParameterValue, getRequestStatus, getRequestStatus, getRequestStatus, getResources, modifyResources, notifyCreate, notifyDelete, notifyUpdate, parseProperties, updateObserverscheckCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourcePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPropertyIdsprotected static final String RECOMMENDATION_ID_PROPERTY_ID
protected static final String CLUSTER_ID_PROPERTY_ID
protected static final String SERVICE_NAME_PROPERTY_ID
protected static final String AUTO_COMPLETE_PROPERTY_ID
protected static final String CONFIGS_RESPONSE_PROPERTY_ID
protected static final String HOSTS_PROPERTY_ID
protected static final String SERVICES_PROPERTY_ID
protected static final String RECOMMEND_PROPERTY_ID
protected static final String RECOMMENDATIONS_PROPERTY_ID
protected static final String CONFIG_GROUPS_PROPERTY_ID
protected static final String BLUEPRINT_PROPERTY_ID
protected static final String BLUEPRINT_CONFIGURATIONS_PROPERTY_ID
protected static final String BLUEPRINT_HOST_GROUPS_PROPERTY_ID
protected static final String BLUEPRINT_HOST_GROUPS_NAME_PROPERTY_ID
protected static final String BLUEPRINT_HOST_GROUPS_COMPONENTS_PROPERTY_ID
protected static final String BINDING_HOST_GROUPS_PROPERTY_ID
protected static final String BINDING_HOST_GROUPS_NAME_PROPERTY_ID
protected static final String BINDING_HOST_GROUPS_HOSTS_PROPERTY_ID
protected static final String CHANGED_CONFIGURATIONS_PROPERTY_ID
protected static final String BINDING_PROPERTY_ID
protected static final String USER_CONTEXT_PROPERTY_ID
protected static final String USER_CONTEXT_OPERATION_PROPERTY_ID
protected static final String USER_CONTEXT_OPERATION_DETAILS_PROPERTY_ID
protected RecommendationResourceProvider(AmbariManagementController managementController)
protected String getRequestTypePropertyId()
getRequestTypePropertyId in class StackAdvisorResourceProviderpublic RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException
AbstractAuthorizedResourceProvidercreateResources in interface ResourceProvidercreateResources in class ReadOnlyResourceProviderrequest - the request object which defines the set of properties
for the resources to be createdSystemException - an internal system exception occurredAuthorizationException - if the authenticated user is not authorized to perform this operationUnsupportedPropertyException - the request contains unsupported property idsResourceAlreadyExistsException - attempted to create a resource which already existsNoSuchParentResourceException - a parent resource of the resource to create doesn't existprotected Set<String> getPKPropertyIds()
AbstractResourceProvidergetPKPropertyIds in class AbstractResourceProviderCopyright © 2022 Apache Software Foundation. All rights reserved.