* ============LICENSE_END=========================================================
*/
-package org.openecomp.mso.bpmn.gamma.workflow.service;
+package org.openecomp.mso.bpmn.common.workflow.service;
import java.util.HashMap;
import java.util.Map;
import org.camunda.bpm.engine.MismatchingMessageCorrelationException;
import org.camunda.bpm.engine.ProcessEngineServices;
import org.camunda.bpm.engine.RuntimeService;
-
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.CreateVnfNotification;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.DeleteVnfNotification;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.MsoExceptionCategory;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.QueryVnfNotification;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.RollbackVnfNotification;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.UpdateVnfNotification;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.VnfAdapterNotify;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.VnfRollback;
-import com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.VnfStatus;
+import org.openecomp.mso.bpmn.common.adapter.vnf.CreateVnfNotification;
+import org.openecomp.mso.bpmn.common.adapter.vnf.DeleteVnfNotification;
+import org.openecomp.mso.bpmn.common.adapter.vnf.MsoExceptionCategory;
+import org.openecomp.mso.bpmn.common.adapter.vnf.QueryVnfNotification;
+import org.openecomp.mso.bpmn.common.adapter.vnf.RollbackVnfNotification;
+import org.openecomp.mso.bpmn.common.adapter.vnf.UpdateVnfNotification;
+import org.openecomp.mso.bpmn.common.adapter.vnf.VnfAdapterNotify;
+import org.openecomp.mso.bpmn.common.adapter.vnf.VnfRollback;
+import org.openecomp.mso.bpmn.common.adapter.vnf.VnfStatus;
import org.openecomp.mso.logger.MessageEnum;
import org.openecomp.mso.logger.MsoLogger;
* TODO: Add addition VnfAdapterNotify Methods for remaining VnfAdapterNotify operations.
*/
-@WebService(serviceName = "vnfAdapterNotify", targetNamespace = "http://com.att.mso/vnfNotify")
+@WebService(serviceName = "vnfAdapterNotify", targetNamespace = "http://org.openecomp.mso/vnfNotify")
public class VnfAdapterNotifyServiceImpl implements VnfAdapterNotify{
private static MsoLogger msoLogger = MsoLogger.getMsoLogger(MsoLogger.Catalog.BPEL);
*/
@WebMethod(operationName = "rollbackVnfNotification")
@Oneway
- @RequestWrapper(localName = "rollbackVnfNotification", targetNamespace = "http://com.att.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.RollbackVnfNotification")
- @Action(input = "http://com.att.mso/notify/adapterNotify/rollbackVnfNotificationRequest")
+ @RequestWrapper(localName = "rollbackVnfNotification", targetNamespace = "http://org.openecomp.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.RollbackVnfNotification")
+ @Action(input = "http://org.openecomp.mso/notify/adapterNotify/rollbackVnfNotificationRequest")
public void rollbackVnfNotification(
@WebParam(name = "messageId", targetNamespace = "")
String messageId,
*/
@WebMethod(operationName = "queryVnfNotification")
@Oneway
- @RequestWrapper(localName = "queryVnfNotification", targetNamespace = "http://com.att.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.QueryVnfNotification")
- @Action(input = "http://com.att.mso/notify/adapterNotify/queryVnfNotificationRequest")
+ @RequestWrapper(localName = "queryVnfNotification", targetNamespace = "http://org.openecomp.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.QueryVnfNotification")
+ @Action(input = "http://org.openecomp.mso/notify/adapterNotify/queryVnfNotificationRequest")
public void queryVnfNotification(
@WebParam(name = "messageId", targetNamespace = "")
String messageId,
@WebParam(name = "status", targetNamespace = "")
VnfStatus status,
@WebParam(name = "outputs", targetNamespace = "")
- com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.QueryVnfNotification.Outputs outputs){
+ org.openecomp.mso.bpmn.common.adapter.vnf.QueryVnfNotification.Outputs outputs){
QueryVnfNotification queryVnfNotification = new QueryVnfNotification();
ProcessEngineServices pes = getProcessEngineServices();
RuntimeService runtimeService = pes.getRuntimeService();
- msoLogger.setServiceName("MSO." + "vnf Adapter Query");
- msoLogger.setLogContext(messageId, "N/A");
+ MsoLogger.setServiceName("MSO." + "vnf Adapter Query");
+ MsoLogger.setLogContext(messageId, "N/A");
msoLogger.debug(logMarker + "Received QueryVnfNotification" + queryVnfNotification.toString());
System.out.println("Received QueryVnfNotification : " + queryVnfNotification.toString());
*/
@WebMethod(operationName = "createVnfNotification")
@Oneway
- @RequestWrapper(localName = "createVnfNotification", targetNamespace = "http://com.att.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.CreateVnfNotification")
- @Action(input = "http://com.att.mso/notify/adapterNotify/createVnfNotificationRequest")
+ @RequestWrapper(localName = "createVnfNotification", targetNamespace = "http://org.openecomp.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.CreateVnfNotification")
+ @Action(input = "http://org.openecomp.mso/notify/adapterNotify/createVnfNotificationRequest")
public void createVnfNotification(
@WebParam(name = "messageId", targetNamespace = "")
String messageId,
@WebParam(name = "vnfId", targetNamespace = "")
String vnfId,
@WebParam(name = "outputs", targetNamespace = "")
- com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.CreateVnfNotification.Outputs outputs,
+ org.openecomp.mso.bpmn.common.adapter.vnf.CreateVnfNotification.Outputs outputs,
@WebParam(name = "rollback", targetNamespace = "")
VnfRollback rollback){
ProcessEngineServices pes = getProcessEngineServices();
RuntimeService runtimeService = pes.getRuntimeService();
- msoLogger.setServiceName("MSO." + "vnf Adapter Create");
- msoLogger.setLogContext(messageId, "N/A");
+ MsoLogger.setServiceName("MSO." + "vnf Adapter Create");
+ MsoLogger.setLogContext(messageId, "N/A");
msoLogger.debug(logMarker + "Received CreateVnfNotification - " + createVnfNotification.toString());
long startTime = System.currentTimeMillis();
*/
@WebMethod(operationName = "updateVnfNotification")
@Oneway
- @RequestWrapper(localName = "updateVnfNotification", targetNamespace = "http://com.att.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.UpdateVnfNotification")
- @Action(input = "http://com.att.mso/notify/adapterNotify/updateVnfNotificationRequest")
+ @RequestWrapper(localName = "updateVnfNotification", targetNamespace = "http://org.openecomp.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.UpdateVnfNotification")
+ @Action(input = "http://org.openecomp.mso/notify/adapterNotify/updateVnfNotificationRequest")
public void updateVnfNotification(
@WebParam(name = "messageId", targetNamespace = "")
String messageId,
@WebParam(name = "errorMessage", targetNamespace = "")
String errorMessage,
@WebParam(name = "outputs", targetNamespace = "")
- com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1.UpdateVnfNotification.Outputs outputs,
+ org.openecomp.mso.bpmn.common.adapter.vnf.UpdateVnfNotification.Outputs outputs,
@WebParam(name = "rollback", targetNamespace = "")
VnfRollback rollback){
ProcessEngineServices pes = getProcessEngineServices();
RuntimeService runtimeService = pes.getRuntimeService();
- msoLogger.setServiceName("MSO." + "vnf Adapter Update");
- msoLogger.setLogContext(messageId, "N/A");
+ MsoLogger.setServiceName("MSO." + "vnf Adapter Update");
+ MsoLogger.setLogContext(messageId, "N/A");
msoLogger.debug(logMarker + "Received UpdateVnfNotification - " + updateVnfNotification.toString());
long startTime = System.currentTimeMillis();
* @param completed
*/
- //@WebService(serviceName="VNFAdapterDeleteCallbackV1", targetNamespace="http://com.att.mso/vnfNotify")
+ //@WebService(serviceName="VNFAdapterDeleteCallbackV1", targetNamespace="http://org.openecomp.mso/vnfNotify")
@WebMethod(operationName = "deleteVnfNotification")
@Oneway
- @RequestWrapper(localName = "deleteVnfNotification", targetNamespace = "http://com.att.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.DeleteVnfNotification")
- @Action(input = "http://com.att.mso/notify/adapterNotify/deleteVnfNotificationRequest")
+ @RequestWrapper(localName = "deleteVnfNotification", targetNamespace = "http://org.openecomp.mso/vnfNotify", className = "org.openecomp.mso.adapters.vnf.async.client.DeleteVnfNotification")
+ @Action(input = "http://org.openecomp.mso/notify/adapterNotify/deleteVnfNotificationRequest")
public void deleteVnfNotification(
@WebParam(name = "messageId", targetNamespace = "")
String messageId,
@WebParam(name = "errorMessage", targetNamespace = "")
String errorMessage) {
- //Callback URL to use http://localhost:8080/mso/services/VNFAdapterDeleteCallbackV1
+ //Callback URL to use http://localhost:28080/mso/services/VNFAdapterDeleteCallbackV1
//DeleteVnfNotification Class
DeleteVnfNotification deleteVnfNotification = new DeleteVnfNotification();