info.addAttribute(ComponentInfoAttributes.LEVEL, (maxLevel + 1));
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteHistoricalTimeSeriesProvider.class);
info.addAttribute(ComponentInfoAttributes.ACCEPTED_TYPES, Joiner.on(',').join(acceptedTypes));
repo.registerComponent(info, provider);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataHistoricalTimeSeriesProviderResource(provider));
}
}