@Test
@Ignore
public void testCloudAwsProviderWithAuthTypeParam() throws Exception {
//Test that a proper response is returned for /api/connections/providers/cloud
//
ConnectionProvidersResponseDTO responseDTO = jsonToObject(makeRequest(connectionsBaseUrl + "/providers/cloud?showAuthTypes=true",
"GET", null, authnToken),
TypeFactory.defaultInstance().constructType(
ConnectionProvidersResponseDTO.class));
assertTrue(responseDTO.getProviders().size() == 1);
ConnectionProviderResponseDTO awsProvider = responseDTO.getProviders().get(0);
assertEquals("aws", awsProvider.getId());
List<AuthTypeResponseDTO> authTypes = awsProvider.getAuthTypes().getAuthTypes();
assertEquals(1, authTypes.size());
assertEquals(AuthType.USERNAME_PASSWORD.toString(), authTypes.get(0).getType());