protected J4pClient createJolokiaClient(ManifestContainer container, String jolokiaUrl) {
String name = container.getName();
LOG.info("Creating jolokia client for : " + name + " at URL: " + jolokiaUrl);
J4pClientBuilder builder = J4pClient.url(jolokiaUrl);
if (Strings.isNotBlank(user)) {
builder = builder.user(user);
}
if (Strings.isNotBlank(password)) {
builder = builder.password(password);
}
return builder.build();