Added support for finding the compute endpoint with new api