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

Fetch mentix data in real time #30

Closed
michielbdejong opened this issue Dec 8, 2022 · 1 comment · Fixed by #27
Closed

Fetch mentix data in real time #30

michielbdejong opened this issue Dec 8, 2022 · 1 comment · Fixed by #27
Assignees

Comments

@michielbdejong
Copy link

This web app should load the live data directly from https://iop.sciencemesh.uni-muenster.de/iop/mentix/cs3 whenever the user refreshes the page.

Our current loop for debugging our site metadata is:

  1. make a change in https://gocdb.sciencemesh.uni-muenster.de/gocdb/index.php
  2. wait 4 minutes for https://iop.sciencemesh.uni-muenster.de/iop/mentix/cs3 to reflect the changes
  3. wait until @mirekys manually updates the providers.json on their server.
  4. if the result is correct, done
  5. if not. go back to 1.

It would be good to remove step 3 from this. :)

@mirekys
Copy link
Collaborator

mirekys commented Dec 12, 2022

I've added an option PROVIDERS_API, which, when used, makes meshdirectory-web service completely independent of Reva and changes made in mentix providers api are reflected in almost* realtime in the app, with no manual intervention needed.

* web app providers list is pre-compiled with ISR, but it now revalidates the generated page every 1min to ease the debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants