[teiid-commits] teiid SVN: r1635 - trunk/test-integration/db/src/main/resources/ctc_tests.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Dec 9 18:49:37 EST 2009


Author: vhalbert at redhat.com
Date: 2009-12-09 18:49:37 -0500 (Wed, 09 Dec 2009)
New Revision: 1635

Added:
   trunk/test-integration/db/src/main/resources/ctc_tests/deploy.properties
   trunk/test-integration/db/src/main/resources/ctc_tests/qe-bqt-test.properties
Log:
Teiid 781 - adding resources to support the ctc tests

Added: trunk/test-integration/db/src/main/resources/ctc_tests/deploy.properties
===================================================================
--- trunk/test-integration/db/src/main/resources/ctc_tests/deploy.properties	                        (rev 0)
+++ trunk/test-integration/db/src/main/resources/ctc_tests/deploy.properties	2009-12-09 23:49:37 UTC (rev 1635)
@@ -0,0 +1,187 @@
+#
+# This is properties file used for bootstrap Teiid embedded for loading
+#
+
+# Path to the directory where the VDBs are located, or list of VDBS separated by ";"
+#vdb.definition=./${vdb}
+
+
+teiid.home=./teiid_home
+
+----
+
+#
+# This is properties file used for bootstrap Teiid embedded for loading
+#
+
+# name of the process that uniquely identifies this process( if ignored one will be assigned)
+processName=localhost
+
+# Path to the directory where the VDBs are located
+#dqp.deploydir=./target/classes/tests/vdbs
+#./vdbs
+
+#vdb.definition=./vdbs/${vdb}
+
+#Extensions directory - where the Connector Binding's classpath jar files are loaded.
+#Use of this property is an implicit declaration that each Connector Binding has its own Class Loader.
+#dqp.extensions=./extensions/
+
+#Path to instance specific temporary information for caching, buffering, and transactions
+dqp.workdir=./work
+
+#Path to the Teiid Configuration file (manages connector types and shared connector bindings)
+dqp.configFile=../configuration.xml
+
+#Jars to load, which will be available to all services: UDFs, command logging, etc.
+#dqp.extension.CommonClasspath=extensionjar:x.jar,extensionjar:y.jar
+
+#Location of the UDF model
+#dqp.userDefinedFunctionsFile=extensionjar:FunctionDefinition.xmi
+
+#
+# Processor settings
+# 
+
+#Process pool maximum thread count. (default 64)
+process.maxThreads=64
+
+#Query processor time slice, in milliseconds. (default 2000)
+process.timeSliceInMilli=2000
+
+#Plan debug messages allowed. see option debug.
+process.optionDebugAllowed=true
+
+#Maximum allowed fetch size, set via JDBC. User requested value ignored above this value. (default 20000)
+process.maxRowsFetchSize=20000
+
+# The max lob chunk size transferred each time when processing blobs, clobs(10KB default) 
+process.lobChunkSizeInKB=10
+
+#
+# BufferManager Settings
+#
+
+#The max size of a batch sent between connector and query service. Should be even multiple of processorBatchSize. (default 2000)
+dqp.buffer.connectorBatchSize=2000
+
+#The max size of a batch sent internally within the query processor. Should be <= the connectorBatchSize. (default 2000)
+dqp.buffer.processorBatchSize=2000
+
+#Defines whether to use disk buffering or not. (default true)
+dqp.buffer.useDisk=true
+
+#The numeric memory size in MB, to be used before disk buffering kicks in (default 64)
+dqp.buffer.memory=64
+
+#
+# Cache Settings
+#
+
+#The maximum number of query plans that are cached. Note: this is a memory based cache. (default 250) 
+PreparedPlanCache.maxCount=250
+
+#Maximum number of cached lookup tables. Note: this is a memory based cache and should be set to a value of at least 10 to accomidate system usage. (default 200)
+CodeTables.maxCount=200
+
+#Maximum number of records in a single lookup table (default 10000)
+CodeTables.maxRowsPerTable=10000
+
+#Maximum number of records in all lookup tables (default 200000)
+CodeTables.maxRows=200000
+
+#Denotes whether or not result set caching is enabled. (default false)
+ResultSetCache.enabled=false
+
+#The maximum size in MB the result set cache will be allowed to grow to before objects are removed. 0 indicates no limit. (default 50)
+#ResultSetCache.maxSizeInMB=50
+
+#The maximum time a result set will be kept in cache before being automatically cleared. 0 indicates no limit. (default 3600000)
+#ResultSetCache.maxAgeInSeconds=3600000
+
+#Defines whether caching is restricted to a specific session ('session') or a specific VDB version ('vdb'). (default vdb)	
+#ResultSetCache.scope=vdb
+
+#
+# Session Service Settings
+#
+
+#Maximum number of sessions allowed by the system (default 5000)
+session.maxSessions=5000
+
+#Max allowed time before the session is terminated by the system (default unlimited, default is 86400000 - 24hrs)
+#session.expirationTimeInMilli=86400000
+
+#
+# Membership Service Settings (handles the authentication of the user)
+#
+
+membership.enabled=true
+membership.superUser=admin
+membership.superUserPassword=teiid
+#Membership Domain Order (comma separated list of domains to authenticate user. ex: file, ldap)
+membership.DomainOrder=file,ldap
+#Allow connections only from specified hosts
+#membership.allowedHosts=
+
+
+#
+# Authorization Service Settings (membership must be enabled to check any authorizations)
+#
+auth.check_entitlements=false
+########  auth.adminRolesFile=./tests/admin-roles.properties
+
+#
+# Socket transport
+#
+
+# Setting to enable the use of a per connection 128 bit AES key 
+# to encrypt sensitive client server traffic (default true) 
+client.encryption.enabled=true
+
+server.portNumber=31000
+server.bindAddress=localhost
+
+#Max number of threads dedicated to Admin and initial request processing (default 15)
+server.maxSocketThreads=15
+
+#SO_RCVBUF size, 0 indicates that system default should be used (default 0)
+server.inputBufferSize=0
+
+#SO_SNDBUF size, 0 indicates that system default should be used (default 0)
+server.outputBufferSize=0
+
+# SSL Settings
+#Setting to enable the use of SSL for socket connections.  Note all client must use the mms protocol when enabled. (default false)
+ssl.enabled=false
+#ssl.protocol=SSLv3
+
+#SSL Authentication Mode, may be one of 1-way, 2-way, or annonymous (default 1-way)
+#ssl.authenticationMode=1-way
+#ssl.keymanagementalgorithm=
+#ssl.keystore.filename=ssl.keystore
+#ssl.keystore.Password=changeme
+#ssl.keystoretype=JKS
+#ssl.truststore.filename=teiid.truststore
+#ssl.truststore.Password=changeme
+
+#
+# Transaction Settings
+#
+
+# Setting to enable the use of transactions for XA, local, 
+# and request scope transactions (default true) 
+xa.enabled=true
+
+# default transaction time out in seconds (default 120)
+xa.max_timeout=120
+
+# Setting to enable recovery scans (default true)
+xa.enable_recovery=true
+
+# JBoss transactions status port (default 0 - selects an available port)
+xa.txnstatus_port=0
+
+
+
+


Property changes on: trunk/test-integration/db/src/main/resources/ctc_tests/deploy.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/test-integration/db/src/main/resources/ctc_tests/qe-bqt-test.properties
===================================================================
--- trunk/test-integration/db/src/main/resources/ctc_tests/qe-bqt-test.properties	                        (rev 0)
+++ trunk/test-integration/db/src/main/resources/ctc_tests/qe-bqt-test.properties	2009-12-09 23:49:37 UTC (rev 1635)
@@ -0,0 +1,107 @@
+
+#  Need to setup the following system properties that will be picked up and substituted 
+# - query.artifacts.dir  
+# - vdb.artifacts.dir
+
+
+#  the following are the properties to be passed in via maven or set as a system property
+#
+#  1 - set the location of the query files directory and results files directory
+#
+
+queryfiles.loc=${query.artifacts.dir}/bqt/test_queries
+
+
+
+results.loc=${query.artifacts.dir}/bqt/expected_results
+
+#  2 - where to find the scenario files
+scenariodir=${query.artifacts.dir}/bqt/scenarios
+
+#
+#  3 - where to find the vdb's, which is used as the teiid.home setting in the deploy.properties
+vdb.loc=${vdb.artifacts.dir}/vdbs
+
+
+
+# turn off the configuration of the datastores (data refresh) and connector bindings (seting the datastore connection info)
+disable_datastore=true
+
+
+generatedir=target/bulk-query-tests/bqt/generate
+outputdir=target/bulk-query-tests/bqt/output
+
+
+
+
+#  transaction types
+#  See the TransactionFactory for the list of types
+transaction-type=offwrap
+#transaction-type=local
+
+
+resultmode=compare
+
+connection-type=driver
+
+
+# this is the deploy.properties file which will be used to run all the tests
+# it will have these properties updated:
+#	1 - vdb.definition (which will be based on vdb.loc)
+deployprops.loc=./target/classes/ctc_tests/deploy.properties
+
+
+
+
+
+process-batch = 20
+connector-batch = 20
+
+# this is how to submit queries to Teiid
+# default is true
+execute.in.batch=false
+
+##########################################
+# properties for Teiid connection
+##########################################
+
+#driver=org.teiid.jdbc.TeiidDataSource
+
+### driver and url for connecting in server mode
+#driver=org.teiid.jdbc.TeiidDriver
+#URL=jdbc:metamatrix:${vdb}@mm://localhost:31000;user=admin;password=teiid
+
+### driver and url for running in embedded mode
+driver=com.metamatrix.jdbc.EmbeddedDataSource
+URL=jdbc:metamatrix:${vdb}@target/classes/ctc_tests/deploy.properties;user=admin;password=teiid
+User=admin
+Password=teiid
+
+### dont define Database, it will be set based on the scenario vdb
+#DatabaseName=
+ServerName=target/classes/ctc_tests/deploy.properties
+
+#PortNumber=0
+#application-name=bqt-test
+
+# jboss
+# mm.ds-jndiname=java:mmXA
+# usertxn-jndiname=UserTransaction
+
+# weblogic
+mm.ds-jndiname=mmXA
+usertxn-jndiname=java:comp/UserTransaction
+
+
+# These mappings control what datasource is mapped to which model when the -Dusedatasources=<comma seperated datasource names> option is used
+#		or the system environment is set.
+#
+# By providing the numerical order, it indicates which datasource to assign based on the order in the usedatasources property.
+#
+# If -Dusedatasources is not set, then the datasource will be assigned in the order they are calling to obtain a datasource. 
+#
+#
+
+BQT2=1
+BQT1=2
+SP=3


Property changes on: trunk/test-integration/db/src/main/resources/ctc_tests/qe-bqt-test.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the teiid-commits mailing list