Search in sources :

Example 1 with LocationDto

use of com.sequenceiq.environment.environment.dto.LocationDto in project cloudbreak by hortonworks.

the class AwsParameterValidatorTest method setUp.

@BeforeEach
void setUp() {
    Credential credential = new Credential();
    credential.setCloudPlatform("platform");
    EnvironmentDto environmentDto = new EnvironmentDto();
    environmentDto.setId(ENV_ID);
    environmentDto.setLocation(new LocationDto("location", "location", 1.0, 1.0));
    environmentDto.setCredential(credential);
    environmentValidationDto = new EnvironmentValidationDto();
    environmentValidationDto.setValidationType(ValidationType.ENVIRONMENT_CREATION);
    environmentValidationDto.setEnvironmentDto(environmentDto);
}
Also used : Credential(com.sequenceiq.environment.credential.domain.Credential) EnvironmentDto(com.sequenceiq.environment.environment.dto.EnvironmentDto) EnvironmentValidationDto(com.sequenceiq.environment.environment.dto.EnvironmentValidationDto) LocationDto(com.sequenceiq.environment.environment.dto.LocationDto) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

Credential (com.sequenceiq.environment.credential.domain.Credential)1 EnvironmentDto (com.sequenceiq.environment.environment.dto.EnvironmentDto)1 EnvironmentValidationDto (com.sequenceiq.environment.environment.dto.EnvironmentValidationDto)1 LocationDto (com.sequenceiq.environment.environment.dto.LocationDto)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1