Open awagner-mainz opened 2 years ago
It should be possible (and perhaps the best and "normal" solution) to run all the services behind a reverse proxy (like w3id.org) that would then redirect differently, based on whether the url ends in /reconcile
(then redirect to some skohub-reconcile server) or not (then redirect to skohub.io or github pages or whatever).
The only integration necessary on skohub-vocabs' side would then be the pushing of data/populating the elasticsearch index on the skohub-reconcile server that would have to be actively triggered when a vocabulary is added/updated in skohub-vocabs.
Probably skohub-vocabs should run the reconciliation service (and forward the respective paths) when configured to do so. We'd better have one single http port for both the vocabs and reconciliation endpoints.
Or what other/better way would there be for running both services flexibly and elegantly?