################################################################################
##                         IMPORT BASE PY FILE
## Import other settings from applicationbase.py 
## See the resources/install/common folder for this file.
## Note for the desktop we need to fully qualify this file. 
################################################################################
from Settings import Settings as Config
##execfile('C:/projects/accurev/WASS_DEV-1/WASSEAR/resources/install/common/applicationbase.py' )
execfile(Config.APPLICATION_DEPLOY_SOURCE + '/applicationbase.py' )

##############################################################################
##                           SYSTEM_PROPERTIES
##  Append additional properties specific to this environment
##############################################################################
SYSTEM_PROPERTIES.append(["faces.PROJECT_STAGE", "Production"])

##############################################################################
## NONSTANDARD_CLASSPATHS - Desktop configurator ONLY!!!
## Definition: Use this variable to get the additional classpaths on the JVM
##             so the property files can be found.
##
##############################################################################
##NONSTANDARD_CLASSPATHS = []
##NONSTANDARD_CLASSPATHS.append("C:/projects/accurev/WASS_DEV-1/WASSEAR/resources/properties/common") 
##NONSTANDARD_CLASSPATHS.append("C:/projects/accurev/WASS_DEV-1/WASSEAR/resources/properties/common/fjf")
##NONSTANDARD_CLASSPATHS.append("C:/projects/accurev/WASS_DEV-1/WASSEAR/resources/properties/desktop")

################################################################################
##                          WASS DB (PROD)
##  The necessary core settings are established in applicationbase.py
##  These settings are just added to definitions started in the base py.
################################################################################
SQLServer_DB_WASS.append(["databaseName", "wass"])
SQLServer_DB_WASS.append(["serverName", "sqlmrr1207"])
SQLServer_DB_WASS.append(["portNumber", 1433])

################################################################################
##                          WASS DB2 (QA)
##  The necessary core settings are established in applicationbase.py
##  These settings are just added to definitions started in the base py.
################################################################################
DB2_DB_WASS.append(["databaseName", "LOCDB2FB"])
DB2_DB_WASS.append(["serverName", "sye1.dearborn.ford.com"])
DB2_DB_WASS.append(["portNumber", 5021])

################################################################################
##                       DynaProp Database (QA) 
##  The necessary core settings are established in applicationbase.py
##  These settings are just added to definitions started in the base py.
################################################################################
SQLServer_DB_DynaProp.append(["databaseName", "wass"])
SQLServer_DB_DynaProp.append(["serverName", "sqlmrr1207"])
SQLServer_DB_DynaProp.append(["portNumber", 1433])

################################################################################
##                     DataMaintenance Database (QA) 
##  The necessary core settings are established in applicationbase.py
##  These settings are just added to definitions started in the base py.
################################################################################
#SQLServer_DB_DataMaintenance.append(["databaseName", "j2ee1"])
#SQLServer_DB_DataMaintenance.append(["serverName", "fcdb643.fmc1q.ford.com"])
#SQLServer_DB_DataMaintenance.append(["portNumber", 61435])

DATA_SOURCE_DEFINITIONS = [SQLServer_DB_WASS, SQLServer_DB_DynaProp, DB2_DB_WASS]
################################################################################
STDOUT_LOG_SETTINGS= []
STDOUT_LOG_SETTINGS.append(["rolloverType", "SIZE"])
STDOUT_LOG_SETTINGS.append(["rolloverSize",   25])

################################################################################
##                              IMS
################################################################################
USE_IMS_CONNECTOR = "TRUE"

#IMST1_Definition.append(["DataStoreName", "IMS9"]) (PROD)
#IMST1_Definition.append(["DataStoreName", "IMI9"]) (QA)
#IMST1_Definition.append(["DataStoreName", "IMST9"]) (DEV) 

## Setup Connection Factory to IMS Region
IMST1_Definition = []
IMST1_Definition.append(["name", "IMST9"])
IMST1_Definition.append(["jndiName", "eis/ims/ConnectorTest/IMST9"])
IMST1_Definition.append(["DataStoreName", "IMST9"])
IMST1_Definition.append(["maxConnections", 50])
IMST1_Definition.append(["minConnections", 0])
IMST1_Definition.append(["purgePolicy", "EntirePool"])

## Repeat Connection Factory Definitions for each IMS Region
## used by the application.  Make sure to NOT use the same names
#
## The following variable must contain a list with all Connection Factory definitions
## For defining a single IMS connection, it would look like:
IMS_CONNECTION_FACTORY_DEFINITIONS = [IMST1_Definition]
################################################################################
