}
params.put("servicePath", path);
for (String service : services) {
populateUrlParams(params, service);
String fullPath = pathTemplate.bindByNameNonStrict(params);
if (remove) {
MappedServices rule = mappingRules.get(fullPath);
if (rule != null) {
Set<String> serviceUrls = rule.getServiceUrls();
serviceUrls.remove(service);