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 29, 2017 · 17 revisions

MMI ORR: v2-to-v3 migration

Key steps include:

  • adjustments to ssl.conf and httpd.conf
  • orr* -> ont redirections
  • Google Analytics and ReCAPTCHA
  • Full database migration (users, ontologies, versions)
  • Enable REST API documentation at https://mmisw.org/ontapi/
  • Temporarily keep v2 at https://mmisw.org/_orr2/ - https://mmisw.org/_ont2/
  • 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 orr/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

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

  • notifications
  • ontologies
  • users
  • generated organizations, permissions
  • permissions
  • etc.