public void testDump()
throws Exception
{
LOG.info("######################## Running testDump()");
PluginContainer pc = PluginContainer.getInstance();
ConfigurationAgentService configService = pc.getConfigurationAgentService();
Resource platform = discoverPlatform();
LOG.info("Loaded Servers");
for (Resource server : platform.getChildResources())
{
String serverName = server.getName();
LOG.info("Server: " + serverName);
for (Resource service : server.getChildResources())
{
LOG.info(" Service: " + service.getName());
Configuration serviceConfig = configService.loadResourceConfiguration(service.getId());
logConfiguration(serviceConfig, " ");
}
}
}