CLARIAH / pyFAT

A Python package which does FAIR assessment
0 stars 0 forks source link

make pyFAT cli use the test web services #2

Open menzowindhouwer opened 3 months ago

menzowindhouwer commented 3 months ago

Now that all the test have become web services (see #1 ) the yml evaluator (see https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/__main__.py) should call the web services:

  1. change the metric_test_identifiers in https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/resources/metrics/clarin_fip_metrics_v0.3.yaml to point to the corresponding web service, e.g.
    metric_test_identifier: http://localhost/test/CLFIP-F1-01M-1
  2. change the code to call the web service, i.e. in the flask service: support the POST of the content of https://github.com/CLARIAH/pyFAT/blob/develop/src/pyfat/resources/metrics/clarin_fip_metrics_v0.3.yaml to http://local/test to run all the tests and return the full report, as the cli does

    aim: 16 hours hours can be written on P:OSTrails @kerim1 can help