-
-
Notifications
You must be signed in to change notification settings - Fork 9
Migration 2018 06
-
Backup db
-
Database SQL migration (see https://github.com/eea/geonetwork-eea/blob/eea-3.4.3/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-201805.sql and for the editor an extra one https://github.com/eea/geonetwork-eea/blob/eea-3.4.3/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-201805-editor.sql)
-
WAR update
-
Startup the application
- Thesaurus manual update (new INSPIRE theme thesaurus from the Registry)
- (if updating an old WAR) Clear JS&CSS cache from the admin http://localhost:8080/geonetwork/srv/eng/admin.console#/tools
-
Run records migration
The migration process is the following https://github.com/eea/geonetwork-eea/blob/eea-3.4.3/schemas/iso19139/src/main/plugin/iso19139/process/eea-migrate-201711.xsl It is used to update existing EEA records in order to change:
- Replace [email protected] by [email protected]
- Add INSPIRE conformity and set it by default to not evaluated
- Replace old CRS encoding by URN as recommended by INSPIRE.
To run the migration, make a search corresponding to the records to update and add assign it a bucket number
http://localhost:8080/geonetwork/srv/fre/q?&bucket=111
Then add this bucket to the selection
http://localhost:8080/geonetwork/doc/api/#/selections/addToSelection
Set bucket name to ̀111
̀
Execute. This return the number of record in current bucket.
Then process the selection
http://localhost:8080/geonetwork/doc/api/#/processes/processRecordsUsingXslt
Set the process id to eea-migrate-201711
and the bucket id to 111
̀