IMConfig { public static String getProperty(String key) { LOGGER.debug("fetching for: " + key); GetGeneralConfig getGeneralConfig = new GetGeneralConfig(); GeneralConfig generalConfig = getGeneralConfig.byConigGroupAndKey("imconfig", key); return generalConfig.getDefaultVal(); } private  IMConfig(); static List<String> getPropertyList(String key); static String getProperty(String key);  }
@Test public void testGetProperty() throws BDREException { String key = "data-import.hadoop-home"; LOGGER.info(key+"="+IMConfig.getProperty(key)); }
@Test public void testGetProperty1() throws BDREException { String key = "etl.hive-connection"; LOGGER.info(key+"="+IMConfig.getProperty(key)); }