@Test void getRegionsByCredential() { platformParameterServiceUnderTest.getRegionsByCredential(request, true); verify(cloudParameterService).getRegionsV2(any(), eq(REGION), eq(PLATFORM_VARIANT), any(), anyBoolean()); }
public CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded) { return cloudParameterService.getRegionsV2(extendedCloudCredentialConverter.convert(request.getCredential()), request.getRegion(), request.getPlatformVariant(), request.getFilters(), availabilityZonesNeeded); }
PlatformParameterService { public CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded) { return cloudParameterService.getRegionsV2(extendedCloudCredentialConverter.convert(request.getCredential()), request.getRegion(), request.getPlatformVariant(), request.getFilters(), availabilityZonesNeeded); } }
PlatformParameterService { public CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded) { return cloudParameterService.getRegionsV2(extendedCloudCredentialConverter.convert(request.getCredential()), request.getRegion(), request.getPlatformVariant(), request.getFilters(), availabilityZonesNeeded); }  }
PlatformParameterService { public CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded) { return cloudParameterService.getRegionsV2(extendedCloudCredentialConverter.convert(request.getCredential()), request.getRegion(), request.getPlatformVariant(), request.getFilters(), availabilityZonesNeeded); }  PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone); PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType,
            CdpResourceType cdpResourceType); PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType,
            CdpResourceType cdpResourceType); CloudVmTypes getVmTypesByCredential(PlatformResourceRequest request); CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded); PlatformDisks getDiskTypes(); CloudNetworks getCloudNetworks(PlatformResourceRequest request); CloudIpPools getIpPoolsCredentialId(PlatformResourceRequest request); CloudGateWays getGatewaysCredentialId(PlatformResourceRequest request); CloudEncryptionKeys getEncryptionKeys(PlatformResourceRequest request); CloudSecurityGroups getSecurityGroups(PlatformResourceRequest request); CloudSshKeys getCloudSshKeys(PlatformResourceRequest request); CloudAccessConfigs getAccessConfigs(PlatformResourceRequest request); CloudNoSqlTables getNoSqlTables(PlatformResourceRequest request); CloudResourceGroups getResourceGroups(PlatformResourceRequest request); Map<Platform, PlatformParameters> getPlatformParameters(); String getCredentialCrnByName(String credentialName); }
PlatformParameterService { public CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded) { return cloudParameterService.getRegionsV2(extendedCloudCredentialConverter.convert(request.getCredential()), request.getRegion(), request.getPlatformVariant(), request.getFilters(), availabilityZonesNeeded); }  PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone); PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType); PlatformResourceRequest getPlatformResourceRequestByEnvironment(
            String accountId,
            String environmentCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType,
            CdpResourceType cdpResourceType); PlatformResourceRequest getPlatformResourceRequest(
            String accountId,
            String credentialName,
            String credentialCrn,
            String region,
            String platformVariant,
            String availabilityZone,
            AccessConfigTypeQueryParam accessConfigType,
            CdpResourceType cdpResourceType); CloudVmTypes getVmTypesByCredential(PlatformResourceRequest request); CloudRegions getRegionsByCredential(PlatformResourceRequest request, boolean availabilityZonesNeeded); PlatformDisks getDiskTypes(); CloudNetworks getCloudNetworks(PlatformResourceRequest request); CloudIpPools getIpPoolsCredentialId(PlatformResourceRequest request); CloudGateWays getGatewaysCredentialId(PlatformResourceRequest request); CloudEncryptionKeys getEncryptionKeys(PlatformResourceRequest request); CloudSecurityGroups getSecurityGroups(PlatformResourceRequest request); CloudSshKeys getCloudSshKeys(PlatformResourceRequest request); CloudAccessConfigs getAccessConfigs(PlatformResourceRequest request); CloudNoSqlTables getNoSqlTables(PlatformResourceRequest request); CloudResourceGroups getResourceGroups(PlatformResourceRequest request); Map<Platform, PlatformParameters> getPlatformParameters(); String getCredentialCrnByName(String credentialName);  }