Map<String, List<ProjectionConfiguration>> projectionsByWorkspace = new HashMap<String, List<ProjectionConfiguration>>();
if (!federation.containsField(FieldName.EXTERNAL_SOURCES)) {
return projectionsByWorkspace;
}
Document externalSources = federation.getDocument(FieldName.EXTERNAL_SOURCES);
for (String sourceName : externalSources.keySet()) {
Document externalSource = externalSources.getDocument(sourceName);
if (!externalSource.containsField(FieldName.PROJECTIONS)) {
continue;
}