Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection of the VCR and the FCS to the LRS #29

Open
claus-zinn opened this issue Aug 10, 2017 · 5 comments
Open

Connection of the VCR and the FCS to the LRS #29

claus-zinn opened this issue Aug 10, 2017 · 5 comments
Labels
about repositories Issue requiring a change in a repository, not in Switchboard

Comments

@claus-zinn
Copy link
Contributor

So far, the CLARIN VCR and the CLARIN FCS have not been connected to the LRS. The LRS is prepared to accept calls from both services, but the VCR and the FCS lack functionality to initiate LRS calls. There is some integration work required, potentially also on the LRS side once things are fleshed out in more detail.

@WillemElbers
Copy link

WillemElbers commented Nov 1, 2018

In the VCR beta I am working on integrating with the LRS. Currently I use the following endpoint: https://switchboard.clarin.eu/#/vlo/<url> where <url> is an url pointing to a resource from the VCR.

Two changes required for this integration:

  • Change in the endpoint to use /#/vcr instead of /#/vlo. Or make this more generic in some other way.
  • There is a reference to the VLO in the UI ("Resource transferal from VLO. Please check the information below, then press "Show Tools"") when using the /#/vlo endpoint. This should be VCR specific when using the vcr endpoint (/#/vcr)

Question:

Currently I add a lrs link to each resource of a collection. I send a single resource to the switchboard. Would there be a use-case for sending the full collection (containing references to n resources) to the switchboard?

@claus-zinn
Copy link
Contributor Author

For the VCR, the endpoint should be https://switchboard.clarin.eu/#/vcr/. The switchboard takes the route /#/vlo/ as being invoked from the VLO. The route /#/vcr indicates that the switchboard is invoked via the VCR. So far, that's the only thing that matters for the switchboard. Try the following: invoked the switchboard via the VLO, once directed to the switchboard change its invocation URL from /vlo to /vcr. The text changes to "Resource transferal from VCR". That's the only behavioural difference. For the time being, the switchboard only understands the transferal of a single resource. In the future, we may want to send an entire collection to the switchboard, but I think we should have a use case that demonstrates that this is a feature we need to have.

On the switchboard side, everything's ready for the simple case.

@WillemElbers
Copy link

Confirmed this is working, thanks.

@emanueldima emanueldima transferred this issue from clarin-eric/LRSwitchboard Sep 26, 2019
@emanueldima emanueldima added enhancement New feature or request about repositories Issue requiring a change in a repository, not in Switchboard and removed enhancement New feature or request labels Oct 10, 2019
@dietervu
Copy link
Contributor

For the FCS integration we discussed today one option of LRS-FCS integration: the dictionary search could be forwarded to the FCS "simple search" URL, as in https://contentsearch.clarin.eu/?query=sand

(at the moment this just enters the search text in the search box, but work is on the way to actually also start the search operation)

@emanueldima
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
about repositories Issue requiring a change in a repository, not in Switchboard
Projects
None yet
Development

No branches or pull requests

4 participants