[teiid-designer-dev] [Teiid-Designer/teiid-designer] 2e8b7b: Fixes teiid server version testing
phantomjinx
p.g.richardson at phantomjinx.co.uk
Thu Mar 26 09:23:46 EDT 2015
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 2e8b7b24b42e4bdcbba7dd979cb72fa515aaf751
https://github.com/Teiid-Designer/teiid-designer/commit/2e8b7b24b42e4bdcbba7dd979cb72fa515aaf751
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2015-03-25 (Wed, 25 Mar 2015)
Changed paths:
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
Log Message:
-----------
Fixes teiid server version testing
* Comparisons have been historically lexographical and this fails when
testing, for example 8.2 against 8.10, as "2" is bigger than "10".
* Need to try and parse numerically first and compare and fallback to
lexographical comparison if parsing fails
Commit: ce10fe0970dc29a7016605e22bcf28604d5feff5
https://github.com/Teiid-Designer/teiid-designer/commit/ce10fe0970dc29a7016605e22bcf28604d5feff5
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2015-03-25 (Wed, 25 Mar 2015)
Changed paths:
M plugins/org.teiid.designer.core/src/org/teiid/designer/core/ModelerCore.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/SetDefaultServerAction.java
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditor.java
M plugins/org.teiid.designer.spi/schema/teiidRuntimeClient.exsd
M plugins/org.teiid.designer.spi/src/org/teiid/designer/messages.properties
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/registry/TeiidRuntimeRegistry.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/spi/IExecutionAdminFactory.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/i18n.properties
M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/preferences/DefaultTeiidServerPreferenceContributor.java
M plugins/teiid/org.teiid.runtime.client/plugin.xml
M plugins/teiid/org.teiid.runtime.client/src/org/teiid/runtime/client/admin/ExecutionAdminFactory.java
M tests/org.teiid.designer.query.ui.test/src/org/teiid/query/ui/sqleditor/component/TestDisplayNodeFactory.java
M tests/org.teiid.designer.schema.tools.test/src/org/teiid/designer/schema/tools/NameUtilTest.java
M tests/org.teiid.designer.transformation.test/src/org/teiid/designer/transformation/aspects/validation/rules/TestMappingClassTransformationValidationHelper.java
Log Message:
-----------
TEIIDDES-2459: Minimal support for unsupported Teiid versions
* Allows connection to later versions of teiid instance than that
explicitly supported and tested by Designer.
* teiidRuntimeClient.exsd
* plugin.xml
* Since there is only 1 teiid plugin that covers multiple teiid versions,
makes little sense to mandate the versions in the plugin extension point
* TeiidRuntimeRegistry
* Registers the admin factory without mapping to teiid versions
* Search method attempts to find a factory with FULL support for the given
version then falls back to finding a factory with only WORKS support
* getSupportedVersions simply returns a list of values from the
ITeiidServerVersion.Version enum, which illustrates the supported and
tested versions
* SetDefaultServerAction
* Checks the level of support of the server and asks the user if they
wish to continue to set the server as default if not supported.
Commit: be1be948e926d88dfe029092c6ece98ee6e89007
https://github.com/Teiid-Designer/teiid-designer/commit/be1be948e926d88dfe029092c6ece98ee6e89007
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2015-03-26 (Thu, 26 Mar 2015)
Changed paths:
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
A plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/ServerVersionGuard.java
Log Message:
-----------
TEIIDDES-2459: Adds version guard listener
* In addition to dialog question when calling the SetDefaultServerAction,
a warning should be displayed if a server is added and its the first
* ServerVersionGuard listener for default server changes and displays a
warning if the server version is greater than the default
Commit: c7d55512a786f2dd8b3ed565d383a4afa5636e91
https://github.com/Teiid-Designer/teiid-designer/commit/c7d55512a786f2dd8b3ed565d383a4afa5636e91
Author: phantomjinx <p.g.richardson at phantomjinx.co.uk>
Date: 2015-03-26 (Thu, 26 Mar 2015)
Changed paths:
M plugins/org.teiid.designer.core/src/org/teiid/designer/core/ModelerCore.java
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
A plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/ServerVersionGuard.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
M plugins/org.teiid.designer.spi/schema/teiidRuntimeClient.exsd
M plugins/org.teiid.designer.spi/src/org/teiid/designer/messages.properties
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/registry/TeiidRuntimeRegistry.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/spi/IExecutionAdminFactory.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/i18n.properties
M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/preferences/DefaultTeiidServerPreferenceContributor.java
M plugins/teiid/org.teiid.runtime.client/plugin.xml
M plugins/teiid/org.teiid.runtime.client/src/org/teiid/runtime/client/admin/ExecutionAdminFactory.java
M tests/org.teiid.designer.query.ui.test/src/org/teiid/query/ui/sqleditor/component/TestDisplayNodeFactory.java
M tests/org.teiid.designer.schema.tools.test/src/org/teiid/designer/schema/tools/NameUtilTest.java
M tests/org.teiid.designer.transformation.test/src/org/teiid/designer/transformation/aspects/validation/rules/TestMappingClassTransformationValidationHelper.java
Log Message:
-----------
Merge pull request #437 from phantomjinx/master
TEIIDDES-2459
Compare: https://github.com/Teiid-Designer/teiid-designer/compare/131651ce90c7...c7d55512a786
More information about the teiid-designer-dev
mailing list