allow the registry to be discovered from the service name

allow the registry to be discovered from the service name