Overriding the location for storing configuration documents

By default, configuration documents are stored as a file in the OMAG server platform’s home directory. The file name is


where serverName is the name of the OMAG server (cocoMDS1 for example).

The management of the configuration documents on the disk is implemented by a connector. To change the connector used for the configuration (and hence where and how configuration documents are stored), use the following REST API with the connection object of the new connector as the request body.

POST {platformURLRoot}/open-metadata/admin-services/users/{adminUserId}/stores/connection

The JSON below is an example of a Connection object.

    "class": "Connection",
        "class": "ConnectorType",
        "connectorProviderClassName": "org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"
        "class": "Endpoint",
        "address": "common-services/open-metadata/ConfigDocStore/Production"

The admin services also support a GET request to inspect the setting of the connection and a DELETE request to clear the connection setting back to null (default). Both requests use the same URL.

License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.