Skip to content

Changing the OMAG Server Platform's Network Address

By default the OMAG Server Platform registers with the network using https://localhost:9443. This is ok for testing, or where you only want to run one instance of the OMAG Server Platform on a single machine, but for many situations it is not sufficient.

This tutorial covers changing the network address.

The OMAG Server Platform's installation directory there is the Java Archive (Jar) file for the OMAG server platform and a resources directory.

$ ls
resources               server-chassis-spring-3.3-SNAPSHOT.jar

Change to the resources directory and you will see the banner.txt file that is displayed when the OMAG server platform starts up along with the application.properties file.

$ cd resources
$ ls
application.properties  banner.txt

The application.properties file provides a means to add configuration to the Spring Boot Server Chassis that acts as a base for the OMAG Server Platform.

$ cat application.properties
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.

strict.ssl=true

################################################
### Logging
################################################
logging.level.root=OFF

Edit the application.properties file and add server.address=https://localhost:9444 to the file:

# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.

strict.ssl=true

################################################
### Logging
################################################
logging.level.root=OFF

server.address=https://localhost:9444

Start the OMAG server platform again and issue the following REST call to check the server is running with the new server address.

$ curl --insecure -X GET https://localhost:9444/open-metadata/platform-services/users/test/server-platform/origin
Egeria OMAG Server Platform
Back to top