code: private static String normalizePath(final Service service) {
          var path = service.getId();
          path = StringUtils.substringBefore(path, "?");
          path = StringUtils.substringBefore(path, ";");
          path = StringUtils.substringBefore(path, "#");
          return path;
      }
docs: Normalize the path of a service by removing the query string and everything after a semi-colon.
  
  @param service the service to normalize
  @return the normalized path