Search in sources :

Example 6 with CcmV2Parameters

use of com.sequenceiq.cloudbreak.ccm.cloudinit.CcmV2Parameters in project cloudbreak by hortonworks.

the class CcmUserDataService method getCcmV2ConnectivityParameters.

private CcmConnectivityParameters getCcmV2ConnectivityParameters(Stack stack, String keyId) {
    String generatedClusterDomain = getGatewayFqdn(stack);
    CcmV2Parameters ccmV2Parameters = ccmV2ParameterSupplier.getCcmV2Parameters(stack.getAccountId(), Optional.of(stack.getEnvironmentCrn()), generatedClusterDomain, keyId);
    CcmConnectivityParameters ccmConnectivityParameters = new CcmConnectivityParameters(ccmV2Parameters);
    saveCcmV2Config(stack.getId(), ccmV2Parameters);
    return ccmConnectivityParameters;
}
Also used : CcmConnectivityParameters(com.sequenceiq.cloudbreak.ccm.cloudinit.CcmConnectivityParameters) CcmV2Parameters(com.sequenceiq.cloudbreak.ccm.cloudinit.CcmV2Parameters)

Aggregations

CcmV2Parameters (com.sequenceiq.cloudbreak.ccm.cloudinit.CcmV2Parameters)6 CcmConnectivityParameters (com.sequenceiq.cloudbreak.ccm.cloudinit.CcmConnectivityParameters)4 Test (org.junit.jupiter.api.Test)3 DefaultCcmV2Parameters (com.sequenceiq.cloudbreak.ccm.cloudinit.DefaultCcmV2Parameters)2 PlatformParameters (com.sequenceiq.cloudbreak.cloud.PlatformParameters)1 ScriptParams (com.sequenceiq.cloudbreak.cloud.model.ScriptParams)1 InstanceGroupType (com.sequenceiq.common.api.type.InstanceGroupType)1 Test (org.junit.Test)1 DisplayName (org.junit.jupiter.api.DisplayName)1 ParameterizedTest (org.junit.jupiter.params.ParameterizedTest)1