[Quality Evaluator] Use /quality/customMetric/activeDataset/{dataset_id} service to check if active rules for dataset_id
Use UDRG REST service to check if a dataset_id has active rules associated to it:
GET /quality/customMetric/activeDataset/{dataset_id}
This service will return a JSON like this:
{
"dataset_id": "ds1",
"active": true
}
so it can be used before invoking the /quality/customMetric/interpreter/compute
service of the UDRG API . This will avoid the process of uploading tha dataframe to the UDRG API if there are no active rules to evaluate ("active": false
).
/cc @agimenobono