chaoss / grimoirelab-elk

GNU General Public License v3.0
58 stars 121 forks source link

Collect and enrich confluence by spaces #1051

Closed zhquan closed 2 years ago

zhquan commented 2 years ago

This code allows to collect and enrich confluence by spaces adding --spaces=[SPACE1, SPACE2] on the projects.json.

For instance, the following projecs.json it will collect and enrich the space DEV for the Main project and SUPP space for Support project.

{
    "Main": {
        "confluence": [
            "https://example.com --spaces=[DEV]"
        ]
    },
    "Support": {
        "confluence": [
            "https://example.com --spaces=[SUPP]"
        ]
    }
}

Method updated:

Test added accordingly.

Signed-off-by: Quan Zhou quan@bitergia.com

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2352972941


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/elastic_items.py 17 89.29%
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/utils.py 28 64.29%
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/elk.py 98 10.78%
<!-- Total: 143 -->
Totals Coverage Status
Change from base Build 2346825918: 0.02%
Covered Lines: 8817
Relevant Lines: 10753

💛 - Coveralls
sduenas commented 2 years ago

Apparently the commits of this PR were merged in master but the PR wasn't updated.

sduenas commented 2 years ago

Let's close this because the code is already merged.