teiid SVN: r4527 - in branches/7.7.x: adminshell and 43 other directories.
by teiid-commits@lists.jboss.org
Author: jolee
Date: 2012-11-01 16:35:09 -0400 (Thu, 01 Nov 2012)
New Revision: 4527
Modified:
branches/7.7.x/adminshell/pom.xml
branches/7.7.x/api/pom.xml
branches/7.7.x/build/kits/jboss-container/teiid-releasenotes.html
branches/7.7.x/build/pom.xml
branches/7.7.x/cache-jbosscache/pom.xml
branches/7.7.x/client-jdk15/pom.xml
branches/7.7.x/client/pom.xml
branches/7.7.x/common-core/pom.xml
branches/7.7.x/connectors/connector-file/pom.xml
branches/7.7.x/connectors/connector-infinispan/pom.xml
branches/7.7.x/connectors/connector-ldap/pom.xml
branches/7.7.x/connectors/connector-salesforce/pom.xml
branches/7.7.x/connectors/connector-ws/pom.xml
branches/7.7.x/connectors/pom.xml
branches/7.7.x/connectors/salesforce-api/pom.xml
branches/7.7.x/connectors/sandbox/pom.xml
branches/7.7.x/connectors/sandbox/translator-yahoo/pom.xml
branches/7.7.x/connectors/translator-file/pom.xml
branches/7.7.x/connectors/translator-hive/pom.xml
branches/7.7.x/connectors/translator-jdbc/pom.xml
branches/7.7.x/connectors/translator-ldap/pom.xml
branches/7.7.x/connectors/translator-loopback/pom.xml
branches/7.7.x/connectors/translator-object/pom.xml
branches/7.7.x/connectors/translator-olap/pom.xml
branches/7.7.x/connectors/translator-salesforce/pom.xml
branches/7.7.x/connectors/translator-ws/pom.xml
branches/7.7.x/console/pom.xml
branches/7.7.x/documentation/admin-guide/pom.xml
branches/7.7.x/documentation/caching-guide/pom.xml
branches/7.7.x/documentation/client-developers-guide/pom.xml
branches/7.7.x/documentation/developer-guide/pom.xml
branches/7.7.x/documentation/javadocs/pom.xml
branches/7.7.x/documentation/pom.xml
branches/7.7.x/documentation/quick-start-example/pom.xml
branches/7.7.x/documentation/reference/pom.xml
branches/7.7.x/engine/pom.xml
branches/7.7.x/hibernate-dialect/pom.xml
branches/7.7.x/jboss-integration/pom.xml
branches/7.7.x/metadata/pom.xml
branches/7.7.x/pom.xml
branches/7.7.x/runtime/pom.xml
branches/7.7.x/test-integration/common/pom.xml
branches/7.7.x/test-integration/db/pom.xml
branches/7.7.x/test-integration/perf/pom.xml
branches/7.7.x/test-integration/pom.xml
Log:
BZ857488: update of releasenotes and version numbers to 7.7.3
Modified: branches/7.7.x/adminshell/pom.xml
===================================================================
--- branches/7.7.x/adminshell/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/adminshell/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-adminshell</artifactId>
Modified: branches/7.7.x/api/pom.xml
===================================================================
--- branches/7.7.x/api/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/api/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-api</artifactId>
Modified: branches/7.7.x/build/kits/jboss-container/teiid-releasenotes.html
===================================================================
--- branches/7.7.x/build/kits/jboss-container/teiid-releasenotes.html 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/build/kits/jboss-container/teiid-releasenotes.html 2012-11-01 20:35:09 UTC (rev 4527)
@@ -242,6 +242,22 @@
</h2>
<h4>From ${project.version}</h4>
<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-669'>TEIID-669</a>] - Support "pass though" SQL commands to sources - fix
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-2172'>TEIID-2172</a>] - Load balancing configuration can result in premature session termination/updating the logic to not prematurely terminiate
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-2220'>TEIID-2220</a>] - Invalid aggregate pushing
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-2240'>TEIID-2240</a>] - Upgraded RHQ plugin code to support RHQ 4.2 (JON 3.0) and RHQ 4.4 (JON 3.1)
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-2246'>TEIID-2246</a>] - Incorrect results with TIMESTAMPDIFF
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-2245'>TEIID-2245</a>] - Limit pushdown of nulls first/last
+</li>
+</ul>
+
+<h4>From 7.1.2</h4>
+<ul>
<li>[<a href='https://issues.jboss.org/browse/TEIID-2197'>TEIID-2197</a>] - fix for ordering with an in predicate
</li>
<li>[<a href='https://issues.jboss.org/browse/TEIID-2190'>TEIID-2190</a>] - Key usage can remove predicates
Modified: branches/7.7.x/build/pom.xml
===================================================================
--- branches/7.7.x/build/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/build/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid</artifactId>
Modified: branches/7.7.x/cache-jbosscache/pom.xml
===================================================================
--- branches/7.7.x/cache-jbosscache/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/cache-jbosscache/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-cache-jbosscache</artifactId>
Modified: branches/7.7.x/client/pom.xml
===================================================================
--- branches/7.7.x/client/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/client/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client</artifactId>
Modified: branches/7.7.x/client-jdk15/pom.xml
===================================================================
--- branches/7.7.x/client-jdk15/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/client-jdk15/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client-jdk15</artifactId>
Modified: branches/7.7.x/common-core/pom.xml
===================================================================
--- branches/7.7.x/common-core/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/common-core/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-common-core</artifactId>
Modified: branches/7.7.x/connectors/connector-file/pom.xml
===================================================================
--- branches/7.7.x/connectors/connector-file/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/connector-file/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-file</artifactId>
Modified: branches/7.7.x/connectors/connector-infinispan/pom.xml
===================================================================
--- branches/7.7.x/connectors/connector-infinispan/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/connector-infinispan/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-infinispan</artifactId>
@@ -70,7 +70,7 @@
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
- <outputDirectory>target/connector-infinispan-7.7.2/connector-infinispan.rar</outputDirectory>
+ <outputDirectory>target/connector-infinispan-7.7.3/connector-infinispan.rar</outputDirectory>
</configuration>
<executions>
<execution>
Modified: branches/7.7.x/connectors/connector-ldap/pom.xml
===================================================================
--- branches/7.7.x/connectors/connector-ldap/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/connector-ldap/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ldap</artifactId>
Modified: branches/7.7.x/connectors/connector-salesforce/pom.xml
===================================================================
--- branches/7.7.x/connectors/connector-salesforce/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/connector-salesforce/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-salesforce</artifactId>
Modified: branches/7.7.x/connectors/connector-ws/pom.xml
===================================================================
--- branches/7.7.x/connectors/connector-ws/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/connector-ws/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ws</artifactId>
Modified: branches/7.7.x/connectors/pom.xml
===================================================================
--- branches/7.7.x/connectors/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.7.x/connectors/salesforce-api/pom.xml
===================================================================
--- branches/7.7.x/connectors/salesforce-api/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/salesforce-api/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>salesforce-api</artifactId>
Modified: branches/7.7.x/connectors/sandbox/pom.xml
===================================================================
--- branches/7.7.x/connectors/sandbox/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/sandbox/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid.connectors</groupId>
Modified: branches/7.7.x/connectors/sandbox/translator-yahoo/pom.xml
===================================================================
--- branches/7.7.x/connectors/sandbox/translator-yahoo/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/sandbox/translator-yahoo/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>sandbox</artifactId>
<groupId>org.jboss.teiid.connectors</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-yahoo</artifactId>
Modified: branches/7.7.x/connectors/translator-file/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-file/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-file/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-file</artifactId>
Modified: branches/7.7.x/connectors/translator-hive/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-hive/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-hive/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-hive</artifactId>
Modified: branches/7.7.x/connectors/translator-jdbc/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-jdbc/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-jdbc/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-jdbc</artifactId>
Modified: branches/7.7.x/connectors/translator-ldap/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-ldap/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-ldap/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ldap</artifactId>
Modified: branches/7.7.x/connectors/translator-loopback/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-loopback/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-loopback/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-loopback</artifactId>
Modified: branches/7.7.x/connectors/translator-object/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-object/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-object/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-object</artifactId>
Modified: branches/7.7.x/connectors/translator-olap/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-olap/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-olap/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-olap</artifactId>
Modified: branches/7.7.x/connectors/translator-salesforce/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-salesforce/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-salesforce/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-salesforce</artifactId>
Modified: branches/7.7.x/connectors/translator-ws/pom.xml
===================================================================
--- branches/7.7.x/connectors/translator-ws/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/connectors/translator-ws/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ws</artifactId>
Modified: branches/7.7.x/console/pom.xml
===================================================================
--- branches/7.7.x/console/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/console/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.7.x/documentation/admin-guide/pom.xml
===================================================================
--- branches/7.7.x/documentation/admin-guide/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/admin-guide/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>admin-guide</artifactId>
Modified: branches/7.7.x/documentation/caching-guide/pom.xml
===================================================================
--- branches/7.7.x/documentation/caching-guide/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/caching-guide/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>caching-guide</artifactId>
Modified: branches/7.7.x/documentation/client-developers-guide/pom.xml
===================================================================
--- branches/7.7.x/documentation/client-developers-guide/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/client-developers-guide/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>client-developers-guide</artifactId>
Modified: branches/7.7.x/documentation/developer-guide/pom.xml
===================================================================
--- branches/7.7.x/documentation/developer-guide/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/developer-guide/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>developer-guide</artifactId>
Modified: branches/7.7.x/documentation/javadocs/pom.xml
===================================================================
--- branches/7.7.x/documentation/javadocs/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/javadocs/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>javadocs</artifactId>
Modified: branches/7.7.x/documentation/pom.xml
===================================================================
--- branches/7.7.x/documentation/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.7.x/documentation/quick-start-example/pom.xml
===================================================================
--- branches/7.7.x/documentation/quick-start-example/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/quick-start-example/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>quick-start-example</artifactId>
Modified: branches/7.7.x/documentation/reference/pom.xml
===================================================================
--- branches/7.7.x/documentation/reference/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/documentation/reference/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>reference</artifactId>
Modified: branches/7.7.x/engine/pom.xml
===================================================================
--- branches/7.7.x/engine/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/engine/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-engine</artifactId>
Modified: branches/7.7.x/hibernate-dialect/pom.xml
===================================================================
--- branches/7.7.x/hibernate-dialect/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/hibernate-dialect/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-hibernate-dialect</artifactId>
Modified: branches/7.7.x/jboss-integration/pom.xml
===================================================================
--- branches/7.7.x/jboss-integration/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/jboss-integration/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.7.x/metadata/pom.xml
===================================================================
--- branches/7.7.x/metadata/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/metadata/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-metadata</artifactId>
Modified: branches/7.7.x/pom.xml
===================================================================
--- branches/7.7.x/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -5,7 +5,7 @@
<artifactId>teiid-parent</artifactId>
<packaging>pom</packaging>
<name>Teiid</name>
- <version>7.7.2</version>
+ <version>7.7.3</version>
<description>Federated SQL and XML query engine.</description>
<properties>
<ant.version>1.7.0</ant.version>
Modified: branches/7.7.x/runtime/pom.xml
===================================================================
--- branches/7.7.x/runtime/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/runtime/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.7.x/test-integration/common/pom.xml
===================================================================
--- branches/7.7.x/test-integration/common/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/test-integration/common/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>test-integration-common</artifactId>
Modified: branches/7.7.x/test-integration/db/pom.xml
===================================================================
--- branches/7.7.x/test-integration/db/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/test-integration/db/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -9,7 +9,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.7.x/test-integration/perf/pom.xml
===================================================================
--- branches/7.7.x/test-integration/perf/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/test-integration/perf/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>test-integration-perf</artifactId>
Modified: branches/7.7.x/test-integration/pom.xml
===================================================================
--- branches/7.7.x/test-integration/pom.xml 2012-11-01 20:34:44 UTC (rev 4526)
+++ branches/7.7.x/test-integration/pom.xml 2012-11-01 20:35:09 UTC (rev 4527)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.7.2</version>
+ <version>7.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-test-integration</artifactId>
13 years, 5 months
teiid SVN: r4526 - in branches/7.7.x: engine/src/main/java/org/teiid/dqp/internal/process and 6 other directories.
by teiid-commits@lists.jboss.org
Author: jolee
Date: 2012-11-01 16:34:44 -0400 (Thu, 01 Nov 2012)
New Revision: 4526
Modified:
branches/7.7.x/common-core/src/main/java/org/teiid/core/util/PropertiesUtils.java
branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/Request.java
branches/7.7.x/engine/src/main/java/org/teiid/query/util/CommandContext.java
branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestDQPCore.java
branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestRequest.java
branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/multisource/TestMultiSourcePlanToProcessConverter.java
branches/7.7.x/engine/src/test/java/org/teiid/query/processor/TestProcessor.java
branches/7.7.x/engine/src/test/java/org/teiid/query/processor/eval/TestExpressionEvaluator.java
branches/7.7.x/engine/src/test/java/org/teiid/query/processor/relational/TestRelationalNodeStatistics.java
Log:
TEIID-2245: Limit pushdown of nulls first/last- further fixes
Modified: branches/7.7.x/common-core/src/main/java/org/teiid/core/util/PropertiesUtils.java
===================================================================
--- branches/7.7.x/common-core/src/main/java/org/teiid/core/util/PropertiesUtils.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/common-core/src/main/java/org/teiid/core/util/PropertiesUtils.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -40,6 +40,7 @@
import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.TreeMap;
import org.teiid.core.CorePlugin;
import org.teiid.core.TeiidRuntimeException;
@@ -938,80 +939,81 @@
}
public static void setBeanProperties(Object bean, Properties props, String prefix) {
+ setBeanProperties(bean, props, prefix, false);
+ }
+
+ public static void setBeanProperties(Object bean, Properties props, String prefix, boolean caseSensitive) {
// Move all prop names to lower case so we can use reflection to get
// method names and look them up in the connection props.
- final Properties connProps = lowerCaseAllPropNames(props);
+ Map<?, ?> map = props;
+ if (!caseSensitive) {
+ map = caseInsensitiveProps(props);
+ }
final Method[] methods = bean.getClass().getMethods();
for (int i = 0; i < methods.length; i++) {
final Method method = methods[i];
final String methodName = method.getName();
// If setter ...
- if ( methodName.startsWith("set") && method.getParameterTypes().length == 1 ) { //$NON-NLS-1$
- // Get the property name
- final String propertyName = methodName.substring(3); // remove the "set"
- String shortName = propertyName.toLowerCase();
- String propertyValue = null;
- if (prefix != null) {
- propertyValue = connProps.getProperty(prefix + "." + shortName); //$NON-NLS-1$
- } else {
- propertyValue = connProps.getProperty(shortName);
- }
- if (propertyValue == null) {
- continue;
- }
- final Class<?> argType = method.getParameterTypes()[0];
- try {
- final Object[] params = new Object[] {StringUtil.valueOf(propertyValue, argType)};
- method.invoke(bean, params);
- } catch (Throwable e) {
- throw new InvalidPropertyException(propertyName, propertyValue, argType, e);
- }
+ if (! methodName.startsWith("set") || method.getParameterTypes().length != 1 ) { //$NON-NLS-1$
+ continue;
}
+ // Get the property name
+ String propertyName = methodName.substring(3); // remove the "set"
+ if (prefix != null) {
+ if (caseSensitive) {
+ propertyName = prefix + "." + Character.toLowerCase(propertyName.charAt(0)) + propertyName.substring(1, propertyName.length()); //$NON-NLS-1$
+ } else {
+ propertyName = prefix + "." + propertyName; //$NON-NLS-1$
+ }
+ }
+ Object propertyValue = map.get(propertyName);
+ if (propertyValue != null || map.containsKey(propertyName)) {
+ setProperty(bean, propertyValue, method, propertyName);
+ }
}
}
- public static void setBeanProperty(Object bean, String name, Object value) {
- if (value == null) {
- return;
- }
- name = name.toLowerCase();
+ public static void setBeanProperty(Object bean, String name, Object value) {
final Method[] methods = bean.getClass().getMethods();
for (int i = 0; i < methods.length; i++) {
final Method method = methods[i];
final String methodName = method.getName();
// If setter ...
- if ( methodName.startsWith("set") && method.getParameterTypes().length == 1 ) { //$NON-NLS-1$
- // Get the property name
- final String propertyName = methodName.substring(3); // remove the "set"
- String shortName = propertyName.toLowerCase();
- if (!shortName.equals(name)) {
- continue;
- }
- final Class<?> argType = method.getParameterTypes()[0];
- try {
- Object[] params = new Object[] {value};
- if (!argType.isAssignableFrom(value.getClass())) {
- params = new Object[] {StringUtil.valueOf(value.toString(), argType)};
- }
- method.invoke(bean, params);
- } catch (Throwable e) {
- throw new InvalidPropertyException(propertyName, value.toString(), argType, e);
- }
+ if (! methodName.startsWith("set") || method.getParameterTypes().length != 1 || !StringUtil.endsWithIgnoreCase(methodName, name)) { //$NON-NLS-1$
+ continue;
}
+ // Get the property name
+ final String propertyName = methodName.substring(3); // remove the "set"
+ setProperty(bean, value, method, propertyName);
}
}
- private static Properties lowerCaseAllPropNames(final Properties connectionProps) {
- final Properties lcProps = new Properties();
+ private static Class<?> setProperty(Object bean, Object value,
+ final Method method, final String propertyName) {
+ final Class<?> argType = method.getParameterTypes()[0];
+ try {
+ Object[] params = new Object[] {value};
+ if (value != null && !argType.isAssignableFrom(value.getClass())) {
+ params = new Object[] {StringUtil.valueOf(value.toString(), argType)};
+ }
+ method.invoke(bean, params);
+ } catch (Throwable e) {
+ throw new InvalidPropertyException("Unable to set Property", propertyName, argType, e);
+ }
+ return argType;
+ }
+
+ private static TreeMap<String, String> caseInsensitiveProps(final Properties connectionProps) {
+ final TreeMap<String, String> caseInsensitive = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER);
final Enumeration<?> itr = connectionProps.propertyNames();
while ( itr.hasMoreElements() ) {
final String name = (String) itr.nextElement();
String propValue = connectionProps.getProperty(name);
- if (propValue != null) {
- lcProps.setProperty(name.toLowerCase(), propValue);
+ if (propValue != null || connectionProps.containsKey(name)) {
+ caseInsensitive.put(name, propValue);
}
}
- return lcProps;
+ return caseInsensitive;
}
}
Modified: branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/Request.java
===================================================================
--- branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/Request.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/Request.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -46,6 +46,7 @@
import org.teiid.core.id.IDGenerator;
import org.teiid.core.types.DataTypeManager;
import org.teiid.core.util.Assertion;
+import org.teiid.core.util.PropertiesUtils;
import org.teiid.dqp.internal.datamgr.ConnectorManagerRepository;
import org.teiid.dqp.internal.process.AuthorizationValidator.CommandType;
import org.teiid.dqp.internal.process.multisource.MultiSourceCapabilitiesFinder;
@@ -77,6 +78,7 @@
import org.teiid.query.rewriter.QueryRewriter;
import org.teiid.query.sql.lang.BatchedUpdateCommand;
import org.teiid.query.sql.lang.Command;
+import org.teiid.query.util.ContextProperties;
import org.teiid.query.sql.lang.Limit;
import org.teiid.query.sql.lang.QueryCommand;
import org.teiid.query.sql.lang.StoredProcedure;
@@ -88,7 +90,7 @@
import org.teiid.query.tempdata.GlobalTableStore;
import org.teiid.query.tempdata.TempTableStore;
import org.teiid.query.util.CommandContext;
-import org.teiid.query.util.ContextProperties;
+import org.teiid.query.util.Options;
import org.teiid.query.validator.AbstractValidationVisitor;
import org.teiid.query.validator.ValidationVisitor;
import org.teiid.query.validator.Validator;
@@ -222,10 +224,10 @@
RequestID reqID = workContext.getRequestID(this.requestMsg.getExecutionId());
- Properties props = new Properties();
- props.setProperty(ContextProperties.SESSION_ID, workContext.getSessionId());
+ Properties props = new Properties();
+ props.setProperty(ContextProperties.SESSION_ID, workContext.getSessionId());
- this.context =
+ this.context =
new CommandContext(
reqID,
groupName,
@@ -233,7 +235,6 @@
requestMsg.getExecutionPayload(),
workContext.getVdbName(),
workContext.getVdbVersion(),
- props,
this.requestMsg.getShowPlan() != ShowPlan.OFF);
this.context.setProcessorBatchSize(bufferManager.getProcessorBatchSize());
this.context.setGlobalTableStore(this.globalTables);
@@ -243,6 +244,7 @@
multiSourceModels, workContext, context);
context.setPlanToProcessConverter(modifier);
}
+
context.setExecutor(this.executor);
context.setSecurityFunctionEvaluator(this);
context.setTempTableStore(tempTableStore);
@@ -253,11 +255,15 @@
context.setResultSetCacheEnabled(this.resultSetCacheEnabled);
context.setUserRequestSourceConcurrency(this.userRequestConcurrency);
context.setSubject(workContext.getSubject());
+ context.setEnvironmentProperties(props);
+
+ this.context.setConnectionID(workContext.getSessionId());
this.context.setSession(workContext.getSession());
this.context.setRequestId(this.requestId);
this.context.setDQPWorkContext(this.workContext);
this.context.setTransactionService(this.transactionService);
this.context.setTransactionContext(this.transactionContext);
+ this.context.setVDBClassLoader(workContext.getVDB().getAttachment(ClassLoader.class));
}
@Override
Modified: branches/7.7.x/engine/src/main/java/org/teiid/query/util/CommandContext.java
===================================================================
--- branches/7.7.x/engine/src/main/java/org/teiid/query/util/CommandContext.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/main/java/org/teiid/query/util/CommandContext.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -145,6 +145,8 @@
private LRUCache<String, SimpleDateFormat> dateFormatCache;
private Options options;
+
+ public ClassLoader classLoader;
}
private GlobalState globalState = new GlobalState();
@@ -160,14 +162,13 @@
* Construct a new context.
*/
public CommandContext(Object processorID, String connectionID, String userName,
- Serializable commandPayload, String vdbName, int vdbVersion, Properties envProperties, boolean collectNodeStatistics) {
+ Serializable commandPayload, String vdbName, int vdbVersion, boolean collectNodeStatistics) {
setProcessorID(processorID);
setConnectionID(connectionID);
setUserName(userName);
setCommandPayload(commandPayload);
setVdbName(vdbName);
setVdbVersion(vdbVersion);
- setEnvironmentProperties(envProperties);
setCollectNodeStatistics(collectNodeStatistics);
}
@@ -178,7 +179,7 @@
String vdbName, int vdbVersion) {
this(processorID, connectionID, userName, null, vdbName,
- vdbVersion, null, false);
+ vdbVersion, false);
}
@@ -705,5 +706,13 @@
this.globalState.options = options;
}
+ public ClassLoader getVDBClassLoader() {
+ return this.globalState.classLoader;
+ }
+ public void setVDBClassLoader(ClassLoader classLoader) {
+ this.globalState.classLoader = classLoader;
+ }
+
+
}
Modified: branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestDQPCore.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestDQPCore.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestDQPCore.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -232,6 +232,7 @@
}
@Test public void testEnvSessionId() throws Exception {
+ System.out.println("testEnvSessionId--------------------");
String sql = "SELECT env('sessionid') as SessionID"; //$NON-NLS-1$
String userName = "1"; //$NON-NLS-1$
ResultsMessage rm = helpExecute(sql, userName);
Modified: branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestRequest.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestRequest.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/TestRequest.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -125,7 +125,7 @@
DQPWorkContext workContext = RealMetadataFactory.buildWorkContext(metadata, RealMetadataFactory.example1VDB());
Request request = helpProcessMessage(message, null, workContext);
- assertEquals("1", request.context.getEnvironmentProperties().get(ContextProperties.SESSION_ID)); //$NON-NLS-1$
+ assertEquals("1", request.context.getConnectionID()); //$NON-NLS-1$
}
private Request helpProcessMessage(RequestMessage message, SessionAwareCache<PreparedPlan> cache, DQPWorkContext workContext) throws TeiidComponentException,
Modified: branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/multisource/TestMultiSourcePlanToProcessConverter.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/multisource/TestMultiSourcePlanToProcessConverter.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/dqp/internal/process/multisource/TestMultiSourcePlanToProcessConverter.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -35,6 +35,7 @@
import org.teiid.adminapi.impl.VDBMetaData;
import org.teiid.common.buffer.TupleSource;
import org.teiid.core.id.IDGenerator;
+import org.teiid.core.util.PropertiesUtils;
import org.teiid.dqp.internal.process.DQPWorkContext;
import org.teiid.query.analysis.AnalysisRecord;
import org.teiid.query.metadata.QueryMetadataInterface;
@@ -57,6 +58,7 @@
import org.teiid.query.sql.visitor.ElementCollectorVisitor;
import org.teiid.query.unittest.RealMetadataFactory;
import org.teiid.query.util.CommandContext;
+import org.teiid.query.util.Options;
import org.teiid.translator.SourceSystemFunctions;
/**
@@ -126,8 +128,11 @@
finder = new TempCapabilitiesFinder(finder);
IDGenerator idGenerator = new IDGenerator();
- Properties props = new Properties();
- CommandContext context = new CommandContext("0", "test", "user", null, vdb.getName(), vdb.getVersion(), props, false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ Options options = new Options();
+ options.setProperties(System.getProperties());
+ PropertiesUtils.setBeanProperties(options, options.getProperties(), "org.teiid", true); //$NON-NLS-1$
+
+ CommandContext context = new CommandContext("0", "test", "user", null, vdb.getName(), vdb.getVersion(), false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
context.setPlanToProcessConverter(new MultiSourcePlanToProcessConverter(wrapper, idGenerator, analysis, finder, multiSourceModels, dqpContext, context));
ProcessorPlan plan = QueryOptimizer.optimizePlan(command, wrapper, idGenerator, finder, analysis, context);
Modified: branches/7.7.x/engine/src/test/java/org/teiid/query/processor/TestProcessor.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/query/processor/TestProcessor.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/query/processor/TestProcessor.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -47,6 +47,7 @@
import org.teiid.core.types.DataTypeManager;
import org.teiid.core.types.XMLType;
import org.teiid.core.util.ExecutorUtils;
+import org.teiid.core.util.PropertiesUtils;
import org.teiid.dqp.internal.process.CachedResults;
import org.teiid.dqp.internal.process.PreparedPlan;
import org.teiid.dqp.internal.process.QueryProcessorFactoryImpl;
@@ -92,6 +93,7 @@
import org.teiid.query.unittest.RealMetadataFactory;
import org.teiid.query.unittest.TimestampUtil;
import org.teiid.query.util.CommandContext;
+import org.teiid.query.util.Options;
import org.teiid.query.validator.Validator;
import org.teiid.query.validator.ValidatorReport;
import org.teiid.translator.SourceSystemFunctions;
@@ -350,10 +352,14 @@
}
public static CommandContext createCommandContext() {
- Properties props = new Properties();
- props.setProperty("soap_host", "my.host.com"); //$NON-NLS-1$ //$NON-NLS-2$
- props.setProperty("soap_port", "12345"); //$NON-NLS-1$ //$NON-NLS-2$
- CommandContext context = new CommandContext("0", "test", "user", null, "myvdb", 1, props, DEBUG); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+
+ Options options = new Options();
+ options.setProperties(System.getProperties());
+ options.getProperties().setProperty("soap_host", "my.host.com"); //$NON-NLS-1$ //$NON-NLS-2$
+ options.getProperties().setProperty("soap_port", "12345"); //$NON-NLS-1$ //$NON-NLS-2$
+ PropertiesUtils.setBeanProperties(options, options.getProperties(), "org.teiid", true); //$NON-NLS-1$
+
+ CommandContext context = new CommandContext("0", "test", "user", null, "myvdb", 1, DEBUG); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
context.setProcessorBatchSize(BufferManager.DEFAULT_PROCESSOR_BATCH_SIZE);
context.setBufferManager(BufferManagerFactory.getStandaloneBufferManager());
context.setPreparedPlanCache(new SessionAwareCache<PreparedPlan>());
Modified: branches/7.7.x/engine/src/test/java/org/teiid/query/processor/eval/TestExpressionEvaluator.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/query/processor/eval/TestExpressionEvaluator.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/query/processor/eval/TestExpressionEvaluator.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -40,6 +40,7 @@
import org.teiid.core.TeiidException;
import org.teiid.core.TeiidProcessingException;
import org.teiid.core.types.DataTypeManager;
+import org.teiid.core.util.PropertiesUtils;
import org.teiid.query.eval.Evaluator;
import org.teiid.query.function.FunctionDescriptor;
import org.teiid.query.parser.QueryParser;
@@ -64,6 +65,7 @@
import org.teiid.query.sql.util.ValueIterator;
import org.teiid.query.unittest.RealMetadataFactory;
import org.teiid.query.util.CommandContext;
+import org.teiid.query.util.Options;
@SuppressWarnings("nls")
public class TestExpressionEvaluator {
@@ -333,11 +335,14 @@
FakeDataManager dataMgr = new FakeDataManager();
- Properties props = new Properties();
- props.setProperty("http_host", "testHostName"); //$NON-NLS-1$ //$NON-NLS-2$
- props.setProperty("http_port", "8000"); //$NON-NLS-1$ //$NON-NLS-2$
- CommandContext context = new CommandContext(new Long(1), null, null, null, null, 0, props, false);
+ Options options = new Options();
+ options.setProperties(System.getProperties());
+ options.getProperties().setProperty("http_host", "testHostName"); //$NON-NLS-1$ //$NON-NLS-2$
+ options.getProperties().setProperty("http_port", "8000"); //$NON-NLS-1$ //$NON-NLS-2$
+ PropertiesUtils.setBeanProperties(options, options.getProperties(), "org.teiid", true); //$NON-NLS-1$
+ CommandContext context = new CommandContext(new Long(1), null, null, null, null, 0, false);
+
func.setArgs(new Expression[] {new Constant("http_host")}); //$NON-NLS-1$
assertEquals("testHostName", new Evaluator(Collections.emptyMap(), dataMgr, context).evaluate(func, Collections.emptyList())); //$NON-NLS-1$
@@ -358,7 +363,7 @@
func.setFunctionDescriptor(desc);
FakeDataManager dataMgr = new FakeDataManager();
- CommandContext context = new CommandContext(new Long(-1), null, "user", payload, "vdb", 1, null, false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ CommandContext context = new CommandContext(new Long(-1), null, "user", payload, "vdb", 1, false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
if(property != null) {
func.setArgs(new Expression[] {new Constant(property)});
Modified: branches/7.7.x/engine/src/test/java/org/teiid/query/processor/relational/TestRelationalNodeStatistics.java
===================================================================
--- branches/7.7.x/engine/src/test/java/org/teiid/query/processor/relational/TestRelationalNodeStatistics.java 2012-10-31 21:31:09 UTC (rev 4525)
+++ branches/7.7.x/engine/src/test/java/org/teiid/query/processor/relational/TestRelationalNodeStatistics.java 2012-11-01 20:34:44 UTC (rev 4526)
@@ -111,7 +111,7 @@
FakeRelationalNode fakeNode = new FakeRelationalNode(1, data, 100);
fakeNode.setElements(elements);
- CommandContext context = new CommandContext("pid", "group", null, null, null, 1, null, true); //$NON-NLS-1$ //$NON-NLS-2$
+ CommandContext context = new CommandContext("pid", "group", null, null, null, 1, true); //$NON-NLS-1$ //$NON-NLS-2$
fakeNode.initialize(context, BufferManagerFactory.getStandaloneBufferManager(), null);
return fakeNode;
}
13 years, 5 months
[teiid/teiid] d77c1c: TEIID-1241 making the wsdl location easier to spec...
by shawkins
Branch: refs/heads/master
Home: https://github.com/teiid/teiid
Commit: d77c1cd46065233b5089aec815e900a71159ae5a
https://github.com/teiid/teiid/commit/d77c1cd46065233b5089aec815e900a7115...
Author: shawkins <shawkins(a)redhat.com>
Date: 2012-11-01 (Thu, 01 Nov 2012)
Changed paths:
M api/src/main/java/org/teiid/translator/WSConnection.java
M build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html
M connectors/connector-ws/src/main/java/org/teiid/resource/adapter/ws/WSConnectionImpl.java
M connectors/connector-ws/src/main/java/org/teiid/resource/adapter/ws/WSManagedConnectionFactory.java
M connectors/connector-ws/src/main/rar/META-INF/ra.xml
M connectors/translator-ws/src/main/java/org/teiid/translator/ws/WSExecutionFactory.java
M connectors/translator-ws/src/test/java/org/teiid/translator/ws/TestWSTranslatorMetadata.java
Log Message:
-----------
TEIID-1241 making the wsdl location easier to specify and updating the
release notes
13 years, 5 months
[teiid/teiid] 9b56fa: TEIID-1241 refining the ws logic to support using ...
by shawkins
Branch: refs/heads/master
Home: https://github.com/teiid/teiid
Commit: 9b56facc3497c68ce25ef9540e2e022a682d1bdd
https://github.com/teiid/teiid/commit/9b56facc3497c68ce25ef9540e2e022a682...
Author: shawkins <shawkins(a)redhat.com>
Date: 2012-11-01 (Thu, 01 Nov 2012)
Changed paths:
M api/src/main/java/org/teiid/translator/WSConnection.java
A connectors/connector-ws/src/main/java/org/apache/cxf/service/model/MessagePartInfo.java
M connectors/connector-ws/src/main/java/org/teiid/resource/adapter/ws/WSConnectionImpl.java
M connectors/connector-ws/src/main/java/org/teiid/resource/adapter/ws/WSManagedConnectionFactory.java
M connectors/connector-ws/src/main/rar/META-INF/ra.xml
M connectors/translator-ws/src/main/java/org/teiid/translator/ws/WSDLMetadataProcessor.java
M connectors/translator-ws/src/main/java/org/teiid/translator/ws/WSExecutionFactory.java
M connectors/translator-ws/src/main/java/org/teiid/translator/ws/WSProcedureExecution.java
A connectors/translator-ws/src/main/java/org/teiid/translator/ws/WSWSDLProcedureExecution.java
M connectors/translator-ws/src/test/java/org/teiid/translator/ws/TestWSTranslatorMetadata.java
Log Message:
-----------
TEIID-1241 refining the ws logic to support using a specific wsdl
13 years, 5 months