public abstract class AWSIntegrationTestBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static AWSCredentialsProviderChain |
chain |
private static AWSCredentials |
credentials
Shared AWS credentials, loaded from a properties file.
|
private static java.lang.String |
propertiesFilePath
Default Properties Credentials file path
|
private static java.lang.String |
TEST_CREDENTIALS_PROFILE_NAME |
Constructor and Description |
---|
AWSIntegrationTestBase() |
Modifier and Type | Method and Description |
---|---|
protected static AWSCredentials |
getCredentials() |
protected java.lang.String |
getResourceAsString(java.lang.String location)
Reads a system resource fully into a String
|
static void |
setUpCredentials()
Before of super class is guaranteed to be called before that of a subclass so the following
is safe.
|
private static AWSCredentials credentials
private static final java.lang.String propertiesFilePath
private static final java.lang.String TEST_CREDENTIALS_PROFILE_NAME
private static final AWSCredentialsProviderChain chain
public static void setUpCredentials()
protected static AWSCredentials getCredentials()
protected java.lang.String getResourceAsString(java.lang.String location)
location
- Relative or absolute location of system resource.java.lang.RuntimeException
- if any error occurs