Search in sources :

Example 1 with DatabaseType

use of com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType in project cloudbreak by hortonworks.

the class ClusterHostServiceRunner method decoratePillarWithJdbcConnectors.

private void decoratePillarWithJdbcConnectors(Cluster cluster, Map<String, SaltPillarProperties> servicePillar) {
    Set<RdsConfigWithoutCluster> rdsConfigs = rdsConfigWithoutClusterService.findByClusterId(cluster.getId());
    Map<String, Object> connectorJarUrlsByVendor = new HashMap<>();
    rdsConfigs.stream().filter(rds -> isNotEmpty(rds.getConnectorJarUrl())).forEach(rdsConfig -> {
        connectorJarUrlsByVendor.put("databaseType", rdsConfig.getDatabaseEngine().databaseType());
        connectorJarUrlsByVendor.put("connectorJarUrl", rdsConfig.getConnectorJarUrl());
        connectorJarUrlsByVendor.put("connectorJarName", rdsConfig.getDatabaseEngine().connectorJarName());
    });
    if (!connectorJarUrlsByVendor.isEmpty()) {
        Map<String, Object> jdbcConnectors = singletonMap("jdbc_connectors", connectorJarUrlsByVendor);
        servicePillar.put("jdbc-connectors", new SaltPillarProperties("/jdbc/connectors.sls", jdbcConnectors));
    }
}
Also used : CloudbreakException(com.sequenceiq.cloudbreak.service.CloudbreakException) DatalakeService(com.sequenceiq.cloudbreak.service.sharedservice.DatalakeService) ComponentConfigProviderService(com.sequenceiq.cloudbreak.service.ComponentConfigProviderService) StringUtils(org.apache.commons.lang3.StringUtils) ThreadBasedUserCrnProvider(com.sequenceiq.cloudbreak.auth.ThreadBasedUserCrnProvider) Map(java.util.Map) Gateway(com.sequenceiq.cloudbreak.domain.stack.cluster.gateway.Gateway) StringUtils.isEmpty(org.apache.commons.lang3.StringUtils.isEmpty) HostAttributeDecorator(com.sequenceiq.cloudbreak.core.bootstrap.service.host.decorator.HostAttributeDecorator) RecipeEngine(com.sequenceiq.cloudbreak.service.cluster.flow.recipe.RecipeEngine) CLOUDERAMANAGER_VERSION_7_2_1(com.sequenceiq.cloudbreak.cmtemplate.CMRepositoryVersionUtil.CLOUDERAMANAGER_VERSION_7_2_1) CLOUDERAMANAGER_VERSION_7_2_0(com.sequenceiq.cloudbreak.cmtemplate.CMRepositoryVersionUtil.CLOUDERAMANAGER_VERSION_7_2_0) Set(java.util.Set) Crn(com.sequenceiq.cloudbreak.auth.crn.Crn) CloudbreakOrchestratorException(com.sequenceiq.cloudbreak.orchestrator.exception.CloudbreakOrchestratorException) ClouderaManagerRepo(com.sequenceiq.cloudbreak.cloud.model.ClouderaManagerRepo) Serializable(java.io.Serializable) TargetedUpscaleSupportService(com.sequenceiq.cloudbreak.service.stack.TargetedUpscaleSupportService) StringUtils.isNotBlank(org.apache.commons.lang3.StringUtils.isNotBlank) RdsConfigWithoutClusterService(com.sequenceiq.cloudbreak.service.rdsconfig.RdsConfigWithoutClusterService) StackUtil(com.sequenceiq.cloudbreak.util.StackUtil) MDCUtils(com.sequenceiq.cloudbreak.logger.MDCUtils) CloudbreakOrchestratorFailedException(com.sequenceiq.cloudbreak.orchestrator.exception.CloudbreakOrchestratorFailedException) CollectionUtils(org.springframework.util.CollectionUtils) GatewayConfig(com.sequenceiq.cloudbreak.orchestrator.model.GatewayConfig) ExposedServices(com.sequenceiq.cloudbreak.domain.stack.cluster.gateway.ExposedServices) CancellationException(com.sequenceiq.cloudbreak.cloud.scheduler.CancellationException) InstanceGroup(com.sequenceiq.cloudbreak.domain.stack.instance.InstanceGroup) StackService(com.sequenceiq.cloudbreak.service.stack.StackService) Joiner(com.google.common.base.Joiner) Stack(com.sequenceiq.cloudbreak.domain.stack.Stack) CMLicenseParser(com.sequenceiq.cloudbreak.auth.CMLicenseParser) OrchestratorGrainRunnerParams(com.sequenceiq.cloudbreak.orchestrator.host.OrchestratorGrainRunnerParams) HostGroupService(com.sequenceiq.cloudbreak.service.hostgroup.HostGroupService) StringUtils.isNotEmpty(org.apache.commons.lang3.StringUtils.isNotEmpty) ArrayList(java.util.ArrayList) Value(org.springframework.beans.factory.annotation.Value) CsdParcelDecorator(com.sequenceiq.cloudbreak.core.bootstrap.service.host.decorator.CsdParcelDecorator) KerberosDetailService(com.sequenceiq.cloudbreak.template.kerberos.KerberosDetailService) Lists(com.google.common.collect.Lists) KerberosType(com.sequenceiq.cloudbreak.type.KerberosType) LdapView(com.sequenceiq.cloudbreak.dto.LdapView) CMRepositoryVersionUtil.isVersionNewerOrEqualThanLimited(com.sequenceiq.cloudbreak.cmtemplate.CMRepositoryVersionUtil.isVersionNewerOrEqualThanLimited) ClusterComponentConfigProvider(com.sequenceiq.cloudbreak.cluster.service.ClusterComponentConfigProvider) NullUtil.throwIfNull(com.sequenceiq.cloudbreak.util.NullUtil.throwIfNull) DatabaseType(com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType) DnsResolverType(com.sequenceiq.cloudbreak.domain.stack.DnsResolverType) ExitCriteriaModel(com.sequenceiq.cloudbreak.orchestrator.state.ExitCriteriaModel) IOException(java.io.IOException) PostgresConfigService(com.sequenceiq.cloudbreak.core.bootstrap.service.container.postgres.PostgresConfigService) ServiceLocationMap(com.sequenceiq.cloudbreak.cluster.model.ServiceLocationMap) ClusterDeletionBasedExitCriteriaModel(com.sequenceiq.cloudbreak.core.bootstrap.service.ClusterDeletionBasedExitCriteriaModel) GrpcUmsClient(com.sequenceiq.cloudbreak.auth.altus.GrpcUmsClient) HostGroup(com.sequenceiq.cloudbreak.domain.stack.cluster.host.HostGroup) GrainProperties(com.sequenceiq.cloudbreak.orchestrator.model.GrainProperties) InstanceMetaData(com.sequenceiq.cloudbreak.domain.stack.instance.InstanceMetaData) GatewayTopology(com.sequenceiq.cloudbreak.domain.stack.cluster.gateway.GatewayTopology) ComponentLocatorService(com.sequenceiq.cloudbreak.service.blueprint.ComponentLocatorService) InetAddresses(com.google.common.net.InetAddresses) NodesUnreachableException(com.sequenceiq.cloudbreak.util.NodesUnreachableException) SaltConfig(com.sequenceiq.cloudbreak.orchestrator.model.SaltConfig) GrainOperation(com.sequenceiq.cloudbreak.orchestrator.host.GrainOperation) EntitlementService(com.sequenceiq.cloudbreak.auth.altus.EntitlementService) CloudbreakOrchestratorCancelledException(com.sequenceiq.cloudbreak.orchestrator.exception.CloudbreakOrchestratorCancelledException) LoggerFactory(org.slf4j.LoggerFactory) LoadBalancerSANProvider(com.sequenceiq.cloudbreak.san.LoadBalancerSANProvider) InstanceGroupService(com.sequenceiq.cloudbreak.service.stack.InstanceGroupService) ClusterPreCreationApi(com.sequenceiq.cloudbreak.cluster.api.ClusterPreCreationApi) KerberosConfigService(com.sequenceiq.cloudbreak.kerberos.KerberosConfigService) ExposedServiceCollector(com.sequenceiq.cloudbreak.api.service.ExposedServiceCollector) Telemetry(com.sequenceiq.common.api.telemetry.model.Telemetry) NotFoundException(com.sequenceiq.cloudbreak.common.exception.NotFoundException) HostOrchestrator(com.sequenceiq.cloudbreak.orchestrator.host.HostOrchestrator) CLOUDERAMANAGER_VERSION_7_0_2(com.sequenceiq.cloudbreak.cmtemplate.CMRepositoryVersionUtil.CLOUDERAMANAGER_VERSION_7_0_2) SaltPillarProperties(com.sequenceiq.cloudbreak.orchestrator.model.SaltPillarProperties) DataBusCredential(com.sequenceiq.common.api.telemetry.model.DataBusCredential) StackTags(com.sequenceiq.cloudbreak.cloud.model.StackTags) ExposedService(com.sequenceiq.cloudbreak.api.service.ExposedService) Collectors(java.util.stream.Collectors) TemporaryStorage(com.sequenceiq.cloudbreak.common.type.TemporaryStorage) RegionAwareInternalCrnGeneratorFactory(com.sequenceiq.cloudbreak.auth.crn.RegionAwareInternalCrnGeneratorFactory) Json(com.sequenceiq.cloudbreak.common.json.Json) IdBrokerService(com.sequenceiq.cloudbreak.service.idbroker.IdBrokerService) GatewayConfigService(com.sequenceiq.cloudbreak.service.GatewayConfigService) ProxyConfigProvider(com.sequenceiq.cloudbreak.service.proxy.ProxyConfigProvider) List(java.util.List) VirtualGroupService(com.sequenceiq.cloudbreak.auth.altus.VirtualGroupService) RdsView(com.sequenceiq.cloudbreak.template.views.RdsView) Optional(java.util.Optional) SSOType(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.base.SSOType) Pattern(java.util.regex.Pattern) KerberosConfig(com.sequenceiq.cloudbreak.dto.KerberosConfig) Account(com.cloudera.thunderhead.service.usermanagement.UserManagementProto.Account) Cluster(com.sequenceiq.cloudbreak.domain.stack.cluster.Cluster) LoadBalancerConfigService(com.sequenceiq.cloudbreak.service.LoadBalancerConfigService) CMRepositoryVersionUtil(com.sequenceiq.cloudbreak.cmtemplate.CMRepositoryVersionUtil) IdBroker(com.sequenceiq.cloudbreak.domain.stack.cluster.IdBroker) LdapConfigService(com.sequenceiq.cloudbreak.ldap.LdapConfigService) HashMap(java.util.HashMap) FreeIpaConfigProvider(com.sequenceiq.cloudbreak.service.freeipa.FreeIpaConfigProvider) HashSet(java.util.HashSet) Inject(javax.inject.Inject) InstanceMetaDataService(com.sequenceiq.cloudbreak.service.stack.InstanceMetaDataService) Collections.singletonMap(java.util.Collections.singletonMap) RdsConfigWithoutCluster(com.sequenceiq.cloudbreak.domain.view.RdsConfigWithoutCluster) Nonnull(javax.annotation.Nonnull) TelemetryDecorator(com.sequenceiq.cloudbreak.core.bootstrap.service.host.decorator.TelemetryDecorator) ClusterDeletionBasedExitCriteriaModel.clusterDeletionBasedModel(com.sequenceiq.cloudbreak.core.bootstrap.service.ClusterDeletionBasedExitCriteriaModel.clusterDeletionBasedModel) Logger(org.slf4j.Logger) VirtualGroupRequest(com.sequenceiq.cloudbreak.auth.altus.VirtualGroupRequest) NodeReachabilityResult(com.sequenceiq.cloudbreak.orchestrator.model.NodeReachabilityResult) EnvironmentConfigProvider(com.sequenceiq.cloudbreak.service.environment.EnvironmentConfigProvider) Node(com.sequenceiq.cloudbreak.common.orchestration.Node) MountDisks(com.sequenceiq.cloudbreak.service.stack.flow.MountDisks) Component(org.springframework.stereotype.Component) UmsVirtualGroupRight(com.sequenceiq.cloudbreak.auth.altus.UmsVirtualGroupRight) ClusterApiConnectors(com.sequenceiq.cloudbreak.service.cluster.ClusterApiConnectors) CloudbreakServiceException(com.sequenceiq.cloudbreak.common.exception.CloudbreakServiceException) Comparator(java.util.Comparator) Collections(java.util.Collections) HashMap(java.util.HashMap) SaltPillarProperties(com.sequenceiq.cloudbreak.orchestrator.model.SaltPillarProperties) RdsConfigWithoutCluster(com.sequenceiq.cloudbreak.domain.view.RdsConfigWithoutCluster)

Example 2 with DatabaseType

use of com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType in project cloudbreak by hortonworks.

the class ClusterServicesRestartService method updateDatabaseConfiguration.

private void updateDatabaseConfiguration(Stack datalakeStack, Stack dataHubStack, String service, DatabaseType databaseType) {
    Cluster cluster = clusterService.getById(datalakeStack.getCluster().getId());
    Optional<RDSConfig> rdsConfig = postgresConfigService.createRdsConfigIfNeeded(datalakeStack, cluster, databaseType).stream().filter(config -> config.getType().toLowerCase().equals(databaseType.toString().toLowerCase())).findFirst();
    try {
        if (rdsConfig.isPresent()) {
            LOGGER.info("Refreshing the database configuration.");
            apiConnectors.getConnector(dataHubStack).updateServiceConfig(service, getRdsConfigMap(rdsConfig.get()));
        } else {
            LOGGER.error("Could not find RDS configuration for Hive");
        }
    } catch (CloudbreakException e) {
        LOGGER.info("Exception while updating the Data-Hub configuration", e);
    }
}
Also used : Stack(com.sequenceiq.cloudbreak.domain.stack.Stack) Cluster(com.sequenceiq.cloudbreak.domain.stack.cluster.Cluster) AllRoleTypes(com.sequenceiq.cloudbreak.validation.AllRoleTypes) Logger(org.slf4j.Logger) DatabaseType(com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType) EntitlementService(com.sequenceiq.cloudbreak.auth.altus.EntitlementService) LoggerFactory(org.slf4j.LoggerFactory) HashMap(java.util.HashMap) PostgresConfigService(com.sequenceiq.cloudbreak.core.bootstrap.service.container.postgres.PostgresConfigService) ClusterService(com.sequenceiq.cloudbreak.service.cluster.ClusterService) Inject(javax.inject.Inject) ThreadBasedUserCrnProvider(com.sequenceiq.cloudbreak.auth.ThreadBasedUserCrnProvider) RdsView(com.sequenceiq.cloudbreak.template.views.RdsView) Service(org.springframework.stereotype.Service) Map(java.util.Map) ClusterApiConnectors(com.sequenceiq.cloudbreak.service.cluster.ClusterApiConnectors) Optional(java.util.Optional) StackType(com.sequenceiq.cloudbreak.api.endpoint.v4.common.StackType) CmTemplateProcessor(com.sequenceiq.cloudbreak.cmtemplate.CmTemplateProcessor) RDSConfig(com.sequenceiq.cloudbreak.domain.RDSConfig) ClusterBuilderService(com.sequenceiq.cloudbreak.core.cluster.ClusterBuilderService) RedbeamsDbCertificateProvider(com.sequenceiq.cloudbreak.service.rdsconfig.RedbeamsDbCertificateProvider) RDSConfig(com.sequenceiq.cloudbreak.domain.RDSConfig) Cluster(com.sequenceiq.cloudbreak.domain.stack.cluster.Cluster)

Example 3 with DatabaseType

use of com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType in project cloudbreak by hortonworks.

the class ClusterService method withEmbeddedClusterManagerDB.

public boolean withEmbeddedClusterManagerDB(Cluster cluster) {
    DatabaseType databaseType = DatabaseType.CLOUDERA_MANAGER;
    RDSConfig rdsConfig = rdsConfigService.findByClusterIdAndType(cluster.getId(), databaseType);
    return (rdsConfig == null || ResourceStatus.DEFAULT == rdsConfig.getStatus()) && cluster.getDatabaseServerCrn() == null;
}
Also used : DatabaseType(com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType) RDSConfig(com.sequenceiq.cloudbreak.domain.RDSConfig)

Example 4 with DatabaseType

use of com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType in project cloudbreak by hortonworks.

the class RdsConfigValidatorTest method requestWithDatabases.

private ClusterV4Request requestWithDatabases(DatabaseType... databaseTypes) {
    List<RDSConfig> rdsConfigs = Arrays.stream(databaseTypes).map(TestUtil::rdsConfig).collect(toList());
    rdsConfigs.forEach(each -> when(rdsConfigService.getByNameForWorkspace(each.getName(), workspace)).thenReturn(each));
    ClusterV4Request request = new ClusterV4Request();
    request.setDatabases(rdsConfigs.stream().map(RDSConfig::getName).collect(toSet()));
    return request;
}
Also used : ClusterV4Request(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.request.cluster.ClusterV4Request) RDSConfig(com.sequenceiq.cloudbreak.domain.RDSConfig)

Example 5 with DatabaseType

use of com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType in project cloudbreak by hortonworks.

the class DatabaseServerConfigServiceTest method testCreateDatabaseOnServer.

@Test
public void testCreateDatabaseOnServer() {
    when(repository.findByResourceCrn(SERVER_CRN)).thenReturn(Optional.of(server));
    when(databaseConfigService.register(any(DatabaseConfig.class), eq(false))).thenAnswer((Answer<DatabaseConfig>) invocation -> {
        return invocation.getArgument(0, DatabaseConfig.class);
    });
    when(userGeneratorService.generateUserName()).thenReturn(USERNAME);
    when(passwordGeneratorService.generatePassword(any())).thenReturn(PASSWORD);
    server.setDatabaseVendor(DatabaseVendor.POSTGRES);
    server.setHost("myhost");
    server.setPort(5432);
    server.setConnectionUserName("root");
    server.setConnectionPassword("rootpassword");
    String databaseName = "mydb";
    String databaseType = "hive";
    Optional<String> databaseDescription = Optional.of("mine not yours");
    String result = underTest.createDatabaseOnServer(SERVER_CRN.toString(), databaseName, databaseType, databaseDescription);
    assertEquals("created", result);
    verify(driverFunctions).execWithDatabaseDriver(eq(server), any());
    ArgumentCaptor<DatabaseConfig> captor = ArgumentCaptor.forClass(DatabaseConfig.class);
    verify(databaseConfigService).register(captor.capture(), eq(false));
    DatabaseConfig db = captor.getValue();
    assertEquals(databaseName, db.getName());
    assertEquals(databaseType, db.getType());
    assertEquals(databaseDescription.get(), db.getDescription());
    String databaseUserName = db.getConnectionUserName().getRaw();
    assertEquals(USERNAME, databaseUserName);
    assertNotEquals(server.getConnectionUserName(), databaseUserName);
    assertEquals(PASSWORD, db.getConnectionPassword().getRaw());
}
Also used : UserGeneratorService(com.sequenceiq.redbeams.service.UserGeneratorService) AbstractArchivistService(com.sequenceiq.cloudbreak.common.archive.AbstractArchivistService) TestData(com.sequenceiq.redbeams.TestData) ThreadBasedUserCrnProvider(com.sequenceiq.cloudbreak.auth.ThreadBasedUserCrnProvider) TransactionService(com.sequenceiq.cloudbreak.common.service.TransactionService) DatabaseServerConfig(com.sequenceiq.redbeams.domain.DatabaseServerConfig) Mockito.doAnswer(org.mockito.Mockito.doAnswer) Is.is(org.hamcrest.core.Is.is) DriverFunctions(com.sequenceiq.redbeams.service.drivers.DriverFunctions) DatabaseVendor(com.sequenceiq.cloudbreak.api.endpoint.v4.common.DatabaseVendor) CoreMatchers.containsString(org.hamcrest.CoreMatchers.containsString) DatabaseServerConnectionValidator(com.sequenceiq.redbeams.service.validation.DatabaseServerConnectionValidator) Set(java.util.Set) DatabaseConfigService(com.sequenceiq.redbeams.service.dbconfig.DatabaseConfigService) Mockito.doNothing(org.mockito.Mockito.doNothing) UUID(java.util.UUID) Crn(com.sequenceiq.cloudbreak.auth.crn.Crn) DatabaseServerConfigRepository(com.sequenceiq.redbeams.repository.DatabaseServerConfigRepository) List(java.util.List) Assert.assertFalse(org.junit.Assert.assertFalse) Optional(java.util.Optional) PasswordGeneratorService(com.sequenceiq.redbeams.service.PasswordGeneratorService) Mockito.any(org.mockito.Mockito.any) DatabaseCommon(com.sequenceiq.cloudbreak.common.database.DatabaseCommon) Mockito.eq(org.mockito.Mockito.eq) DBStack(com.sequenceiq.redbeams.domain.stack.DBStack) Clock(com.sequenceiq.cloudbreak.common.service.Clock) MockitoAnnotations.initMocks(org.mockito.MockitoAnnotations.initMocks) Errors(org.springframework.validation.Errors) Mock(org.mockito.Mock) Assert.assertThrows(org.junit.Assert.assertThrows) OwnerAssignmentService(com.sequenceiq.authorization.service.OwnerAssignmentService) DBStackService(com.sequenceiq.redbeams.service.stack.DBStackService) CrnTestUtil(com.sequenceiq.cloudbreak.auth.crn.CrnTestUtil) Mockito.lenient(org.mockito.Mockito.lenient) Supplier(java.util.function.Supplier) ArrayList(java.util.ArrayList) HashSet(java.util.HashSet) Answer(org.mockito.stubbing.Answer) InvocationOnMock(org.mockito.invocation.InvocationOnMock) ArgumentCaptor(org.mockito.ArgumentCaptor) MatcherAssert.assertThat(org.hamcrest.MatcherAssert.assertThat) Before(org.junit.Before) InjectMocks(org.mockito.InjectMocks) BadRequestException(com.sequenceiq.cloudbreak.common.exception.BadRequestException) DatabaseConfig(com.sequenceiq.redbeams.domain.DatabaseConfig) Assert.assertTrue(org.junit.Assert.assertTrue) CrnService(com.sequenceiq.redbeams.service.crn.CrnService) Test(org.junit.Test) Mockito.when(org.mockito.Mockito.when) AccessDeniedException(org.springframework.security.access.AccessDeniedException) Assert.assertNotEquals(org.junit.Assert.assertNotEquals) Mockito.verify(org.mockito.Mockito.verify) Mockito.never(org.mockito.Mockito.never) Matchers.hasItem(org.hamcrest.Matchers.hasItem) NotFoundException(com.sequenceiq.redbeams.exception.NotFoundException) Collections(java.util.Collections) ResourceStatus(com.sequenceiq.redbeams.api.endpoint.v4.ResourceStatus) Assert.assertEquals(org.junit.Assert.assertEquals) ArgumentMatchers.anyString(org.mockito.ArgumentMatchers.anyString) CoreMatchers.containsString(org.hamcrest.CoreMatchers.containsString) ArgumentMatchers.anyString(org.mockito.ArgumentMatchers.anyString) DatabaseConfig(com.sequenceiq.redbeams.domain.DatabaseConfig) Test(org.junit.Test)

Aggregations

DatabaseType (com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType)4 ThreadBasedUserCrnProvider (com.sequenceiq.cloudbreak.auth.ThreadBasedUserCrnProvider)4 RDSConfig (com.sequenceiq.cloudbreak.domain.RDSConfig)4 EntitlementService (com.sequenceiq.cloudbreak.auth.altus.EntitlementService)3 PostgresConfigService (com.sequenceiq.cloudbreak.core.bootstrap.service.container.postgres.PostgresConfigService)3 Optional (java.util.Optional)3 StackType (com.sequenceiq.cloudbreak.api.endpoint.v4.common.StackType)2 Crn (com.sequenceiq.cloudbreak.auth.crn.Crn)2 CmTemplateProcessor (com.sequenceiq.cloudbreak.cmtemplate.CmTemplateProcessor)2 ClusterBuilderService (com.sequenceiq.cloudbreak.core.cluster.ClusterBuilderService)2 Stack (com.sequenceiq.cloudbreak.domain.stack.Stack)2 Cluster (com.sequenceiq.cloudbreak.domain.stack.cluster.Cluster)2 ClusterApiConnectors (com.sequenceiq.cloudbreak.service.cluster.ClusterApiConnectors)2 ClusterService (com.sequenceiq.cloudbreak.service.cluster.ClusterService)2 RedbeamsDbCertificateProvider (com.sequenceiq.cloudbreak.service.rdsconfig.RedbeamsDbCertificateProvider)2 RdsView (com.sequenceiq.cloudbreak.template.views.RdsView)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 HashSet (java.util.HashSet)2 List (java.util.List)2