@@ -0,0 +1,1264 @@
+package com.boundary.metrics.vmware;%0A%0Aimport io.dropwizard.configuration.ConfigurationFactory;%0Aimport io.dropwizard.jackson.Jackson;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0Aimport javax.validation.Validation;%0Aimport javax.validation.Validator;%0A%0Aimport com.fasterxml.jackson.core.JsonParseException;%0Aimport com.fasterxml.jackson.databind.JsonMappingException;%0Aimport com.google.common.io.Resources;%0A%0Apublic class VMWareTestUtils %7B%0A%0A%09public static VMwarePerfAdapterConfiguration getConfiguration(String resource) throws Exception %7B%0A%0A%09%09VMwarePerfAdapterConfiguration configuration = null;%0A%09%09File validFile = new File(Resources.getResource(resource).toURI());%0A%09%09System.out.println(resource);%0A%0A%09%09Validator validator = Validation.buildDefaultValidatorFactory()%0A%09%09%09%09.getValidator();%0A%09%09ConfigurationFactory%3CVMwarePerfAdapterConfiguration%3E factory = new ConfigurationFactory%3CVMwarePerfAdapterConfiguration%3E(%0A%09%09%09%09VMwarePerfAdapterConfiguration.class, validator,%0A%09%09%09%09Jackson.newObjectMapper(), %22dw%22);%0A%0A%09%09try %7B%0A%09%09%09configuration = factory.build(validFile);%0A%09%09%7D catch (JsonParseException e) %7B%0A%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (JsonMappingException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09%0A%09%09return configuration;%0A%09%7D%0A%7D%0A

Add utility class loads VMWare adapter configuration file