code: @VisibleForTesting
      static String makeEndPointPath(ServiceEndPoint endPoint) {
          String servicePath = makeServicePath(endPoint.getServiceName());
          String id = endPoint.getId();
          return ZKPaths.makePath(servicePath, id);
      }
docs: Convert a <code>ServiceEndPoint</code> into the path in ZooKeeper where it will be registered.
  @param endPoint The service end point to get the ZooKeeper path for.
  @return The ZooKeeper path.