[
https://issues.jboss.org/browse/JBIDE-21995?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-21995:
-----------------------------------------------
This method is called by only
{code}
updateServer(String serverName, String host, String connectionUrl, String
deployProjectName, String serviceId, String sourcePath, String podPath, String routeURL,
IServerWorkingCopy server)
{code}
and there host is set by
{code}
server.setHost(host);
{code}
so due to the interface method we do not have to use directly PROP_HOSTNAME.
We can add before setting the host
{code}
if(host == null) {
host = ""; //or "Prompt for route when multiple routes available to
show in browser"
}
{code}
Hostname is set to localhost when prompt for route is checked
-------------------------------------------------------------
Key: JBIDE-21995
URL:
https://issues.jboss.org/browse/JBIDE-21995
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
Labels: openshift_v3, server_adapter
Fix For: 4.3.1.CR1
Hostname in Server Editor for an OpenShift 3 application is set to localhost if checkbox
"Prompt for route when multiple routes available to show in browser" is checked.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)