@Override
	public void undeploy(String name) {
		// TODO: discover link by some other means (search by exact name on
		// /resources??)
		String uriTemplate = resources.get(this.resourceType + "/deployments").toString() + "/{name}";
		restTemplate.delete(uriTemplate, name);
	}
@author Paul Harris
@author Gary Russell
@since 1.2
spring-xd-rest-client/src/main/java/org/springframework/xd/rest/client/impl/AbstractResourceTemplate.java