DX NetOps

  • 1.  IP instead of hostname in Web App Beta

    Posted Apr 12, 2019 08:55 AM

    Hello,

     

    When I open the web app beta in Spectrum 10.3.2 from the One Click web console, the url is on the format:

     

    http://hostname:443/spectrum/oneclickwebapp/

     

    I want to change this url (to something like http://IP:9443/spectrum/oneclickwebapp/)

     

    Do you know how can I do this change?



  • 2.  Re: IP instead of hostname in Web App Beta
    Best Answer

    Broadcom Employee
    Posted Apr 12, 2019 08:59 AM

    Hi Bruno,

    Details are here:

    OneClick WebApp (Beta) - CA Spectrum - 10.3.1 - CA Technologies Documentation 

    To change the OneClick WebApp URL in the admin page

    To change the OneClick WebApp URL in the admin page, if the port/protocol is changed follow these steps:

    1. Navigate to the $pecroot/tomcat/webapps/spectrum/console/console-menubar.jsp and search for the following section:

      <% if ( request.isUserInRole("Administrator") == true ||
      request.isUserInRole("Operator") == true )
      { %>

      <th class="customFontSize">

      <a href="http://<HOST>:<PORT>/spectrum/oneclickwebapp/"

      onMouseOver="window.parent.status='<apputil:message key='console-menubar.Lite-OC'/>';return true;"
      onMouseOut="window.parent.status='';return true;"
      target="_blank"><apputil:message key='console-menubar.Lite-OC'/></a>
      </th>

      <% } %>

    2. Customize the 'href' URL to match the OneClick hostname and the WebApp port that you set mentioned in Step 2. For example:  <ahref="http://OCServer1:8450/spectrum/oneclickwebapp/"

    3. Customize the 'href' URL mentioned above and save your changes.

    4. Refresh the admin page.

     

    Cheers!

    Jay



  • 3.  Re: IP instead of hostname in Web App Beta

    Posted Apr 18, 2019 05:44 AM

    It solved the issue! Thank you!