_log.error("no configured data sources");
return Response.ok(error("unmatched-stops", "no configured data sources")).build();
}
for (MonitoredDataSource mds : getDataSources()) {
MonitoredResult result = mds.getMonitoredResult();
if (result == null) continue;
for (String mAgencyId : result.getAgencyIds()) {
_log.debug("examining agency=" + mAgencyId + " with unmatched stops=" + result.getUnmatchedStopIds().size());
if (agencyId.equals(mAgencyId)) {
unmatchedStops += result.getUnmatchedStopIds().size();
}
}
}
return Response.ok(ok("unmatched-stops", unmatchedStops)).build();
} catch (Exception e) {