[
https://issues.jboss.org/browse/JBIDE-12826?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-12826:
---------------------------------------------
so its only in presence of the old keys we do this "approximation" ? works for
me then.
Migrate existing preferences and project settings to new tooling
----------------------------------------------------------------
Key: JBIDE-12826
URL:
https://issues.jboss.org/browse/JBIDE-12826
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: openshift
Affects Versions: 4.0.0.Alpha2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.0.0.Beta1
The new tooling (Beta1) now allows the user to use different servers which was not
possible in prior releases. In prior releases the server that the tooling used was the
server referenced in the express configurations (~/.openshift/express.conf and
/etc/openshift/express.conf).
There are preferences and project settings that we used in prior tooling that were
referring to connections. When referring these values were only using the username (since
there was no notion of a server). In the new tooling we now allow referring to a server.
We should not break old settings though. To do so we forsee the following strategies:
* connection list (connection pool, that's also used by the OpenShift Explorer):
The current key/values only use the username. Migration:
** we keep the existing preference key/values
** we create a new preference key
** the connection pool is loading the old and new preferences
** the connection pool is storing the connections that define connections to the default
server to the old preferences
* Project settings:
The current entry is using the username only. Migration:
** we keep the existing entry
** we add a new entry if the user uses a connection to a custom (non-default) server
** we update the old entry if the user changes the username
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira