Configuring the basic properties of an OMAG server

The basic properties of the OMAG server are used in logging and events originating from the server. They help to document the purpose of the server (which helps with problem determination) and enable performance improvements by allowing the server to ignore activity or metadata that is not relevant to its operation.

The basic properties include two unique identifiers:

The other basic properties have values that can be changed through the admin services API:

The sections that follow cover how to set up these values.

Set server type name

The server type name should be set to something that describes the OMAG Server’s role. It may be the name of a specific product that it is enabling, or a role in the metadata and governance landscape.

POST {serverURLRoot}/open-metadata/admin-services/users/{adminUserId}/servers/{serverName}/server-type?typeName="{serverTypeName}"

Set organization name

The organization name may be the owning organization or department or team supported by the server.

POST {serverURLRoot}/open-metadata/admin-services/users/{adminUserId}/servers/{serverName}/organization-name?name="{organizationName}"

Set the server’s user Id and optional password

The server’s user Id is used when processing request that do not have an end user, such as receiving an event from a topic. The default value is “OMAGServer”. Ideally each server should have its own user Id so it is possible to restrict the resources that each server has access to.

If the password is specified as well, the userId and password combination are yse to provide authentication information on each REST call made by the server.

This is the command for changing the server’s userId

POST {serverURLRoot}/open-metadata/admin-services/users/{adminUserId}/servers/{serverName}/server-user-id?id="{serverUserId}"

This is the command for changing the server’s password.

POST {serverURLRoot}/open-metadata/admin-services/users/{adminUserId}/servers/{serverName}/server-user-password?password="{serverUserPassword}"

Set Max Page Size

The maximum page size value sets an upper limit on the number of results that a caller can request on any paging REST API to this server. Setting maximum page size helps to prevent a denial of service attack that uses very large requests to overwhelm the server.

This is the command to set up the maximum page size. A value of 0 means no limit.

POST {serverURLRoot}/open-metadata/admin-services/users/{adminUserId}/servers/{serverName}/max-page-size?limit="{maxPageSize}"


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