Commit 6d14f19f authored by Fernando Agraz's avatar Fernando Agraz
Browse files

Temorarily replaced ActuationData with String to avoid errors, since no...

Temorarily replaced ActuationData with String to avoid errors, since no Actuation Result Information is being currently sent back
parent d9344467
......@@ -203,8 +203,9 @@ public class NmroCsLifecycleController {
try
{
ActuationData response = csLcmService.actuateCs(request);
return new ResponseEntity<ActuationData>(response, HttpStatus.OK);
/*ActuationData*/String response = csLcmService.actuateCs(request);
//return new ResponseEntity<ActuationData>(response, HttpStatus.OK);
return new ResponseEntity<String>(response, HttpStatus.OK);
}
catch (MethodNotImplementedException e) {
return new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
......
......@@ -124,9 +124,10 @@ public class NmroCsLifecycleService {
return new QueryCsResponse(ResponseCode.OK, queryCsResult);
}
public ActuationData actuateCs (ActuateServiceRequest request) throws MethodNotImplementedException, NotExistingEntityException, FailedOperationException, MalformattedElementException
public /*ActuationData*/String actuateCs (ActuateServiceRequest request) throws MethodNotImplementedException, NotExistingEntityException, FailedOperationException, MalformattedElementException
{
ActuationData actuationData = null;
//ActuationData actuationData = null;
String actuationData = null;
String csiId = request.getServiceId();
......@@ -139,7 +140,8 @@ public class NmroCsLifecycleService {
if (request.getActuationName().equals("Reroute"))
{
actuationData = new ActuationData();
//actuationData = new ActuationData();
actuationData = "SUCCESS";
String iPoPCId = request.getParameters().get("resourceId");
nmro.getCpDriver().actuateInterPoPConnection(iPoPCId);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment