Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: 215e6517b6788d52e998c6e50c9ed7af16df82b0
https://github.com/Teiid-Designer/teiid-designer/commit/215e6517b6788d52e...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-08-02 (Fri, 02 Aug 2013)
Changed paths:
A plugins/org.teiid.designer.advisor.ui/icons/full/ctool16/refresh-server.gif
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/AdvisorUiConstants.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/Messages.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/actions/AdvisorActionFactory.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/actions/AdvisorGuides.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/messages.properties
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/i18n.properties
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/RefreshServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/RuntimeAssistant.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/SetDefaultServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/TeiidServerActionProvider.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServer.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/i18n.properties
Log Message:
-----------
Adds a Refresh Server action to Teiid Server category in Guides View
* RefreshServerAction
* Refactored to allow it to be called from the RuntimeAssistant
* Identifiers and image added to display the refresh action in the guides
view
Commit: b841e133fb5e4d8e657332a9f0171030309be6c0
https://github.com/Teiid-Designer/teiid-designer/commit/b841e133fb5e4d8e6...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-08-02 (Fri, 02 Aug 2013)
Changed paths:
M plugins/org.teiid.designer.core/META-INF/MANIFEST.MF
A
plugins/org.teiid.designer.core/src/org/teiid/designer/core/ParentServerMonitor.java
M plugins/org.teiid.designer.dqp.ui/plugin.properties
M plugins/org.teiid.designer.dqp.ui/plugin.xml
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/DqpUiPlugin.java
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/i18n.properties
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/EditServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/ServerPage.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditor.java
R
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditorInput.java
R
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditorInputFactory.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/DefaultServersProvider.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/DqpPlugin.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidParentServerListener.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServerManager.java
M
plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/spi/ITeiidServerManager.java
M
plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/explorer/ModelExplorerResourceNavigator.java
Log Message:
-----------
TEIIDDES-1813: Fixes race condition on startup
* Stops parts of the UI calling on the TeiidServerManager before it
has been initialised. Its initialisation is dependent upon the
full initialisation of ServerCore, which provides the configured
JBoss Servers
* ParentServerMonitor
* Responsible for monitoring ServerCore's resource manager to determine
whether it has been initialised. This has to be done using reflection
since the field is not publically accessible.
* Method for instant check on status of initialisation
* Listener framework for adding clients who wish to be notified when the
ServerCore is initialised
* plugin.xml
* plugin.properties
* TeiidServerEditor
* Standalone Teiid Server editor replaced with tab on multi-page Server
editor
* AllJBTTeiidServerTypes copied from JBoss Tools properties and will need
to be kept up-to-date with later versions of JBoss
* Editor will not display contents if it determines the parent server does
not support teiid. This can only be achieved if the server is started
though.
* Editor does not populate contents until the TeiidServerManager is fully
initialised hence a ParentServerMonitorListener and a thread are used
* DefaultServersProvider
* Has a straight check for ServerCore initialisation. This should allow
immediate notification of a programming error
* DqpPlugin
* TeiidParentServerListener adding to ServersProvider moved to
TeiidServerManager
* TeiidParentServerListener
* When a server starts, only then can it be truly determined whether it
has teiid installed. At that point, if it does not and a TeiidServer
has been cached in the TeiidServerManager, remove it.
* TeiidServerManager
* Provides getter for its current state
* Wrap restoreState method in check on ServerCore and if necessary await
ServerCore initialisation
* ModelExploreResourceNavigator
* Wrap the server version content in a ParentServerMonitorListener and
loading thread to delay population until both ServerCore and
TeiidServerManager have been restored
Commit: 3f10d43c05b7b9d5444d73fe42821d776c8e346f
https://github.com/Teiid-Designer/teiid-designer/commit/3f10d43c05b7b9d54...
Author: Barry LaFond <blafond(a)redhat.com>
Date: 2013-08-02 (Fri, 02 Aug 2013)
Changed paths:
A plugins/org.teiid.designer.advisor.ui/icons/full/ctool16/refresh-server.gif
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/AdvisorUiConstants.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/Messages.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/actions/AdvisorActionFactory.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/actions/AdvisorGuides.java
M
plugins/org.teiid.designer.advisor.ui/src/org/teiid/designer/advisor/ui/messages.properties
M plugins/org.teiid.designer.core/META-INF/MANIFEST.MF
A
plugins/org.teiid.designer.core/src/org/teiid/designer/core/ParentServerMonitor.java
M plugins/org.teiid.designer.dqp.ui/plugin.properties
M plugins/org.teiid.designer.dqp.ui/plugin.xml
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/DqpUiPlugin.java
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/i18n.properties
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/EditServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/RefreshServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/RuntimeAssistant.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/ServerPage.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/SetDefaultServerAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditor.java
R
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditorInput.java
R
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditorInputFactory.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/TeiidServerActionProvider.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/DefaultServersProvider.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/DqpPlugin.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidParentServerListener.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServer.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServerManager.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/i18n.properties
M
plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/spi/ITeiidServerManager.java
M
plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/explorer/ModelExplorerResourceNavigator.java
Log Message:
-----------
Merge pull request #218 from phantomjinx/master
Race Condition and Refresh Server action in Guides View
Compare:
https://github.com/Teiid-Designer/teiid-designer/compare/d0df5816b6b9...3...