private String performCall(String path, Map<String, String> headers, long timeout, TimeUnit unit) throws Exception {
return HttpRequest.get("http://localhost:8080" + path, headers, timeout, unit);
}
private ObjectName getObjectName(Module module) throws MalformedObjectNameException {
ResourceIdentity identity = module.getIdentity();
return new ObjectName("test:name=" + identity.getSymbolicName() + ",version=" + identity.getVersion());
}