Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.
Carlos Rueda edited this page May 26, 2017 · 17 revisions

MMI ORR: v2-to-v3 migration

Key steps include:

tested final what
✔️ adjustments to ssl.conf and httpd.conf
✔️ orr* -> ont redirections
Google Analytics and ReCAPTCHA
✔️ Full database migration (users, ontologies, versions)
✔️ Review and testing (ontologies, users, generated organizations, permissions, etc.)

Adjustments to ssl.conf and httpd/conf

ProxyPass to map /ont to new ORR v3 application

orr* -> ont redirections

For any bookmarks out there, https?://mmisw.org/orr should redirect to new dispatch at https?://mmisw.org/ont once v3 is installed at /ont/.

For this, a new index.html will be deployed at the /orr/ path to take care of the redirection according to the routes supported in v2 and corresponding appropriate handling in v3.

Tests to verify the expected redirection behavior:

From To
http://mmisw.org/orr/#b http://mmisw.org/ont/
http://mmisw.org/orr/#so/device http://mmisw.org/ont/#/so/device
http://mmisw.org/orr/#st/chlorophyl http://mmisw.org/ont/#/st/chlorophyl
http://mmisw.org/orr/#http://mmisw.org/ont/mmi/platform http://mmisw.org/ont/?uri=http://mmisw.org/ont/mmi/platform
http://mmisw.org/orr/#https://www.w3.org/ns/ssn http://mmisw.org/ont/?uri=https://www.w3.org/ns/ssn

orr/index.html:

Also, the following redirect is needed:

From To
http://mmisw.org/orr/sparql http://mmisw.org/ont/sparql

which can be taken care of with a simple Apache redirect.

Google Analytics and ReCAPTCHA

Capture the relevant settings in orront.conf.

Full database migration (users, ontologies, versions)

$ sbt run

Review and testing

  • ontologies, users, generated organizations, permissions
  • notifications
  • etc.
Clone this wiki locally