[Teiid-Designer/teiid-designer] 46daf8: Corrects possible initializer exception in TeiidSe...
by Barry LaFond
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 46daf888e40eeb0fbf5c7e0be17560c53f623c84
https://github.com/Teiid-Designer/teiid-designer/commit/46daf888e40eeb0fb...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServerManager.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/ConnectionImpl.java
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/TeiidDriver.java
M plugins/teiid/org.teiid.runtime.client/common-core/org/teiid/core/util/ApplicationInfo.java
M tests/org.teiid.designer.dqp.test/src/org/teiid/designer/runtime/ServerManagerTest.java
Log Message:
-----------
Corrects possible initializer exception in TeiidServerVersion
* Initialising the static DEFAULT_TEIID_SERVER using the enum Version can
cause an InitialiserException due to the circularity of initialising the
TeiidServerVersion class and Version enum while assigning the Version to
a static.
* Moves the Default Version to the Version enum and refactors other classes
accordingly.
* Corrects the Default Teiid Version to 8.7 from 8.6
Commit: 7db99b9efbeefdb7e868819cbf000e2272559092
https://github.com/Teiid-Designer/teiid-designer/commit/7db99b9efbeefdb7e...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/actions/GenerateWarAction.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/preview/PreviewManager.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/preview/jobs/DeleteDeployedPreviewVdbJob.java
M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/util/VdbUiRefactorHandler.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbUtil.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/IVdbFileCallback.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/ValidationVersionCallback.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/VdbFileProcessor.java
M tests/org.teiid.designer.vdb.test/src/org/teiid/designer/vdb/VdbTest.java
A tests/org.teiid.designer.vdb.test/testdata/books-7.7.x.vdb
A tests/org.teiid.designer.vdb.test/testdata/books-8.4.x.vdb
Log Message:
-----------
TEIIDDES-2247: Fetch the version of a vdb from its manifest
* The VdbUtil.getManifest() function uses JAXB to unmarshall the manifest.
However, this is dependent on the vdb-deployer schema which changes
depending on new vdb functionality added by Teiid. Consequently, it is
possible for 'new' vdbs in old Designer versions to fail to unmarshall
due to illegal additions in the vdb.xml not in vdb-deployer.xsd
* VdbUtil
* Throws any exceptions generated by getVdbManifest up the stack
* GenerateWarAction
* PreviewManager
* VdbUiRefactorHandler
* Handle the exceptions now thrown from functions in VdbUtil
* DeleteDeployerPreviewVdbJob
* Remove the vdb version since it is never used
* VdbFileProcessor
* Provides a method of navigating a vdb archive and delegating to a
callback interface implementation
* ValidationVersionCallback
* Finds the vdb manifest and uses DOM and XPath to access the validation
version so schema-less unlike JAXB
* VdbTest
* Test for ValidationVersionCallback
Commit: bae48e952670bcd7cf9e54194d28366cef278403
https://github.com/Teiid-Designer/teiid-designer/commit/bae48e952670bcd7c...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M plugins/org.teiid.designer.vdb.ui/plugin.xml
M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbBuilder.java
A plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbNoTeiidServerVersionResolutionGenerator.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/Vdb.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbUtil.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/i18n.properties
Log Message:
-----------
TEIIDDES-2247: Adds more Vdb markers analysing Vdb validation version
* VdbBuilder
* VdbUtil
* Compares the validation version of a Vdb with the default teiid version
but also checks first if it has one and then also checks that the
version is not ahead of the default designer version.
* VdbNoTeiidServerVersionResolutionGenerator
* Quick fix of opening a vdb and resaving it to apply a version number
Commit: b0f9589d041e45a0098f9e1f9b85cfe3ccc43d23
https://github.com/Teiid-Designer/teiid-designer/commit/b0f9589d041e45a00...
Author: Barry LaFond <blafond(a)redhat.com>
Date: 2014-07-16 (Wed, 16 Jul 2014)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/actions/GenerateWarAction.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/preview/PreviewManager.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/preview/jobs/DeleteDeployedPreviewVdbJob.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
M plugins/org.teiid.designer.vdb.ui/plugin.xml
M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbBuilder.java
A plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbNoTeiidServerVersionResolutionGenerator.java
M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/util/VdbUiRefactorHandler.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/Vdb.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbUtil.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/IVdbFileCallback.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/ValidationVersionCallback.java
A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/file/VdbFileProcessor.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/i18n.properties
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/ConnectionImpl.java
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/TeiidDriver.java
M plugins/teiid/org.teiid.runtime.client/common-core/org/teiid/core/util/ApplicationInfo.java
M tests/org.teiid.designer.dqp.test/src/org/teiid/designer/runtime/ServerManagerTest.java
M tests/org.teiid.designer.vdb.test/src/org/teiid/designer/vdb/VdbTest.java
A tests/org.teiid.designer.vdb.test/testdata/books-7.7.x.vdb
A tests/org.teiid.designer.vdb.test/testdata/books-8.4.x.vdb
Log Message:
-----------
Merge pull request #388 from phantomjinx/TEIIDDES-2247
Teiiddes 2247
Compare: https://github.com/Teiid-Designer/teiid-designer/compare/f91d6cfcf4aa...b...
10 years, 6 months
[Teiid-Designer/teiid-designer] d230a9: Corrects possible initializer exception in TeiidSe...
by Paul Richardson
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: d230a9a22ba6e222ca39c3c406bf288e0a80e4e0
https://github.com/Teiid-Designer/teiid-designer/commit/d230a9a22ba6e222c...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServerManager.java
M plugins/org.teiid.designer.spi/src/org/teiid/designer/runtime/version/spi/TeiidServerVersion.java
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/ConnectionImpl.java
M plugins/teiid/org.teiid.runtime.client/client/org/teiid/jdbc/TeiidDriver.java
M plugins/teiid/org.teiid.runtime.client/common-core/org/teiid/core/util/ApplicationInfo.java
M tests/org.teiid.designer.dqp.test/src/org/teiid/designer/runtime/ServerManagerTest.java
Log Message:
-----------
Corrects possible initializer exception in TeiidServerVersion
* Initialising the static DEFAULT_TEIID_SERVER using the enum Version can
cause an InitialiserException due to the circularity of initialising the
TeiidServerVersion class and Version enum while assigning the Version to
a static.
* Moves the Default Version to the Version enum and refactors other classes
accordingly.
* Corrects the Default Teiid Version to 8.7 from 8.6
10 years, 6 months