Package org.duracloud.common.test
Class TestConfigUtil
java.lang.Object
org.duracloud.common.test.TestConfigUtil
Provides access to test configuration.
Assumes that:
1. There is a system property named: DURACLOUD_TEST_CONFIG
2. The value of that system property is the full path to a valid test
configuration file in JSON format
- Author:
- Bill Branan Date: 7/31/13
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
DURACLOUD_TEST_CONFIG
- See Also:
-
-
Constructor Details
-
TestConfigUtil
public TestConfigUtil()
-
-
Method Details
-
getTestConfig
- Throws:
IOException
-
getCredential
public SimpleCredential getCredential(StorageProviderCredential.ProviderType type) throws IOException - Throws:
IOException
-
getSwiftEndpoint
- Throws:
IOException
-
getSwiftSignerType
- Throws:
IOException
-