@@ -0,0 +1,1076 @@
+package no.uio.ifi.trackfind.backend.data.providers.example;%0A%0Aimport lombok.extern.slf4j.Slf4j;%0Aimport no.uio.ifi.trackfind.backend.data.providers.AbstractDataProvider;%0Aimport org.springframework.stereotype.Component;%0A%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.net.URL;%0Aimport java.util.Collection;%0A%0A/**%0A * Draft of Data Provider for TrackHubRegistry.%0A *%0A * @author Dmytro Titov%0A */%0A@Slf4j%0A@Component%0Apublic class ExampleDataProvider extends AbstractDataProvider %7B%0A%0A    private static final String FETCH_URL = %22https://hyperbrowser.uio.no/hb/static/hyperbrowser/files/trackfind/basic_example.json%22;%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @SuppressWarnings(%22unchecked%22)%0A    @Override%0A    protected void fetchData(String hubName) %7B%0A        try (InputStream inputStream = new URL(FETCH_URL).openStream();%0A             InputStreamReader reader = new InputStreamReader(inputStream)) %7B%0A            save(hubName, gson.fromJson(reader, Collection.class));%0A        %7D catch (Exception e) %7B%0A            log.error(e.getMessage(), e);%0A        %7D%0A    %7D%0A%0A%7D%0A

Add ExampleDataProvider.