Fix for radio buttons
[sdc.git] / asdc-tests / src / main / java / org / openecomp / sdc / ci / tests / utils / rest / CommonRestUtils.java
1 package org.openecomp.sdc.ci.tests.utils.rest;
2
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;
9
10 public class CommonRestUtils extends BaseRestUtils {
11
12     private static Logger logger = LoggerFactory.getLogger(CommonRestUtils.class.getName());
13
14     public static RestResponse getHealthCheck() throws Exception {
15
16         Config config = Utils.getConfig();
17         String url = String.format(Urls.GET_HEALTH_CHECK_VIA_PROXY, config.getCatalogFeHost(), config.getCatalogFePort());
18
19         return sendGet(url, null);
20
21     }
22 }