Author: rareddy
Date: 2010-03-24 17:49:16 -0400 (Wed, 24 Mar 2010)
New Revision: 1997
Added:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/oracle-connector-ds.xml
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/readme.txt
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/text-connector-ds.xml
Log:
TEIID-833: adding some sample connector bindings
Added:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/oracle-connector-ds.xml
===================================================================
---
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/oracle-connector-ds.xml
(rev 0)
+++
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/oracle-connector-ds.xml 2010-03-24
21:49:16 UTC (rev 1997)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+ <no-tx-connection-factory>
+ <jndi-name>oracle-connector</jndi-name>
+ <rar-name>connector-jdbc-{project.version}.rar</rar-name>
+
<connection-definition>org.teiid.connector.api.Connector</connection-definition>
+
+ <!--
+ All the available properties for this connector are defined inside the
"ra.xml" defined inside the rar
+ file mentioned above.
+ -->
+ <config-property name="CapabilitiesClass"
type="java.lang.String">org.teiid.connector.jdbc.oracle.OracleCapabilities</config-property>
+ <config-property name="XaCapable"
type="java.lang.Boolean">true</config-property>
+ <config-property name="ExtensionTranslationClassName"
type="java.lang.String">org.teiid.connector.jdbc.oracle.OracleSQLTranslator</config-property>
+
+ <!--
+ This xml file is defining a connector for Teiid. Still this is not the source,
this is just a
+ Teiid connector wrapping layer. This layer needs access to physical JDBC source,
that is defined
+ in the below property. This is a data source in JBoss. This can be any RDBMS.
Look at
+ "{jboss.home}/docs/examples/jca" folder for samples.
+ -->
+ <config-property name="SourceJNDIName"
type="java.lang.String">java:OracleDS</config-property>
+
+ <max-pool-size>20</max-pool-size>
+ </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file
Property changes on:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/oracle-connector-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/readme.txt
===================================================================
--- trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/readme.txt
(rev 0)
+++
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/readme.txt 2010-03-24
21:49:16 UTC (rev 1997)
@@ -0,0 +1,4 @@
+The sample files in this directory define how a user can define connector bindings for a
VDB in Teiid using the
+JBoss connection factory mechanism. However note that in the case JDBC sources, these
connection factories depend on the
+availability of the data sources that they represent. To define such data sources please
look at the samples
+"<jboss-install>/docs/examples/jca" folder.
Property changes on:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/readme.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/text-connector-ds.xml
===================================================================
---
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/text-connector-ds.xml
(rev 0)
+++
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/text-connector-ds.xml 2010-03-24
21:49:16 UTC (rev 1997)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+ <no-tx-connection-factory>
+ <jndi-name>text-connector</jndi-name>
+ <rar-name>connector-text-{project.version}.rar</rar-name>
+
<connection-definition>org.teiid.connector.api.Connector</connection-definition>
+
+ <!--
+ All the available properties for this connector are defined inside the
"ra.xml" defined inside the rar
+ file mentioned above.
+ -->
+ <config-property name="XaCapable"
type="java.lang.Boolean">false</config-property>
+ <config-property name="DescriptorFile"
type="java.lang.String">${jboss.server.home.dir}/teiid-examples/portfolio/marketdata-def.txt</config-property>
+
+ </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file
Property changes on:
trunk/build/kit-jboss-container/teiid-examples/sample-connector-bindings/text-connector-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date