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;
}
Aggregations