private static final String PROXY_INTERNAL_ID = "bar_34wfe32434";
@Override
public void contributeTo(final ViewConfigStore viewConfigStore) throws IOException {
final ViewConfig hostedViewConfig = new ViewConfig(new ViewId(VIEW_NAME, INTERNAL_ID),
RawBinaryViewFactory.FACTORY_NAME,
Collections.<String, Object>emptyMap());
addIfAbsent(hostedViewConfig, viewConfigStore);
final ViewConfig proxyViewConfig = new ViewConfig(new ViewId(PROXY_VIEW_NAME, PROXY_INTERNAL_ID),
RawBinaryProxyViewFactory.FACTORY_NAME,
ImmutableMap.of("sourceName", (Object) RawSourceConfigContribution.SOURCE_NAME));
addIfAbsent(proxyViewConfig, viewConfigStore);
}