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.datatypes.http.RestResponse;
6 import org.openecomp.sdc.ci.tests.utils.Utils;
7 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
10 public class CommonRestUtils extends BaseRestUtils {
12 private static Logger logger = LoggerFactory.getLogger(CommonRestUtils.class.getName());
14 public static RestResponse getHealthCheck() throws Exception {
16 Config config = Utils.getConfig();
17 String url = String.format(Urls.GET_HEALTH_CHECK_VIA_PROXY, config.getCatalogFeHost(), config.getCatalogFePort());
19 return sendGet(url, null);