org.teiid.test.framework
Interface ConfigPropertyNames


public interface ConfigPropertyNames

The following properties can be set in 2 ways:

  • set as a System property(..)
  • specify it in the config properties file
  • Author:
    vanhalbert

    Nested Class Summary
    static interface ConfigPropertyNames.CONNECTION_STRATEGY_PROPS
              Connection Props are the CONNECTION_STRATEGY execution options
    static interface ConfigPropertyNames.CONNECTION_TYPES
              CONNECTION_TYPE regarding setting the specific connection type to use when connecting to Teiid
    static interface ConfigPropertyNames.TXN_AUTO_WRAP_OPTIONS
               
     
    Field Summary
    static String CONFIG_FILE
              Specify this as a system property to set a specific configuration to use otherwise the ConfigPropertyLoader.DEFAULT_CONFIG_FILE_NAME will be loaded.
    static String CONNECTION_TYPE
              Connection Type indicates the type of connection (strategy) to use when connecting to Teiid.
    static String DISABLE_DATASTORES
              If DISABLE_DATASTORES is specified, then the assumption is that configuration related to the datastores is being handled out side of the test framework.
    static String EXCLUDE_DATASBASE_TYPES_PROP
              The EXCLUDE_DATASOURCES_PROP is a comma delimited property that can be used to exclude certain database types.
    static String OVERRIDE_DATASOURCES_LOC
              The OVERRIDE_DATASOURCES_LOC, when specified, will override the default defined for DataSourceMgr.DEFAULT_DATASOURCES_LOC;
    static String USE_DATASOURCE_TYPES_PROP
              The USE_DATASOURCE_TYPES_PROP is a comma delimited property that can be used to limit the types of datasources to be used for the tests.
    static String USE_DATASOURCES_PROP
              The USE_DATASOURCES_PROP is a comma delimited property that can be used to limit the datasources that are in use for the tests.
     

    Field Detail

    CONFIG_FILE

    static final String CONFIG_FILE
    Specify this as a system property to set a specific configuration to use otherwise the ConfigPropertyLoader.DEFAULT_CONFIG_FILE_NAME will be loaded.

    See Also:
    Constant Field Values

    USE_DATASOURCES_PROP

    static final String USE_DATASOURCES_PROP
    The USE_DATASOURCES_PROP is a comma delimited property that can be used to limit the datasources that are in use for the tests. Use the directory name defined in the ddl directory. This enables a developers to test a certain datasource without having to remove connection.properties files.

    See Also:
    Constant Field Values

    USE_DATASOURCE_TYPES_PROP

    static final String USE_DATASOURCE_TYPES_PROP
    The USE_DATASOURCE_TYPES_PROP is a comma delimited property that can be used to limit the types of datasources to be used for the tests. The database type DataSource.DB_TYPE corresponds to the defined types in the resources/ddl directory. By specifying this property, the test will use on data sources of the specified types..

    See Also:
    Constant Field Values

    EXCLUDE_DATASBASE_TYPES_PROP

    static final String EXCLUDE_DATASBASE_TYPES_PROP
    The EXCLUDE_DATASOURCES_PROP is a comma delimited property that can be used to exclude certain database types. This is done so that whole sets of tests can be excluded when a datasource has been defined for a specific database type.

    See Also:
    Constant Field Values

    OVERRIDE_DATASOURCES_LOC

    static final String OVERRIDE_DATASOURCES_LOC
    The OVERRIDE_DATASOURCES_LOC, when specified, will override the default defined for DataSourceMgr.DEFAULT_DATASOURCES_LOC;

    See Also:
    Constant Field Values

    DISABLE_DATASTORES

    static final String DISABLE_DATASTORES
    If DISABLE_DATASTORES is specified, then the assumption is that configuration related to the datastores is being handled out side of the test framework. This include not performing the following:
  • DataStore will not called to configure the data prior to running a test
  • The connector bindings will not be configured as part of the ConnectionStrategy vdb configuration. The vdb must have the binding(s) defined.
  • The TestClientTransaction will be using this option because the data is already assumed configured in its respective database.

    See Also:
    Constant Field Values

    CONNECTION_TYPE

    static final String CONNECTION_TYPE
    Connection Type indicates the type of connection (strategy) to use when connecting to Teiid. Options are ConfigPropertyNames.CONNECTION_TYPES

    See Also:
    Constant Field Values


    Copyright © 2012. All Rights Reserved.