public void onConfigure(DashboardRepository repository) {
Map<Key, Map<String, ?>> serviceSettings = getSettings()
.getServiceSettings(HudsonService.class);
for (Key key : serviceSettings.keySet()) {
if (key instanceof Project) {
Project project = (Project) key;
repository.addDataSource(project, NumberOfUnitTests.class,
new NumberOfUnitTestsImpl(project, this));
repository.addDataSource(project, HudsonBuildStatus.class,
new HudsonBuildStatusImpl(project, this));
repository.addDataSource(project, HudsonBuildNumber.class,