Skip to content
Snippets Groups Projects

MR: Update osom for service state model change

Merged trantzas requested to merge issue_30 into develop
3 files
+ 4
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -91,13 +91,14 @@ public class CROrchestrationCheckDeploymentService implements JavaDelegate {
@@ -91,13 +91,14 @@ public class CROrchestrationCheckDeploymentService implements JavaDelegate {
Service serviceResult = serviceOrderManager.updateService( aService.getId(), supd, propagateToSO );
Service serviceResult = serviceOrderManager.updateService( aService.getId(), supd, propagateToSO );
return;
return;
}
}
 
rlist.add(res);
rlist.add(res);
}
}
@Valid
@Valid
ServiceStateType currentState = aService.getState();
ServiceStateType currentState = aService.getState();
ServiceStateType nextState = aService.findNextStateBasedOnSupportingResources(rlist);
ServiceStateType nextState = aService.findNextStateBasedOnResourceList(rlist);
if (!currentState.equals(nextState)) {
if (!currentState.equals(nextState)) {
supd.setState( nextState );
supd.setState( nextState );
Loading