[teiid-commits] teiid SVN: r2521 - in branches/7.1.x/build/kits/jboss-container/teiid-examples: jca and 1 other directory.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Thu Sep 2 14:41:24 EDT 2010


Author: rareddy
Date: 2010-09-02 14:41:23 -0400 (Thu, 02 Sep 2010)
New Revision: 2521

Added:
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/file-ds.xml
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/ldap-ds.xml
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/readme.txt
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/salesforce-ds.xml
   branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/webservices-ds.xml
Log:
TEIID-1236: adding sample ds files to kit

Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/file-ds.xml
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/file-ds.xml	                        (rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/file-ds.xml	2010-09-02 18:41:23 UTC (rev 2521)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+   <no-tx-connection-factory>
+      <!-- The jndi name of the DataSource -->
+      <jndi-name>fileDS</jndi-name>
+      
+      <!-- The resource archive file that defines JCA connection for Sales Force (do not change this) -->
+      <rar-name>teiid-connector-file.rar</rar-name>
+      <!-- connection interface; (do not change this) -->
+      <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>      
+
+       <!-- Directory where the data files are stored -->
+      <config-property name="ParentDirectory" type="java.lang.String">directory</config-property>
+            
+      <max-pool-size>20</max-pool-size>
+
+    </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file


Property changes on: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/file-ds.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/ldap-ds.xml
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/ldap-ds.xml	                        (rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/ldap-ds.xml	2010-09-02 18:41:23 UTC (rev 2521)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+   <no-tx-connection-factory>
+      <!-- The jndi name of the DataSource -->
+      <jndi-name>ldapDS</jndi-name>
+      
+      <!-- The resource archive file that defines JCA connection for Sales Force (do not change this) -->
+      <rar-name>teiid-connector-file.rar</rar-name>
+      <!-- connection interface; (do not change this) -->
+      <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>      
+
+       <!-- LDAP Directroy URL (required)-->
+      <config-property name="LdapUrl">ldap://ldapServer:389</config-property>
+      
+      <!-- Ldap Admin User DN (required)-->
+      <config-property name="LdapAdminUserDN">cn=???,ou=???,dc=???</config-property>
+     
+      <!-- Ldap Admin Password (required)-->
+      <config-property name="LdapAdminUserPassword">pass</config-property>
+     
+      <!-- Ldap Transaction Timeout (ms) -1 = no time out (optional) -->
+      <config-property name="LdapTxnTimeoutInMillis">-1</config-property>
+            
+      <max-pool-size>20</max-pool-size>
+
+    </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file


Property changes on: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/ldap-ds.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/readme.txt
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/readme.txt	                        (rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/readme.txt	2010-09-02 18:41:23 UTC (rev 2521)
@@ -0,0 +1,8 @@
+This folder contains the sample "-ds.xml" files that can be created for Teiid sources.
+
+JDBC: Please check "<jboss-as>/docs/examples/jca" directory for creating a -ds.xml file for any type of relational database. 
+Please note you can find samples for creating both "local" and "xa" data sources.
+
+Web Serivices with ws-security: Check out Admin guide for a sample with explanation on how to use it. 
+
+All the others types of sources, please find a example in this directory.
\ No newline at end of file


Property changes on: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/readme.txt
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/salesforce-ds.xml
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/salesforce-ds.xml	                        (rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/salesforce-ds.xml	2010-09-02 18:41:23 UTC (rev 2521)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<connection-factories>
+    <no-tx-connection-factory>
+        <!-- The jndi name of the DataSource -->
+        <jndi-name>salesforceDS</jndi-name>
+        
+        <!-- The resource archive file that defines JCA connection for Sales Force (do not change this) -->
+        <rar-name>teiid-connector-salesforce.rar</rar-name>
+       
+        <!-- connection interface; (do not change this) -->
+        <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>
+        
+        <!-- URL; the below is test; replace with actual URL you need to connect to -->
+        <config-property name="URL">https://test.salesforce.com/services/Soap/u/10.0</config-property>
+        
+        <config-property name="username">user</config-property>
+        <config-property name="password">pass</config-property>
+        
+        <!-- connection pool size -->
+        <max-pool-size>1</max-pool-size>
+    </no-tx-connection-factory>
+</connection-factories>


Property changes on: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/salesforce-ds.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/webservices-ds.xml
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/webservices-ds.xml	                        (rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/webservices-ds.xml	2010-09-02 18:41:23 UTC (rev 2521)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+   <no-tx-connection-factory>
+      <!-- The jndi name of the DataSource -->
+      <jndi-name>webserviceDS</jndi-name>
+      
+      <!-- The resource archive file that defines JCA connection for Sales Force (do not change this) -->
+      <rar-name>teiid-connector-ws.rar</rar-name>
+      <!-- connection interface; (do not change this) -->
+      <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>      
+
+      <!-- End point for the web service -->
+      <config-property name="EndPoint">endpoint url</config-property>
+        
+            
+      <max-pool-size>1</max-pool-size>
+
+    </no-tx-connection-factory>
+
+</connection-factories>
\ No newline at end of file


Property changes on: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/webservices-ds.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the teiid-commits mailing list