Skip to content
Snippets Groups Projects
Commit aa55fdd7 authored by tranoris's avatar tranoris
Browse files

fix for #30

parent a5a460d5
No related branches found
No related tags found
2 merge requests!22MR for Release 2024Q4,!17MR: Update osom for service state model change
Pipeline #10763 passed
...@@ -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 );
......
...@@ -96,7 +96,7 @@ public class GCOrchestrationCheckDeploymentService implements JavaDelegate { ...@@ -96,7 +96,7 @@ public class GCOrchestrationCheckDeploymentService implements JavaDelegate {
@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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment