id
stringlengths
7
14
text
stringlengths
1
106k
223551095_1263
public Set<String> doUpdateForClusterCreate() throws ConfigurationTopologyException { Set<String> configTypesUpdated = new HashSet<>(); Configuration clusterConfig = clusterTopology.getConfiguration(); doRecommendConfigurations(clusterConfig, configTypesUpdated); // filter out any properties that should not be ...
223551095_1264
public Set<String> doUpdateForClusterCreate() throws ConfigurationTopologyException { Set<String> configTypesUpdated = new HashSet<>(); Configuration clusterConfig = clusterTopology.getConfiguration(); doRecommendConfigurations(clusterConfig, configTypesUpdated); // filter out any properties that should not be ...
223551095_1265
public Set<String> doUpdateForClusterCreate() throws ConfigurationTopologyException { Set<String> configTypesUpdated = new HashSet<>(); Configuration clusterConfig = clusterTopology.getConfiguration(); doRecommendConfigurations(clusterConfig, configTypesUpdated); // filter out any properties that should not be ...
223551095_1266
@Override public Set<String> checkPropertyIds(Set<String> propertyIds) { propertyIds = super.checkPropertyIds(propertyIds); if (propertyIds.isEmpty()) { return propertyIds; } Set<String> unsupportedProperties = new HashSet<>(); for (String propertyId : propertyIds) { if (!propertyId.equals("config")) ...
223551095_1268
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resources = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1271
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Map<String, Object>> requestProps = getPropertyMaps(predicate); Set<Resource> reso...
223551095_1272
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Map<String, Object>> requestProps = getPropertyMaps(predicate); Set<Resource> reso...
223551095_1273
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { createResources(getCreateComma...
223551095_1274
@Override public RequestStatus updateResources(final Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { for (Resource resource : getResources(request, predicate)) { modifyResource...
223551095_1275
@Override public RequestStatus deleteResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { // get resources to update Set<Resource> setResources = getResources( new Req...
223551095_1276
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resources = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate); ...
223551095_1277
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<String> requestedIds = getRequestPropertyIds(request, predicate); Set<Resource> resources = new HashSet<>(); Set<...
223551095_1278
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<String> requestedIds = getRequestPropertyIds(request, predicate); Set<Resource> resources = new HashSet<>(); Set<...
223551095_1279
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<String> requestedIds = getRequestPropertyIds(request, predicate); Set<Resource> resources = new HashSet<>(); Set<...
223551095_1280
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<Resource> resources = new HashSet<>(); final Set<String> requestedIds = getRequestPropertyIds(request, predicat...
223551095_1281
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1282
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1283
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1284
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1285
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1286
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1287
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1288
@Override //todo: continue to use dao/entity directly or use blueprint factory? public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { List<BlueprintEntity> results = null; ...
223551095_1289
@Override //todo: continue to use dao/entity directly or use blueprint factory? public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { List<BlueprintEntity> results = null; ...
223551095_1290
@Override public RequestStatus deleteResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { //TODO (jspeidel): Revisit concurrency control Set<Resource> setResources = getResources( new Reque...
223551095_1291
@Override public RequestStatus deleteResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { //TODO (jspeidel): Revisit concurrency control Set<Resource> setResources = getResources( new Reque...
223551095_1292
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1293
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1294
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1295
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1296
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { for (Map<String, Object> properties : request.getProperties()) { try { createResources(getCreateCommand(propert...
223551095_1297
void populateConfigurationEntity(Map<String, String> configuration, BlueprintConfiguration configEntity) { BlueprintConfigPopulationStrategy p = decidePopulationStrategy(configuration); p.applyConfiguration(configuration, configEntity); }
223551095_1298
void populateConfigurationEntity(Map<String, String> configuration, BlueprintConfiguration configEntity) { BlueprintConfigPopulationStrategy p = decidePopulationStrategy(configuration); p.applyConfiguration(configuration, configEntity); }
223551095_1299
void populateConfigurationEntity(Map<String, String> configuration, BlueprintConfiguration configEntity) { BlueprintConfigPopulationStrategy p = decidePopulationStrategy(configuration); p.applyConfiguration(configuration, configEntity); }
223551095_1300
void populateConfigurationEntity(Map<String, String> configuration, BlueprintConfiguration configEntity) { BlueprintConfigPopulationStrategy p = decidePopulationStrategy(configuration); p.applyConfiguration(configuration, configEntity); }
223551095_1301
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1302
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1303
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1304
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1305
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1306
BlueprintConfigPopulationStrategy decidePopulationStrategy(Map<String, String> configuration) { if (configuration != null && !configuration.isEmpty()) { String keyEntry = configuration.keySet().iterator().next(); String[] keyNameTokens = keyEntry.split("/"); int levels = keyNameTokens.length; String p...
223551095_1307
List<Map<String, Map<String, Object>>> populateConfigurationList( Collection<? extends BlueprintConfiguration> configurations) throws NoSuchResourceException { List<Map<String, Map<String, Object>>> listConfigurations = new ArrayList<>(); for (BlueprintConfiguration config : configurations) { Map<String, Ma...
223551095_1308
public static List<Map<String, Object>> populateSettingList( Collection<? extends BlueprintSettingEntity> settings) throws NoSuchResourceException { List<Map<String, Object>> listSettings = new ArrayList<>(); if (settings != null) { for (BlueprintSettingEntity setting : settings) { List<Map<String...
223551095_1309
public static AmbariServerConfigurationKey getConfigurationKey(String category, String propertyName) { return getConfigurationKey(AmbariServerConfigurationCategory.translate(category), propertyName); }
223551095_1310
public static ConfigurationPropertyType getConfigurationPropertyType(String category, String propertyName) { return getConfigurationPropertyType(getConfigurationKey(category, propertyName)); }
223551095_1311
public static String getConfigurationPropertyTypeName(AmbariServerConfigurationCategory category, String propertyName) { final ConfigurationPropertyType configurationPropertyType = getConfigurationPropertyType(category, propertyName); return configurationPropertyType == null ? null : configurationPropertyType.name(...
223551095_1312
public static boolean isPassword(String category, String propertyName) { return isPassword(getConfigurationKey(category, propertyName)); }
223551095_1313
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { String name = getNameFromRequest(request); String descriptor = getRawKerberosDescriptorFromRequest(request); KerberosDescriptor ...
223551095_1314
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { String name = getNameFromRequest(request); String descriptor = getRawKerberosDescriptorFromRequest(request); KerberosDescriptor ...
223551095_1315
@Override public RequestStatus createResources(Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { String name = getNameFromRequest(request); String descriptor = getRawKerberosDescriptorFromRequest(request); KerberosDescriptor ...
223551095_1316
@Override protected Resource toResource(PrivilegeEntity privilegeEntity, Map<Long, UserEntity> userEntities, Map<Long, GroupEntity> groupEntities, Map<Long, PermissionEntity> roleEntities, Map<Long, O...
223551095_1317
@Override protected Resource toResource(PrivilegeEntity privilegeEntity, Map<Long, UserEntity> userEntities, Map<Long, GroupEntity> groupEntities, Map<Long, PermissionEntity> roleEntities, Map<Long, O...
223551095_1318
@Override protected Resource toResource(PrivilegeEntity privilegeEntity, Map<Long, UserEntity> userEntities, Map<Long, GroupEntity> groupEntities, Map<Long, PermissionEntity> roleEntities, Map<Long, O...
223551095_1319
@Override protected Resource toResource(PrivilegeEntity privilegeEntity, Map<Long, UserEntity> userEntities, Map<Long, GroupEntity> groupEntities, Map<Long, PermissionEntity> roleEntities, Map<Long, O...
223551095_1320
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<RootServiceHostComponentRequest> requests = new HashSet<>(); if (predicate == null) { requests.add(ge...
223551095_1321
public List<Predicate> getSimplifiedPredicates() { if (lastVisited == null) { return Collections.emptyList(); } if (lastVisited instanceof OrPredicate) { return Arrays.asList(((OrPredicate) lastVisited).getPredicates()); } return Collections.singletonList(lastVisited); }
223551095_1322
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<ExtensionRequest> requests = new HashSet<>(); if (predicate == null) { requests.add(getRequest(Collec...
223551095_1324
protected Map<String, PropertyInfo> getPropertyInfoMap(String componentName, String propertyId) { Map<String, PropertyInfo> propertyInfoMap = new HashMap<>(); updatePropertyInfoMap(componentName, propertyId, propertyInfoMap); return propertyInfoMap; }
223551095_1325
protected Map<String, PropertyInfo> getPropertyInfoMap(String componentName, String propertyId) { Map<String, PropertyInfo> propertyInfoMap = new HashMap<>(); updatePropertyInfoMap(componentName, propertyId, propertyInfoMap); return propertyInfoMap; }
223551095_1326
protected static String substituteArgument(String propertyId, String argName, String val) { // find the argument in the property id int argStart = propertyId.indexOf(argName); String value = val == null ? "" : val; if (argStart > -1) { // get the string segment starting with the given argument String ar...
223551095_1328
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<StackConfigurationRequest> requests = new HashSet<>(); if (predicate == null) { requests.add(getReque...
223551095_1329
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<StackConfigurationRequest> requests = new HashSet<>(); if (predicate == null) { requests.add(getReque...
223551095_1330
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { return getResources(new GetResourcesCommand(getPropertyMaps(predicate), getRequestPropertyIds(request, predicate))); }
223551095_1331
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<RootServiceComponentRequest> requests = new HashSet<>(); if (predicate == null) { requests.add(getReq...
223551095_1332
protected Resource toResource(ViewInstanceEntity viewInstanceEntity, Set<String> requestedIds) { Resource resource = new ResourceImpl(Resource.Type.ViewInstance); ViewEntity viewEntity = viewInstanceEntity.getViewEntity(); String viewName = viewEntity.getCommonName(); String version = viewEntity.getVersion...
223551095_1333
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<Map<String, Object>> requestMaps = getPropertyMaps(predicate); Set<String> requestedIds = getReque...
223551095_1334
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<Map<String, Object>> requestMaps = getPropertyMaps(predicate); Set<String> requestedIds = getReque...
223551095_1335
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<Map<String, Object>> requestMaps = getPropertyMaps(predicate); Set<String> requestedIds = getReque...
223551095_1336
public static ResourceProvider getResourceProvider(Resource.Type type, AmbariManagementController managementController) { switch (type.getInternalType()) { case Cluster: return new ClusterResourceProvider(managementController); case Service: retur...
223551095_1337
public static ResourceProvider getResourceProvider(Resource.Type type, AmbariManagementController managementController) { switch (type.getInternalType()) { case Cluster: return new ClusterResourceProvider(managementController); case Service: retur...
223551095_1338
public static ResourceProvider getResourceProvider(Resource.Type type, AmbariManagementController managementController) { switch (type.getInternalType()) { case Cluster: return new ClusterResourceProvider(managementController); case Service: retur...
223551095_1339
public static ResourceProvider getResourceProvider(Resource.Type type, AmbariManagementController managementController) { switch (type.getInternalType()) { case Cluster: return new ClusterResourceProvider(managementController); case Service: retur...
223551095_1340
public static ResourceProvider getResourceProvider(Resource.Type type, AmbariManagementController managementController) { switch (type.getInternalType()) { case Cluster: return new ClusterResourceProvider(managementController); case Service: retur...
223551095_1341
protected Resource toResource(Set<String> requestedIds, RemoteAmbariClusterEntity cluster) { Resource resource = new ResourceImpl(Resource.Type.RemoteCluster); setResourceProperty(resource, CLUSTER_NAME_PROPERTY_ID, cluster.getName(), requestedIds); setResourceProperty(resource, CLUSTER_ID_PROPERTY_ID, cluste...
223551095_1346
@Override public Iterable<Resource> getIterable() { return iterable; }
223551095_1347
@Override public int getOffset() { return offset; }
223551095_1348
@Override public Resource getPreviousResource() { return previousResource; }
223551095_1349
@Override public Resource getNextResource() { return nextResource; }
223551095_1350
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resourceSet = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1351
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resourceSet = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1352
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resourceSet = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1353
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resourceSet = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1354
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resourceSet = new HashSet<>(); Set<String> requestedIds = getRequestPropertyIds(request, predicate); ...
223551095_1355
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resources = new HashSet<>(); resources.addAll(getKerberosDescriptors(req...
223551095_1356
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resources = new HashSet<>(); resources.addAll(getKerberosDescriptors(req...
223551095_1357
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> resources = new HashSet<>(); resources.addAll(getKerberosDescriptors(req...
223551095_1358
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1359
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1360
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1361
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1362
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1363
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1364
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<Resource> results = new HashSet<>(); Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate)...
223551095_1365
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { final Set<ActionRequest> requests = new HashSet<>(); if (predicate != null) { for (Map<String, Object> property...
223551095_1366
protected static void validateRepositoryVersion(RepositoryVersionDAO dao, AmbariMetaInfo metaInfo, RepositoryVersionEntity repositoryVersion) throws AmbariException { validateRepositoryVersion(dao, metaInfo, repositoryVersion, false); }
223551095_1367
@Override public Set<Resource> getResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException { Set<String> requestPropertyIds = getRequestPropertyIds(request, predicate); // use a collection which preserves ord...
223551095_1368
@Override public RequestStatus createResources(final Request request) throws SystemException, UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException { createResources(new Command<Void>() { @Override public Void invoke() throws AmbariException, AuthorizationExceptio...
223551095_1369
@Override public void updateComponentCategory(String categoryName, Map<String, String> properties, boolean removePropertiesIfNotSpecified) throws AmbariException { // Use the default implementation of #updateComponentCategory; however if Ambari is managing the SSO implementations // always process them, even the of...
223551095_1370
@Override public void updateComponentCategory(String categoryName, Map<String, String> properties, boolean removePropertiesIfNotSpecified) throws AmbariException { // Use the default implementation of #updateComponentCategory; however if Ambari is managing the SSO implementations // always process them, even the of...
223551095_1371
public Set<String> getSSOEnabledServices() { Map<String, String> ssoProperties = getConfigurationProperties(SSO_CONFIGURATION.getCategoryName()); boolean manageSSOConfigurations = (ssoProperties != null) && "true".equalsIgnoreCase(ssoProperties.get(SSO_MANAGE_SERVICES.key())); String ssoEnabledServices = (manageS...