@Override
public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) throws Exception {
NonVersionedRedisConfigSource source = new NonVersionedRedisConfigSource(getRedisConnector().getJedisPool(), getRedisPrefix());
ComponentInfo info = new ComponentInfo(ConfigSource.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteConfigSource.class);
repo.registerComponent(info, source);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataConfigSourceResource(source));
}