Topics: |
This section describes how to download and upload metadata.
Metadata provides the configuration values for the Omni Governance Console (OGC) application. It describes what sources, domains, and sub-domains (from services, views, settings, and so on) are used within the application. Metadata is stored in XML format in a file-based database.
A metadata.xml file is read into and is validated while it populates the OGC configuration database, and initializes application settings.
The configuration database is stored in two files, as shown in the following image.
The database is created during the first deployment of OGC when an existing configuration database (prodDb.h2.db) is not present.
Administrators can download the runtime database of metadata stored as prodDB.h2.db (as shown in the above image) and convert it into a readable metadata XML file by clicking the Download Metadata link.
The download link is displayed in the footer of the page, as shown in the following image.
You can configure an application from metadata that is stored in an XML file. There are three scenarios for uploading metadata:
Before uploading, the file is validated to ensure that the format is correct. If the format is incorrect or thee file is empty, an error message appears, as shown in the following image.