code: @Override
  	public String apply(String serviceId) {
  		Matcher matcher = this.servicePattern.matcher(serviceId);
  		String route = matcher.replaceFirst(this.routePattern);
  		route = cleanRoute(route);
  		return (StringUtils.hasText(route) ? route : serviceId);
  	}
docs: Use servicePattern to extract groups and routePattern to construct the route.
  
  If there is no matches, the serviceId is returned.
  @param serviceId service discovered name
  @return route path