Build a dictionary with the Report configuration with the data sources and metrics to be included
        in each section of the report
        :param data_sources: list of data sources to be included in the report
        :return: a dict with the data sources and metrics to be included in the report

def __get_config(self, data_sources=None):
        """
        Build a dictionary with the Report configuration with the data sources and metrics to be included
        in each section of the report
        :param data_sources: list of data sources to be included in the report
        :return: a dict with the data sources and metrics to be included in the report
        """

        if not data_sources:
            # For testing
            data_sources = ["gerrit", "git", "github_issues", "mls"]

        # In new_config a dict with all the metrics for all data sources is created
        new_config = {}
        for ds in data_sources:
            ds_config = self.ds2class[ds].get_section_metrics()
            for section in ds_config:
                if section not in new_config:
                    # Just create the section with the data for the ds
                    new_config[section] = ds_config[section]
                else:
                    for metric_section in ds_config[section]:
                        if ds_config[section][metric_section] is not None:
                            if (metric_section not in new_config[section] or
                                new_config[section][metric_section] is None):
                                new_config[section][metric_section] = ds_config[section][metric_section]
                            else:
                                new_config[section][metric_section] += ds_config[section][metric_section]

        # Fields that are not linked to a data source
        new_config['overview']['activity_file_csv'] = "data_source_evolution.csv"
        new_config['overview']['efficiency_file_csv'] = "efficiency.csv"
        new_config['project_process']['time_to_close_title'] = "Days to close (median and average)"
        new_config['project_process']['time_to_close_review_title'] = "Days to close review (median and average)"

        for i in range(0, len(data_sources)):
            ds = data_sources[i]
            ds_config = self.ds2class[ds].get_section_metrics()
            activity_metrics = ds_config['project_activity']['metrics']
            new_config['project_activity']['ds' + str(i + 1) + "_metrics"] = activity_metrics

        return new_config