Configuring Admin Gateways

All Union Platform questions, comments, feature requests, and bug reports.

Configuring Admin Gateways

Postby toby » Wed 27 Apr 2016 01:15

I happened to look at my log files for a system startup and I noticed this:

2016-04-27 04:55:47,267 WARN - The use of <ip> and <port> under <admin> is now deprecated. Declare one or more [Admin] or [SecureAdmin] gateways using the <gateways> section to configure how admin tools will connect to the server.

However, I cannot find any examples of how that should be done.

The example on this page, Configuration,
appears to use the deprecated syntax, similar to what is distributed in the default union.xml.

Can anyone solve this dilemma?

Here is the code example from that page:

Code: Select all
<union>
    <server>
        <admin>
            <ip>1.2.3.4</ip>
            <port>9110</port>
            <password>password</password>
        </admin>
        <client_timeout>30</client_timeout>
        <attributes>
            <attribute name="serverAttribute">serverAttributeValue</attribute>
        </attributes>
    </server>
    <gateways>
        <gateway id="PrimaryGateway" type="TCP">
            <ip>1.2.3.4</ip>
            <port>9100</port>
            <policy_file>policy.xml</policy_file>
            <access_control_allow_origin>http://example1.com,http://example2.com</access_control_allow_origin>
        </gateway>             
    </gateways>
toby
 
Posts: 162
Joined: Sun 24 Jun 2012 14:18

Return to Union Platform

Online

Users browsing this forum: No registered users and 5 guests