1 package org.openecomp.sdc.ci.tests.utils.rest;
3 import org.openecomp.sdc.ci.tests.api.Urls;
4 import org.openecomp.sdc.ci.tests.config.Config;
5 import org.openecomp.sdc.ci.tests.utils.Utils;
6 import org.slf4j.Logger;
7 import org.slf4j.LoggerFactory;
9 import org.openecomp.sdc.ci.tests.datatypes.http.RestResponse;
11 public class CommonRestUtils extends BaseRestUtils {
13 private static Logger logger = LoggerFactory.getLogger(CommonRestUtils.class.getName());
15 public static RestResponse getHealthCheck() throws Exception {
17 Config config = Utils.getConfig();
18 String url = String.format(Urls.GET_HEALTH_CHECK_VIA_PROXY, config.getCatalogFeHost(), config.getCatalogFePort());
20 return sendGet(url, null);