Skip to content

make pyFAT cli use the test web services #2

@menzowindhouwer

Description

@menzowindhouwer

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
  1. 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

Metadata

Metadata

Assignees

Labels

SD_pyFATDI Structured Data team Epic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions