@Test void getPlatformResourceRequestWithoutCred() { assertThrows(BadRequestException.class, () -> platformParameterServiceUnderTest.getPlatformResourceRequest(ACCOUNT_ID, null, null, REGION, PLATFORM_VARIANT, AVAILIBILTY_ZONE)); }
public PlatformResourceRequest getPlatformResourceRequest( String accountId, String credentialName, String credentialCrn, String region, String platformVariant, String availabilityZone) { return getPlatformResourceRequest( accountId, credentialName, credentialCrn, region, platformVariant, availabilityZone, null, CdpResourceType.DEFAULT); }
PlatformParameterService { public PlatformResourceRequest getPlatformResourceRequest( String accountId, String credentialName, String credentialCrn, String region, String platformVariant, String availabilityZone) { return getPlatformResourceRequest( accountId, credentialName, credentialCrn, region, platformVariant, availabilityZone, null, CdpResourceType.DEFAULT); } }
PlatformParameterService { public PlatformResourceRequest getPlatformResourceRequest( String accountId, String credentialName, String credentialCrn, String region, String platformVariant, String availabilityZone) { return getPlatformResourceRequest( accountId, credentialName, credentialCrn, region, platformVariant, availabilityZone, null, CdpResourceType.DEFAULT); }  }
PlatformParameterService { public PlatformResourceRequest getPlatformResourceRequest( String accountId, String credentialName, String credentialCrn, String region, String platformVariant, String availabilityZone) { return getPlatformResourceRequest( accountId, credentialName, credentialCrn, region, platformVariant, availabilityZone, null, CdpResourceType.DEFAULT); }  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 PlatformResourceRequest getPlatformResourceRequest( String accountId, String credentialName, String credentialCrn, String region, String platformVariant, String availabilityZone) { return getPlatformResourceRequest( accountId, credentialName, credentialCrn, region, platformVariant, availabilityZone, null, CdpResourceType.DEFAULT); }  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);  }