Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 2.59 KB

configuration-document-store-connector.md

File metadata and controls

75 lines (55 loc) · 2.59 KB

Configuration document store connector

The configuration for an OMAG Server is managed by the Configuration Document Store Connector.

The admin-services-api module provides the interface definition for this connector. Its interface is simple consisting of save, retrieve and delete operations:

/**
 * OMAGServerConfigStore provides the interface to the configuration for an OMAG Server.  This is accessed
 * through a connector.
 */
public interface OMAGServerConfigStore
{
    /**
     * Save the server configuration.
     *
     * @param configuration configuration properties to save
     */
    void saveServerConfig(OMAGServerConfig   configuration);


    /**
     * Retrieve the configuration saved from a previous run of the server.
     *
     * @return server configuration
     */
    OMAGServerConfig  retrieveServerConfig();


    /**
     * Remove the server configuration.
     */
    void removeServerConfig();
}

The configuration document is represented by the OMAGServerConfig structure. The name of the server is stored in the localServerName property in OMAGServerConfig.

Sample implementations

The implementations of this connector provided by Egeria are found in the configuration-store-connectors module. There are two connectors:

These are the configuration store connectors implemented by Egeria.

Configuring the connector into an OMAG Server Platform

See Configuring the Configuration Document Store for the command to install a particular configuration document store connector into the OMAG Server Platform.



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