import javax.xml.bind.DatatypeConverter;\r
\r
import org.apache.http.HttpResponse;\r
-import org.apache.http.client.ClientProtocolException;\r
import org.apache.http.client.methods.HttpGet;\r
import org.apache.http.client.methods.HttpPost;\r
import org.apache.http.entity.StringEntity;\r
}\r
\r
@Override\r
- public HttpResponse post(String jsonReq)\r
- throws ClientProtocolException, IOException{\r
+ public HttpResponse post(String jsonReq) throws IOException{\r
HttpPost post = new HttpPost(url);\r
msoLogger.debug("Camunda Task url is: "+ url); \r
\r
\r
@Override\r
public HttpResponse post(String camundaReqXML, String requestId,\r
- String requestTimeout, String schemaVersion, String serviceInstanceId, String action)\r
- throws ClientProtocolException, IOException{\r
- msoLogger.debug("Method not supported");\r
- return null;\r
+ String requestTimeout, String schemaVersion, String serviceInstanceId, String action) {\r
+ throw new UnsupportedOperationException("Method not supported.");\r
}\r
- \r
+\r
@Override\r
- public HttpResponse post(String requestId, boolean isBaseVfModule,\r
- int recipeTimeout, String requestAction, String serviceInstanceId,\r
- String vnfId, String vfModuleId, String volumeGroupId, String networkId, String configurationId,\r
- String serviceType, String vnfType, String vfModuleType, String networkType,\r
- String requestDetails, String recipeParamXsd)\r
- throws ClientProtocolException, IOException{\r
- msoLogger.debug("Method not supported");\r
- return null;\r
+ public HttpResponse post(RequestClientParamater params) {\r
+ throw new UnsupportedOperationException("Method not supported.");\r
}\r
- \r
+\r
@Override\r
- public HttpResponse get() throws ClientProtocolException, IOException{\r
+ public HttpResponse get() throws IOException {\r
HttpGet get = new HttpGet(url);\r
- msoLogger.debug("Camunda Task url is: "+ url); \r
+ msoLogger.debug("Camunda Task url is: "+ url);\r
String encryptedCredentials;\r
if(props!=null){\r
encryptedCredentials = props.getProperty(CommonConstants.CAMUNDA_AUTH,null);\r
}\r
}\r
}\r
- \r
return client.execute(get);\r
}\r
\r