info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteVolatilityCubeDefinitionSource.class);
VolatilityCubeDefinitionSource base = new ConfigDBVolatilityCubeDefinitionSource(getConfigSource());
if (isBloomberg()) {
VolatilityCubeDefinitionSource bbg = new BloombergVolatilityCubeDefinitionSource();
VolatilityCubeDefinitionSource combined = new AggregatingVolatilityCubeDefinitionSource(Arrays.asList(bbg, base));
repo.registerComponent(info, combined);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataVolatilityCubeDefinitionSourceResource(combined));
}