Remove uses of the org.apache.geode.distributed.internal.DistributionConfig interface to refer to configuration property names.

Resolves gh-70.
This commit is contained in:
John Blum
2020-02-21 19:11:19 -08:00
parent a08f9bb0e8
commit c434873f58
2 changed files with 16 additions and 9 deletions

View File

@@ -13,20 +13,27 @@
* or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.springframework.geode.util;
import org.apache.geode.distributed.internal.DistributionConfig;
import org.apache.geode.management.internal.security.ResourceConstants;
/**
* The GeodeConstants class...
* Abstract utility class encapsulating common Apache Geode constants used by SBDG.
*
* @author John Blum
* @since 1.0.0
* @since 1.3.0
*/
public abstract class GeodeConstants {
public static final String USERNAME = ResourceConstants.USER_NAME;
// 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;
public static final String LOG_FILE_SIZE_LIMIT = DistributionConfig.LOG_FILE_SIZE_LIMIT_NAME;
public static final String LOG_LEVEL = DistributionConfig.LOG_LEVEL_NAME;
// Security Constants (referring to Properties)
public static final String PASSWORD = ResourceConstants.PASSWORD;
public static final String USERNAME = ResourceConstants.USER_NAME;
}