Branch: refs/heads/teiid-8.x-upgrade
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: b8bfd6de6b127210a7298079437252acfe883a21
https://github.com/Teiid-Designer/teiid-designer/commit/b8bfd6de6b127210a...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2012-10-27 (Sat, 27 Oct 2012)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/plugin.xml
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/TeiidDataNode.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/adapter/TeiidDataNodeAdapterFactory.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/adapter/TeiidFolderAdapterFactory.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/adapter/TeiidResourceNodeAdapterFactory.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/adapter/TeiidServerContainerNodeAdapterFactory.java
Log Message:
-----------
Refactor the Teiid Views treeview node adapter factories
* Extends the adapter factories to adapt the specific node instances to
the parent TeiidResourceNode
Commit: 698a4d9d03a6f9a82ad3e695e050428c60905bfc
https://github.com/Teiid-Designer/teiid-designer/commit/698a4d9d03a6f9a82...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2012-10-27 (Sat, 27 Oct 2012)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/i18n.properties
R
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/ReconnectToServerAction.java
A
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/views/TeiidServerActionProvider.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServer.java
Log Message:
-----------
Modify the teiid view reconnect action to a refresh action
* Given the teiid server is automatically connected to when the parent jboss
server is started, it seems more appropriate to refresh the connection
rather than reconnect.
* The refresh action checks if the parent server is starting to avoid
connecting and throwing an exception if the paret is down.
* Like the 'new' server action, display the refresh action if it the server
is disconnected allowing for a refresh of the server and views
Commit: 29177d1fe03c33947c40c2c440fde1a118e11372
https://github.com/Teiid-Designer/teiid-designer/commit/29177d1fe03c33947...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2012-10-27 (Sat, 27 Oct 2012)
Changed paths:
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/TeiidServerContentProvider.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/TeiidServerLabelProvider.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/TeiidResourceNode.java
Log Message:
-----------
Fixes concurrency errors when refreshing both the teiid and server views
* Creates a dedicated refresh thread for each TeiidContentServerProvider.
This controls the refresh operation.
* Since refresh requests are kicked off by the configurationListener it is
possible for this listener to be fired by both a refresh operation itself
and other parts of the UI. This concurrency can lead to NP exceptions in
the TeiidResourceNode as its children field is nulled and added to by
different threads.
* To mitigate this situation, the refresh thread has a queue that simply
accumulates refresh requests but blocks until each refresh operation is
completely finished.
Compare:
https://github.com/Teiid-Designer/teiid-designer/compare/ab3fcf6a49f6...2...