Add unit test for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git] / activiti-extension / src / main / java / org / onap / workflow / activitiext / restservicetask / HighLevelRestApi.java
index cd8517b..268443a 100644 (file)
@@ -186,7 +186,7 @@ public class HighLevelRestApi {
                return responseMessage;
        }
 
-       private static void setAcceptHeader(HttpMethodBase method, String value) {
+       public static void setAcceptHeader(HttpMethodBase method, String value) {
                if (StringUtils.isNotEmpty(value)) {
                        if(value.startsWith("[")&&value.endsWith("]")){
                                value = value.substring(1, value.length()-1);
@@ -196,7 +196,7 @@ public class HighLevelRestApi {
                }
        }
 
-       private static void setContentTypeHeader(HttpMethodBase method, String value) {
+       public static void setContentTypeHeader(HttpMethodBase method, String value) {
                if (StringUtils.isNotEmpty(value)) {
                        if(value.startsWith("[")&&value.endsWith("]")){
                                value = value.substring(1, value.length()-1);