Commit aa55fdd7 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix for #30

parent a5a460d5
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -91,13 +91,14 @@ public class CROrchestrationCheckDeploymentService implements JavaDelegate {
            Service serviceResult = serviceOrderManager.updateService( aService.getId(), supd, propagateToSO );
            return;
          }
         
          rlist.add(res);
          
        }
        @Valid
        ServiceStateType currentState = aService.getState();        
        
	    ServiceStateType nextState = aService.findNextStateBasedOnSupportingResources(rlist);
	    ServiceStateType nextState =  aService.findNextStateBasedOnResourceList(rlist);
	    
	    if (!currentState.equals(nextState)) {
	        supd.setState( nextState );     
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ public class GCOrchestrationCheckDeploymentService implements JavaDelegate {
        @Valid
        ServiceStateType currentState = aService.getState();        
        
	    ServiceStateType nextState = aService.findNextStateBasedOnSupportingResources(rlist);
	    ServiceStateType nextState = aService.findNextStateBasedOnResourceList(rlist);
	    
	    if (!currentState.equals(nextState)) {
	        supd.setState( nextState );