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?:https://mmisw.org/orr should redirect to new dispatch at https?: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:https://mmisw.org/orr/#b
http:https://mmisw.org/ont/
http:https://mmisw.org/orr/#so/device
http:https://mmisw.org/ont/#/so/device
http:https://mmisw.org/orr/#st/chlorophyl
http:https://mmisw.org/ont/#/st/chlorophyl
http:https://mmisw.org/orr/#http:https://mmisw.org/ont/mmi/platform
http:https://mmisw.org/ont/?uri=http:https://mmisw.org/ont/mmi/platform
http:https://mmisw.org/orr/#https://www.w3.org/ns/ssn
http:https://mmisw.org/ont/?uri=https://www.w3.org/ns/ssn

Also, the following redirect is needed:

From
To
http:https://mmisw.org/orr/sparql
http:https://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.