geonetwork-delwp / metashare

jibx java tool for converting metashare database to 19115-3
0 stars 0 forks source link

Generate list of Metashare datasets business unit owner #20

Closed milleri closed 4 years ago

milleri commented 4 years ago

We need to set the ownership of Geonetwork records based on the business unit of the record in Metashare. This field is not currently included in the metadata XML as far as I can see. The required field is in the main dataset table and is business_unit_owner_id, although we actually need the related description field value from the business_unit table. We don't need this to be added to the XML - a simple CSV file with UUID and business unit description would be perfect. If easier, you could include this in the file which gives the ANZLICID to UUID mapping as well - or separate files, whichever is simplest.

sppigot commented 4 years ago

Fixed and committed though it turns out that the pain of reloading wasn't necessary as the businessunit table was being used with contacts to get the description..... (Indeed it is probably in the metadata already).....