public class InstanceMetadataServiceResourceFetcherTest extends Object
Modifier and Type | Field and Description |
---|---|
static BasicProfileConfigFileLoader |
CONFIG_FILE_LOADER |
static WireMockRule |
mockServer |
Constructor and Description |
---|
InstanceMetadataServiceResourceFetcherTest() |
public static final BasicProfileConfigFileLoader CONFIG_FILE_LOADER
public static WireMockRule mockServer
public InstanceMetadataServiceResourceFetcherTest()
public static void setup() throws URISyntaxException
URISyntaxException
public void methodSetup()
public static void cleanUp()
public void metadataDisabled_shouldThrowException()
public void token200_shouldSendToken()
public void token404_shouldFallbackInsecureWorkflow()
public void tokenNonRetryableError_shouldFallbackInsecureWorkflow()
public void token400_shouldThrowException()
public void token503_shouldThrowException()
public void token403_shouldFallbackInsecureWorkflow()
public void tokenTimeoutException_shouldFallbackInsecureWorkflow() throws IOException
IOException
public void tokenOtherIOException_shouldThrowException() throws IOException
IOException
public void token404_v1FallbackDisabled_shouldThrowException() throws IOException
IOException
public void tokenNonRetryableError_v1FallbackDisabled_shouldThrowException()
public void token403_v1FallbackDisabled_shouldThrowException()
public void tokenTimeoutException_v1FallbackDisabled_shouldThrowException() throws IOException
IOException
public void tokenNonRetryableError_v1FallbackDisabledInProfilePath_shouldThrowException() throws IOException
IOException
public void tokenNonRetryableError_whenV1FallbackNotDisabledInProfilePath_shouldFallbackToInsecureWorkflow() throws IOException
IOException
public void metadataNonRetryableError_shouldThrowException()
public void metadata500_shouldThrowException()
public void metadata401_shouldThrowException() throws IOException
IOException
Copyright © 2024. All rights reserved.