Remove use of the org.apache.geode.distributed.internal.DistributionConfig class to refer to the 'gemfire.' property prefix.
Resolves gh-70.
This commit is contained in:
@@ -26,6 +26,8 @@ import org.apache.geode.management.internal.security.ResourceConstants;
|
||||
*/
|
||||
public abstract class GeodeConstants {
|
||||
|
||||
public static final String GEMFIRE_PROPERTY_PREFIX = DistributionConfig.GEMFIRE_PREFIX;
|
||||
|
||||
// Logging Constants (referring to Properties)
|
||||
public static final String LOG_DISK_SPACE_LIMIT = DistributionConfig.LOG_DISK_SPACE_LIMIT_NAME;
|
||||
public static final String LOG_FILE = DistributionConfig.LOG_FILE_NAME;
|
||||
|
||||
@@ -32,7 +32,6 @@ import org.junit.runner.RunWith;
|
||||
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.distributed.internal.DistributionConfig;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
@@ -53,6 +52,7 @@ import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableManager;
|
||||
import org.springframework.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport;
|
||||
import org.springframework.geode.security.TestSecurityManager;
|
||||
import org.springframework.geode.util.GeodeConstants;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.client.ClientHttpRequest;
|
||||
import org.springframework.http.client.ClientHttpRequestInterceptor;
|
||||
@@ -170,7 +170,7 @@ public class ClusterConfigurationWithAuthenticationIntegrationTests extends Fork
|
||||
@EnableManager(start = true)
|
||||
static class GeodeServerConfiguration {
|
||||
|
||||
private static final String GEODE_HOME_PROPERTY = DistributionConfig.GEMFIRE_PREFIX + "home";
|
||||
private static final String GEODE_HOME_PROPERTY = GeodeConstants.GEMFIRE_PROPERTY_PREFIX + "home";
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user