class CommonHttpUtils {

	public static JsonObject getConfigurationsFromConfigApi(String url,Map<String,Object> headers) {
		String resultStringPost = null;
		Gson gson = new Gson();
		try {
			resultStringPost = httpGetMethodWithHeaders(url,headers);
			if (!StringUtils.isEmpty(resultStringPost)) {
				return gson.fromJson(resultStringPost, JsonObject.class);
			}

		} catch (Exception e) {
			LOGGER.error("Exceptions occured in getConfigurationsFromConfigApi========",e);
			return null;
		}
		return null;
	}

}