OSI should support multiple services with the same name but different priorities. If one service with a higher priority becomes unavailable, if another one is registered, it will be used to resolve consumers needs. This is why we should always use OSI.service(serviceName) whenever a consumer needs a service and not store it's instance.
OSI should support multiple services with the same name but different priorities. If one service with a higher priority becomes unavailable, if another one is registered, it will be used to resolve consumers needs. This is why we should always use
OSI.service(serviceName)
whenever a consumer needs a service and not store it's instance.