Search in sources :

Example 6 with InstanceTypeInfo

use of com.amazonaws.services.ec2.model.InstanceTypeInfo in project cloudbreak by hortonworks.

the class AwsPlatformResourcesTest method testEncryptionWhenEncryptionSupportedNotPresentedShouldReturnFalse.

@Test
public void testEncryptionWhenEncryptionSupportedNotPresentedShouldReturnFalse() {
    InstanceTypeInfo instanceTypeInfo = new InstanceTypeInfo();
    EbsInfo ebsInfo = new EbsInfo();
    instanceTypeInfo.setEbsInfo(ebsInfo);
    boolean encryptionSupported = underTest.getEncryptionSupported(instanceTypeInfo);
    assertFalse(encryptionSupported);
}
Also used : EbsInfo(com.amazonaws.services.ec2.model.EbsInfo) InstanceTypeInfo(com.amazonaws.services.ec2.model.InstanceTypeInfo) Test(org.junit.jupiter.api.Test)

Aggregations

InstanceTypeInfo (com.amazonaws.services.ec2.model.InstanceTypeInfo)5 Test (org.junit.jupiter.api.Test)4 EbsInfo (com.amazonaws.services.ec2.model.EbsInfo)3 DiskInfo (com.amazonaws.services.ec2.model.DiskInfo)1 InstanceStorageInfo (com.amazonaws.services.ec2.model.InstanceStorageInfo)1 InstanceType (com.amazonaws.services.ec2.model.InstanceType)1 VmType (com.sequenceiq.cloudbreak.cloud.model.VmType)1 VmTypeMetaBuilder (com.sequenceiq.cloudbreak.cloud.model.VmTypeMeta.VmTypeMetaBuilder)1 VolumeParameterConfig (com.sequenceiq.cloudbreak.cloud.model.VolumeParameterConfig)1 URI_PARAM_ENDPOINT (com.vmware.photon.controller.model.adapters.awsadapter.AWSConstants.URI_PARAM_ENDPOINT)1 URI_PARAM_INSTANCE_TYPE (com.vmware.photon.controller.model.adapters.awsadapter.AWSConstants.URI_PARAM_INSTANCE_TYPE)1 EndpointState (com.vmware.photon.controller.model.resources.EndpointService.EndpointState)1 InstanceTypeList (com.vmware.photon.controller.model.support.InstanceTypeList)1 AssertUtil (com.vmware.photon.controller.model.util.AssertUtil)1 DeferredResult (com.vmware.xenon.common.DeferredResult)1 FileUtils (com.vmware.xenon.common.FileUtils)1 Operation (com.vmware.xenon.common.Operation)1 StatelessService (com.vmware.xenon.common.StatelessService)1 UriUtils (com.vmware.xenon.common.UriUtils)1 Utils (com.vmware.xenon.common.Utils)1