Skip to content

Quality Evaluator - Get KPIs from UDRG API Instead of Config File

The current implementation of the job that computes KPIs retrieves the list of KPIs from a configuration file. This should be replaced with a request to the appropriate UDRG API endpoint.

The swagger UI of the endpoint: http://localhost:8090/docs#/KPI%20Library/get_kpis_quality_kpilibrary_kpis_get

NOTE: as this Swagger UI is not exposed as public, it needs to forward locally port 8090

Suggested changes

Here you can find the place in the current implementation of the Job: https://gitlab.eclipse.org/eclipse-research-labs/datamite-project/data-quality/quality_evaluator/-/blob/develop/spark_jobs/evaluator_kpi_library_data_payload.py?ref_type=heads#L60

/cc @chondrog , @emiedesiti

Edited by Antoni Gimeno