Closed rhanka closed 6 years ago
A first integration has been done you just have to :
PUT {machid-backend}/matchID/api/v0/datasets/<dataset>/validation`
then matchID-backend writes elasticsearch.json (etc.) to a matchIdConfig directory. The docker-compose from matchID-backend share from backend to frond end so the work is ok for experimentation. The web-app from matchID-backend demonstrate a web integration of matchID-validation in the dataprep process.
A deeper integration should now be developped, where a matchID-validation could get and update configuration from an API - this one could be
GET {matchid-backend}/matchID/api/v0/conf/validation/elasticsearch.json`
(and so on, or a uniq json).
matchID-backend could provide a proxy for matchID-validation :
matchID-backend could provide the folowing methods/APIs:
only "lang.json" which is not dataset-dependant should be kept as global configuration, which could still be provided by the backend.
A first step could be a "blind"-driven matchID configuration driven server side from matchID-backend to demonstrate this possibility (=> direct docker integration)
A second step would require some enhancements :