Modify the way the status of a Service in inventory is determined when a supporting resource changes status
Mainly focus on resourceStateChangedEvent method of ServiceRepoService we need to create another method that determines the service status by evaluating the status of all its supporting resources. As it is now it evaluates only one and breaks. The mechanism can be implemented inside the Service class. The same mechanism should be used also by OSOM, For example in OrderCompleteService.java lines 140-150 and in CROrchestrationCheckDeploymentService.java Lines 82-130