HTTP Server Configuration
This guide describes how to set up a new HTTP server port. Server ports handle web service requests and were previously referred to as listeners.
Default configuration
Port configuration is maintained in mdm-server > etc > application.properties (for more information, see MDM Server Application Properties).
An MDM server usually has one HTTP port configured (named default).
#MDM HTTP server
ataccama.server.http.default.port=8051
The configuration allows other optional properties enabling SSL authentication.
All MDM endpoints are exposed on the same port by default, which means the
If used in the Runtime Server context, the property can still be used. |
Advanced configuration
You can add another HTTP server port by adding the property ataccama.server.http.{listener_name}.port
to MDM Server Application Properties.
Endpoints can be distributed among different server ports using path.exclude
and path.include
options as shown in the following example.
Server port values and names must be unique.
Using multiple ports has its drawbacks:
|
#MDM HTTP server
ataccama.server.http.default.port=8051
ataccama.server.http.default.path.exclude=/,/console/**,/nme-rest/**,/ha/console/**,/ha/rest/**
ataccama.server.http.console.port=8052
ataccama.server.http.console.path.include=/,/console/**,/sso/**,/health
ataccama.server.http.rest.port=8053
ataccama.server.http.rest.path.include=/nme-rest/**
ataccama.server.http.ha-console.port=8054
ataccama.server.http.ha-console.path.include=/ha/console
ataccama.server.http.ha-rest.port=8055
ataccama.server.http.ha-rest.path.include=/ha/rest
#MDM HA configuration
ataccama.one.mdm.ha.load-balancer.port=8058
ataccama.one.mdm.ha.local-target-server.name=nme-rest
Was this page useful?