AnsweredAssumed Answered

restman returns urls with hostname instead of clustername

Question asked by pwhelan81 on May 26, 2017
Latest reply on Jun 7, 2017 by pwhelan81

Enabled rest management service on both single node gateway and 2 node cluster.  Both have cluster.hostname set to a vanity name that matches the public CA private SSL key loaded.   Only modified published restman policy to go against LDAP IDP we have configured

 

If i call https://vanityname/restman/1.0/doc/home.html   I get the documentation screen however all the uris embedded include the hostname such as https://hostname/restman/1.0/folders   This URI does work and I can replace the hostname with vanityname and it works as well (after loggin in again),   but the values returned again have hostname in them

 

<l7:Name>FOLDER List</l7:Name>
<l7:Type>List</l7:Type>
<l7:TimeStamp>2017-05-26T17:58:20.843-04:00</l7:TimeStamp>
<l7:Link rel="self" uri="https://hostname:443/restman/1.0/folders"/>
<l7:Link rel="template" uri="https://hostname:443/restman/1.0/folders/template"/>
<l7:Item>
<l7:Name>Root Node</l7:Name>
<l7:Id>0000000000000000ffffffffffffec76</l7:Id>
<l7:Type>FOLDER</l7:Type>
<l7:TimeStamp>2017-05-26T17:58:20.843-04:00</l7:TimeStamp>
<l7:Link rel="self" uri="https://hostname:443/restman/1.0/folders/0000000000000000ffffffffffffec76"/>
<l7:Resource>
<l7:Folder id="0000000000000000ffffffffffffec76" version="0">
<l7:Name>Root Node</l7:Name>
</l7:Folder>
</l7:Resource>
</l7:Item>
</l7:List>

 

Is this suppose to work this way??? should I always be using hostname to call restman???  If not, how do I get restman to using the cluster.hostname?

Outcomes