public static String getPathFromServiceId ( String serviceId ) { return serviceId . substring ( serviceId . indexOf ( ":" ) + 1 , serviceId . lastIndexOf ( ":" ) ) ; }
get path of url from service id in consul