IBM WebSphere Process Server Mediation and Process Modules

In this example file we see the configuration required to deploy a number of modules to a target application server.

Example

First set the general app options:

app_options       = [ "-server", serverName, "-cluster", clusterName, "-cell", cellName, "-node", nodeName  ]

Then define the bindings for each application. Here we show the bindings for the MV_IN_IBGTW_ArrangementSetup application

#---------------------------------------------------
#  Bindings per application
#---------------------------------------------------
# MV_IN_IBGTW_ArrangementSetup
MV_IN_IBGTW_ArrangementSetup_res7_1 = ["MV_IN_IBGTW_ArrangementSetupWeb",
 "MV_IN_IBGTW_ArrangementSetupWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_IN_IBGTW_ArrangementSetup_app_options = ["-appname"]
MV_IN_IBGTW_ArrangementSetup_app_options.append("MV_IN_IBGTW_ArrangementSetup")
MV_IN_IBGTW_ArrangementSetup_app_options.append("-MapWebModToVH")
MV_IN_IBGTW_ArrangementSetup_app_options.append([MV_IN_IBGTW_ArrangementSetup_res7_1])

Then map all the applications to their respective bindings. Here we show MV_IN_IBGTW_ArrangementSetup with just the previous and next bindings for example.

enterpriseApplicationList = [ ... ["MV_OUT_IBGTW_ProductCustomerMatching",
MV_OUT_IBGTW_ProductCustomerMatching_app_options], ["MV_IN_IBGTW_ArrangementSetup",
MV_IN_IBGTW_ArrangementSetup_app_options],
["MV_IN_IBGTW_CommunicationAcceptance", MV_IN_IBGTW_CommunicationAcceptance_app_options] ... ]

Once the first two sets of stanzas have been completed, these will never need changing. You can alter which modules are deployed by simply amending the enterpriseApplicationList to add or remove modules.

Full py file

The full py file from which the above example was taken:

#==========================================================================================
# The following file contains environment variables that will be used to create  
# WAS applicaton server and install Enterprise Apps
#
#==========================================================================================

#---------------------------------------------------
# General Variables
#---------------------------------------------------
appName                                   = "RM_MarketingRules"
appVersion                                = "1"

envIdentifier                     = "SysTst04APP"
portIdentifier                    = "100"

#---------------------------------------------------
# Application Server Related Variables
#---------------------------------------------------
serverName                                = "RDServerSysTst04APP"
serverNode                                = "rdcloud01"
cookieName                                = "JSESSIONID"
threadPoolMinSize = 10
threadPoolMaxSize = 50
minJVMHeapSize = 768
#maxJVMHeapSize = 1536
maxJVMHeapSize = 1280

forceFullResync = "true"

# Note: This need to match the node name given during installation of Deployment Manager.
sslTransportSettingNodeName   = nodeName
# Can be removed at a later point of time. Is not used  at this moment #
# stop removing here

#---------------------------------------------------
# WAS Port settings
# These will be the underlying WAS port name suffixed
# with _port. They should be mapped as follws:
# WC_defaulthost_port                           = 10NNN
# WC_defaulthost_secure_port                = 11NNN
# BOOTSTRAP_ADDRESS_port                        = 12NNN
# SOAP_CONNECTOR_ADDRESS_port               = 13NNN
# SIB_ENDPOINT_ADDRESS_port                     = 14NNN
# SIB_ENDPOINT_SECURE_ADDRESS_port          = 15NNN
# SIB_MQ_ENDPOINT_ADDRESS_port              = 16NNN
# SIB_MQ_ENDPOINT_SECURE_ADDRESS_port   = 17NNN
# SIP_DEFAULTHOST_port                          = 18NNN
# SIP_DEFAULTHOST_SECURE_port               = 19NNN
#
# where NNN is unique for this server (in increments
# of 50 between servers)
#---------------------------------------------------

WC_defaulthost_port                                 = 10100
WC_defaulthost_secure_port                      = 11100
BOOTSTRAP_ADDRESS_port                          = 12100
SOAP_CONNECTOR_ADDRESS_port                     = 13100
#SIB_ENDPOINT_ADDRESS_port                      = 14100
#SIB_ENDPOINT_SECURE_ADDRESS_port           = 15100
#SIB_MQ_ENDPOINT_ADDRESS_port               = 16100
#SIB_MQ_ENDPOINT_SECURE_ADDRESS_port    = 17100
#SIP_DEFAULTHOST_port                           = 18100
#SIP_DEFAULTHOST_SECURE_port                = 19100

#---------------------------------------------------
# HTTP Server Port settings for the virtual host
# Ports defined as follows:
#
# httpServerNosecureTransportPortNo     = 30NNN
# httpServerSecureTransportPortNo           = 31NNN
# httpsCSSSprayerSecureTransportPort    = 443
# cssSprayerName        
#
# where NNN is unique for this server
# cssSprayerName        Matches the DNS name of the service
# Additional virtual host parameters may also be added.
#---------------------------------------------------

httpServerNosecureTransportPortNo           = 30000
httpServerSecureTransportPortNo             = 31000
httpsCSSSprayerSecureTransportPort          = 443
#cssSprayerName                                     = ifasales.midvision.co.uk

#---------------------------------------------------
# Virtual Host Related Variables
#---------------------------------------------------
vHostName                   =  serverName
vHostPort                   = WC_defaulthost_port
virtualHostList         = [[ vHostName, httpServerNosecureTransportPortNo], [vHostName ,WC_defaulthost_secure_port ] , [ vHostName, WC_defaulthost_port ]]

#---------------------------------------------------
# Cluster Related Variables
#---------------------------------------------------
clusterName             = serverName
clusterCount = 2
clusterIncrementer      = 0

#---------------------------------------------------
# Install the cluster members, and application only
# on specified nodes in the cell.
#---------------------------------------------------

useSpecifiedClusterNodes    = "false"
#specifiedNodes              = ["rdcloud01", "rdcloud02"] 

#---------------------------------------------------
# Application Server JVM properties
#---------------------------------------------------

systemProperties            = [[["name", "user.timezone"], ["value", "Europe/London"]]]

#---------------------------------------------------
# genericJVMArguments
#---------------------------------------------------

# Uncomment For SPNEGO SSO Security
#genericJVMArguments = "-DjvmName=RDServerSysTst04APP -Dcom.ibm.ws.security.spnego.isEnabled=true"
# Uncomment For No SPNEGO SSO Security
#genericJVMArguments = "-verbose:gc -DjvmName=RDServerSysTst04APP -Xminf0.3 -Xmaxf0.6 -Dcom.ibm.ws.security.spnego.isEnabled=false  -XX:MaxPermSize=256m -Xgcpolicy:gencon -Xverbosegclog:${SERVER_LOG_ROOT}/verbosegc.log,5,5000"
#genericJVMArguments = "-verbose:gc -DjvmName=RDServerSysTst04APP"
genericJVMArguments = "-verbose:gc -DjvmName=RDServerSysTst04APP -Xgcpolicy:gencon -Xmn512m"

#---------------------------------------------------
# Shared Libraries
#---------------------------------------------------
installSharedLibs               = "true"                              

sharedLibName_1                 = "MVPROJ_WPS_EAComponentLib_SysTst04APP"
sharedLibClassPath_1            = "/usr/websphere6/wpsge_57/AppServer/SharedLibraries/EAComponentLib"
sharedLibNativePath_1           = ""
classloaderForSharedLibrary     = "PARENT_FIRST"

sharedLibName_2                 = "MVPROJ_WPS_CustomPrimitives_SysTst04APP"
sharedLibClassPath_2            = "/usr/websphere6/wpsge_57/AppServer/SharedLibraries/CustomPrimitives"
sharedLibNativePath_2           = ""
classloaderForSharedLibrary     = "PARENT_FIRST"

#---------------------------------------------------
# Datasource settings.
# Each datasource should have settings with an _1, _2 suffix etc
# Note that if templateName is "" then no template is used.
# Examples of settings:
# ORACLE: 
#         set jdbcimplclass_1 "oracle.jdbc.pool.OracleConnectionPoolDataSource"
#         set dsHelper_1 "com.ibm.websphere.rsadapter.OracleDataStoreHelper"
#        (with databaseURL "jdbc:oracle:thin:@p09604gens04:1526:jxtst06")
# DB2:    
#         set jdbcimplclass_1 "COM.ibm.db2.jdbc.DB2XADataSource"
#         set dsHelper_1 "com.ibm.websphere.rsadapter.DB2DataStoreHelper"
# SQL:    
#         set jdbcimplclass_1 "com.ibm.websphere.jdbcx.sqlserver.SQLServerDataSource"
#         set dsHelper_1 "com.ibm.websphere.rsadapter.WSConnectJDBCDataStoreHelper"
#---------------------------------------------------

#---------------------------------------------------
# JDBC Provider 1 and DataSource Related Variables
#---------------------------------------------------

templateName_1              = ""
databaseURL_1               = "jdbc:oracle:thin:@mvcloud04:1526:poulhhj"
dsj2eeAttr_1                = [[[ "name","connectionProperties"] , ["type","java.lang.String"] , [ "value","oracle.jdbc.V8Compatible=true"]]]
jdbcimplclass_1             = "oracle.jdbc.xa.client.OracleXADataSource"
jdbcdesc_1                      = "Oracle JDBC Driver XA"
dsHelper_1                      = "com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper"
jdbcscope_1                 = "cell"
jdbcname_1                      = "RefData"
driverPath_1                = "/u01/app/oracle/product/10.2.0/jdbc/lib/ojdbc14.jar"
dsname_1                        = "RefDataDS"
dsjndiname_1                = "jdbc/ref_data"
cfname_1                        = "RefDataDS"
#agedTimeout_1              = 1000
agedTimeout_1               = 0
#connectionTimeout_1    = 1000
connectionTimeout_1     = 180
maxConnections_1            = 50
#minConnections_1           = 5
minConnections_1            = 10
purgePolicy_1               = "EntirePool"
#reapTime_1                     = 2000
reapTime_1                      = 180
#unusedTimeout_1            = 3000
unusedTimeout_1             = 1800
#stmentCacheSize_1          = 10
stmentCacheSize_1           = 50

#---------------------------------------------------
# Database 1 JAAS Authentication Related Variables
#---------------------------------------------------
databasePasswordAlias_1 = appName+"_1_DatabaseAuthInfo"
databaseUserId_1            = "user"
databasePassword_1          = "password"
databaseDescription_1   = "Database Authentication Data for " + jdbcname_1

#---------------------------------------------------
# Resource Environment Variables
#---------------------------------------------------
#
#---------- Resource Env Provider 1 -------------------
#
ResEnvProviderName_1           = "RapidDeploy_ResEnvProvider"
ResEnvProviderScope_1          = "cell"
ResRefFactoryClass_1           = "com.ibm.issw.util.websphere.ResourceEnvEntryMap"
ResRefClass_1                  = "com.ibm.issw.util.websphere.ResourceEnvEntryMap"
#---------- Resource Env Entry 1 -------------------
# Resource Env Entry 1
ResEnvEntName_1                = "FuseResourceRef"
ResEnvEntJndiName_1            = "rep/MV/MVPROJ/FuseResourceRef"
# Custom property 1 for Resource Env Entry 1
ResEnvEntCustPropName_1_1      = "MvService_responseTimeMax"
ResEnvEntCustPropValue_1_1     = "5000"
ResEnvEntCustPropDesc_1_1      = "Description"
ResEnvEntCustPropType_1_1      = "java.lang.Long"
ResEnvEntCustPropRequired_1_1  = "false"
# Custom property 2 for Resource Env Entry 1
ResEnvEntCustPropName_1_2      = "MvService_concurrencyMax"
ResEnvEntCustPropValue_1_2     = "30"
ResEnvEntCustPropDesc_1_2      = "Description"
ResEnvEntCustPropType_1_2      = "java.lang.Long"
ResEnvEntCustPropRequired_1_2  = "false"
# Custom property 3 for Resource Env Entry 1
ResEnvEntCustPropName_1_3      = "MvService_failInterval"
ResEnvEntCustPropValue_1_3     = "5000"
ResEnvEntCustPropDesc_1_3      = "Description"
ResEnvEntCustPropType_1_3      = "java.lang.Long"
ResEnvEntCustPropRequired_1_3  = "false"
# Custom property 4 for Resource Env Entry 1
ResEnvEntCustPropName_1_4      = "MvService_failCountMax"
ResEnvEntCustPropValue_1_4     = "10"
ResEnvEntCustPropDesc_1_4      = "Description"
ResEnvEntCustPropType_1_4      = "java.lang.Integer"
ResEnvEntCustPropRequired_1_4  = "false"
# Custom property 5 for Resource Env Entry 1
ResEnvEntCustPropName_1_5      = "MvService_fuseResetTime"
ResEnvEntCustPropValue_1_5     = "3600000"
ResEnvEntCustPropDesc_1_5      = "Description"
ResEnvEntCustPropType_1_5      = "java.lang.Long"
ResEnvEntCustPropRequired_1_5  = "false"
# Custom property 6 for Resource Env Entry 1
ResEnvEntCustPropName_1_6      = "LoansService_responseTimeMax"
ResEnvEntCustPropValue_1_6     = "3000"
ResEnvEntCustPropDesc_1_6      = "Description"
ResEnvEntCustPropType_1_6      = "java.lang.Long"
ResEnvEntCustPropRequired_1_6  = "false"
# Custom property 7 for Resource Env Entry 1
ResEnvEntCustPropName_1_7      = "LoansService_concurrencyMax"
ResEnvEntCustPropValue_1_7     = "30"
ResEnvEntCustPropDesc_1_7      = "Description"
ResEnvEntCustPropType_1_7      = "java.lang.Long"
ResEnvEntCustPropRequired_1_7  = "false"
# Custom property 8 for Resource Env Entry 1
ResEnvEntCustPropName_1_8      = "LoansService_failInterval"
ResEnvEntCustPropValue_1_8     = "1000"
ResEnvEntCustPropDesc_1_8      = "Description"
ResEnvEntCustPropType_1_8      = "java.lang.Long"
ResEnvEntCustPropRequired_1_8  = "false"
# Custom property 9 for Resource Env Entry 1
ResEnvEntCustPropName_1_9      = "LoansService_failCountMax"
ResEnvEntCustPropValue_1_9     = "1"
ResEnvEntCustPropDesc_1_9      = "Description"
ResEnvEntCustPropType_1_9      = "java.lang.Integer"
ResEnvEntCustPropRequired_1_9  = "false"
# Custom property 10 for Resource Env Entry 1
ResEnvEntCustPropName_1_10     = "MvService_fuseResetTime"
ResEnvEntCustPropValue_1_10    = "3600000"
ResEnvEntCustPropDesc_1_10     = "Description"
ResEnvEntCustPropType_1_10     = "java.lang.Long"
ResEnvEntCustPropRequired_1_10 = "false"
#---------- Resource Env Entry 2 -------------------
ResEnvEntName_2                = "LogResourceRef"
ResEnvEntJndiName_2            = "rep/MV/MVPROJ/LogResourceRef"
# Custom property 1 for Resource Env Entry 2
ResEnvEntCustPropName_2_1      = "EALoggingEnabled"
ResEnvEntCustPropValue_2_1     = "true"
ResEnvEntCustPropDesc_2_1      = "Description"
ResEnvEntCustPropType_2_1      = "java.lang.Boolean"
ResEnvEntCustPropRequired_2_1  = "false"

#---------------------------------------------------
# Replication Domain Settings
#---------------------------------------------------
installReplicationDomain          = "true"
replNumberOfReplicas              = -1
replRequestTimeout                = 5
replUseSSL                        = "false"

#---------------------------------------------------
# Object Cache settings
#---------------------------------------------------
installObjectCache                = "true"

#---------------------------------------------------
# Object Cache Instance 1 settings
#---------------------------------------------------
objcName_1                        = "ReferenceDataCache"
objcJndiName_1                    = "services/cache/referencedata"
objcDescription_1                 = "Reference Data Cache"
objcCacheSize_1                   = "1500"
objcDefaultPriority_1             = "1"
objcEnableDiskOffload_1           = "false"
objcDiskOffloadLocation_1         = "/cache"
objcFlushToDiskOnStop_1           = "false"
objcDiskCacheSizeInGB_1           = "2"
objcDiskCacheSizeInEntries_1      = "0"
objcDiskCacheEntrySizeInMB_1      = "0"
objcDiskCacheCleanupFrequency_1   = "2592000"   # If 0 then only at midnight
objcDisableDependencyId_1         = "true"
objcUseListenerContext_1          = "false"
objcReplicationType_1             = "PUSH"
objcPushFrequency_1               = "1"
objcEnableCacheReplication_1      = "true"
objcMessageBrokerDomainName_1     = serverName

#---------------------------------------------------
# Application install Related Variables
#---------------------------------------------------

installMultipleApps = "true"

entAppName                = appName
app_options       = [ "-server", serverName, "-cluster", clusterName, "-cell", cellName, "-node", nodeName  ]

#---------------------------------------------------
#  Bindings per application
#---------------------------------------------------
# MV_IN_IBGTW_ArrangementSetup
MV_IN_IBGTW_ArrangementSetup_res7_1 = ["MV_IN_IBGTW_ArrangementSetupWeb", "MV_IN_IBGTW_ArrangementSetupWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_IN_IBGTW_ArrangementSetup_app_options = ["-appname"]
MV_IN_IBGTW_ArrangementSetup_app_options.append("MV_IN_IBGTW_ArrangementSetup")
MV_IN_IBGTW_ArrangementSetup_app_options.append("-MapWebModToVH")
MV_IN_IBGTW_ArrangementSetup_app_options.append([MV_IN_IBGTW_ArrangementSetup_res7_1])

# MV_IN_IBGTW_CommunicationAcceptance
MV_IN_IBGTW_CommunicationAcceptance_res7_1 = ["MV_IN_IBGTW_CommunicationAcceptanceWeb", "MV_IN_IBGTW_CommunicationAcceptanceWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_IN_IBGTW_CommunicationAcceptance_app_options = ["-appname"]
MV_IN_IBGTW_CommunicationAcceptance_app_options.append("MV_IN_IBGTW_CommunicationAcceptance")
MV_IN_IBGTW_CommunicationAcceptance_app_options.append("-MapWebModToVH")
MV_IN_IBGTW_CommunicationAcceptance_app_options.append([MV_IN_IBGTW_CommunicationAcceptance_res7_1])

# MV_IN_IBGTW_ProductCustomerMatching
MV_IN_IBGTW_ProductCustomerMatching_res7_1 = ["MV_IN_IBGTW_ProductCustomerMatchingWeb", "MV_IN_IBGTW_ProductCustomerMatchingWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_IN_IBGTW_ProductCustomerMatching_app_options = ["-appname"]
MV_IN_IBGTW_ProductCustomerMatching_app_options.append("MV_IN_IBGTW_ProductCustomerMatching")
MV_IN_IBGTW_ProductCustomerMatching_app_options.append("-MapWebModToVH")
MV_IN_IBGTW_ProductCustomerMatching_app_options.append([MV_IN_IBGTW_ProductCustomerMatching_res7_1])

# MV_OUT_CBS -
MV_OUT_CBS_res7_1 = ["MV_OUT_CBSWeb", "MV_OUT_CBSWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_CBS_app_options = ["-appname"]
MV_OUT_CBS_app_options.append("MV_OUT_CBS")
MV_OUT_CBS_app_options.append("-MapWebModToVH")
MV_OUT_CBS_app_options.append([MV_OUT_CBS_res7_1])
MV_OUT_CBS_res9_1 = ["MV_OUT_CBSEJB.jar", "Module", "sca/import/Imp_E141_EnqCBSBasicAcDetail", "E141_EnqCBSBasicAcDetail", "", "", "", "", "http://mvsg1.midvision.co.uk:60000/RICCICS/E141/SSPHTPI2", ""]
MV_OUT_CBS_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_CBS_app_options.append([MV_OUT_CBS_res9_1])

# MV_OUT_CIA
MV_OUT_CIA_res7_1 = ["MV_OUT_CIAWeb", "MV_OUT_CIAWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_CIA_app_options = ["-appname"]
MV_OUT_CIA_app_options.append("MV_OUT_CIA")
MV_OUT_CIA_app_options.append("-MapWebModToVH")
MV_OUT_CIA_app_options.append([MV_OUT_CIA_res7_1])
MV_OUT_CIA_res9_1 = ["MV_OUT_CIAEJB.jar", "Module", "sca/import/Imp_Parallel_F139_AddCLPLoanIllustration", "F139_AddCLPLoanIllustration", "", "", "", "", "http://mvsg1.MidVision.co.uk:60288/CICS/F139/VU0015CE", ""]
MV_OUT_CIA_res9_2 = ["MV_OUT_CIAEJB.jar", "Module", "sca/import/Imp_F139_AddCLPLoanIllustration", "F139_AddCLPLoanIllustration", "", "", "", "", "http://mvsg1.MidVision.co.uk:60288/CICS/F139/VU0015CE", ""]
MV_OUT_CIA_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_CIA_app_options.append([MV_OUT_CIA_res9_1, MV_OUT_CIA_res9_2])

# MV_OUT_CINS
MV_OUT_CINS_res7_1 = ["MV_OUT_CINSWeb", "MV_OUT_CINSWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_CINS_app_options = ["-appname"]
MV_OUT_CINS_app_options.append("MV_OUT_CINS")
MV_OUT_CINS_app_options.append("-MapWebModToVH")
MV_OUT_CINS_app_options.append([MV_OUT_CINS_res7_1])
MV_OUT_CINS_res9_1 = ["MV_OUT_CINSEJB.jar", "Module", "sca/import/X758_GetRiskLoanScoresImport", "X758_GetRiskLoanScores", "", "", "", "", "http://mvsg1.MidVision.co.uk:60038/CICS/X758/VU0015CE", ""]
MV_OUT_CINS_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_CINS_app_options.append([MV_OUT_CINS_res9_1])

# MV_OUT_IBGTW_ArrangementSetup
MV_OUT_IBGTW_ArrangementSetup_res7_1 = ["MV_OUT_IBGTW_ArrangementSetupWeb", "MV_OUT_IBGTW_ArrangementSetupWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_IBGTW_ArrangementSetup_app_options = ["-appname"]
MV_OUT_IBGTW_ArrangementSetup_app_options.append("MV_OUT_IBGTW_ArrangementSetup")
MV_OUT_IBGTW_ArrangementSetup_app_options.append("-MapWebModToVH")
MV_OUT_IBGTW_ArrangementSetup_app_options.append([MV_OUT_IBGTW_ArrangementSetup_res7_1])
MV_OUT_IBGTW_ArrangementSetup_res9_1 = ["MV_OUT_IBGTW_ArrangementSetupEJB.jar", "Module", "sca/import/Imp_ArrangementAccountProcessing", "ArrangementAccountProcessingSOAPPort", "", "", "", "", "http://10.162.73.231:22503/ArrangementAccountProcessingService", ""]
MV_OUT_IBGTW_ArrangementSetup_res9_2 = ["MV_OUT_IBGTW_ArrangementSetupEJB.jar", "Module", "sca/import/Imp_ArrangementSetup", "ArrangementSetupSOAPPort", "", "", "", "", "http://10.162.73.231:22503/ArrangementSetupService", ""]
MV_OUT_IBGTW_ArrangementSetup_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_IBGTW_ArrangementSetup_app_options.append([MV_OUT_IBGTW_ArrangementSetup_res9_1, MV_OUT_IBGTW_ArrangementSetup_res9_2])

# MV_OUT_IBGTW_InvolvedPartyAuthorization
MV_OUT_IBGTW_InvolvedPartyAuthorization_res7_1 = ["MV_OUT_IBGTW_InvolvedPartyAuthorizationWeb", "MV_OUT_IBGTW_InvolvedPartyAuthorizationWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options = ["-appname"]
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options.append("MV_OUT_IBGTW_InvolvedPartyAuthorization")
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options.append("-MapWebModToVH")
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options.append([MV_OUT_IBGTW_InvolvedPartyAuthorization_res7_1])
MV_OUT_IBGTW_InvolvedPartyAuthorization_res9_1 = ["MV_OUT_IBGTW_InvolvedPartyAuthorizationEJB.jar", "Module", "sca/import/Imp_InvolvedParty", "InvolvedPartyAuthorisationSOAPPort", "", "", "", "", "http://10.162.73.231:22503/InvolvedPartyAuthorisationService", ""]
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options.append([MV_OUT_IBGTW_InvolvedPartyAuthorization_res9_1])

# MV_OUT_IBGTW_ProductCustomerMatching
MV_OUT_IBGTW_ProductCustomerMatching_res7_1 = ["MV_OUT_IBGTW_ProductCustomerMatchingWeb", "MV_OUT_IBGTW_ProductCustomerMatchingWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_IBGTW_ProductCustomerMatching_app_options = ["-appname"]
MV_OUT_IBGTW_ProductCustomerMatching_app_options.append("MV_OUT_IBGTW_ProductCustomerMatching")
MV_OUT_IBGTW_ProductCustomerMatching_app_options.append("-MapWebModToVH")
MV_OUT_IBGTW_ProductCustomerMatching_app_options.append([MV_OUT_IBGTW_ProductCustomerMatching_res7_1])
MV_OUT_IBGTW_ProductCustomerMatching_res9_1 = ["MV_OUT_IBGTW_ProductCustomerMatchingEJB.jar", "Module", "sca/import/Imp_ProductCustomerMatching", "ProductCustomerMatchingSOAPPort", "", "", "", "", "http://10.162.73.231:22503/ProductCustomerMatchingService", ""]
MV_OUT_IBGTW_ProductCustomerMatching_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_IBGTW_ProductCustomerMatching_app_options.append([MV_OUT_IBGTW_ProductCustomerMatching_res9_1])

# The below module no longer needs to be deployed, the WPS GBO to 'Leads message type' transformation will be done in DP
# MV_OUT_LeadsRepository
# MV_OUT_LeadsRepository_res7_1 = ["MV_OUT_LeadsRepositoryWeb", "MV_OUT_LeadsRepositoryWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
# MV_OUT_LeadsRepository_app_options = ["-appname"]
# MV_OUT_LeadsRepository_app_options.append("MV_OUT_LeadsRepository")
# MV_OUT_LeadsRepository_app_options.append("-MapWebModToVH")
# MV_OUT_LeadsRepository_app_options.append([MV_OUT_LeadsRepository_res7_1])
# MV_OUT_LeadsRepository_res9_1 = ["MV_OUT_LeadsRepositoryEJB.jar", "Module", "sca/import/Imp_X714717_LeadsRepository", "MvService", "", "", "", "", "http://b101s09.test.MidVision.co.uk:30034/LeadWebService/services/MvService", ""]
# MV_OUT_LeadsRepository_app_options.append("-WebServicesClientBindPortInfo")
# MV_OUT_LeadsRepository_app_options.append([MV_OUT_LeadsRepository_res9_1])

# MV_OUT_OCIS
MV_OUT_OCIS_res7_1 = ["MV_OUT_OCISWeb", "MV_OUT_OCISWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_OCIS_app_options = ["-appname"]
MV_OUT_OCIS_app_options.append("MV_OUT_OCIS")
MV_OUT_OCIS_app_options.append("-MapWebModToVH")
MV_OUT_OCIS_app_options.append([MV_OUT_OCIS_res7_1])
MV_OUT_OCIS_res9_1 = ["MV_OUT_OCISEJB.jar", "Module", "sca/import/Imp_F061_EnqPtyDetails", "F061_EnqPtyDetails", "", "", "", "", "http://mvsg1.MidVision.co.uk:60620/CICS/F061/VU0015CE", ""]
MV_OUT_OCIS_app_options.append("-WebServicesClientBindPortInfo")
MV_OUT_OCIS_app_options.append([MV_OUT_OCIS_res9_1])

# MV_OUT_WPSRefDataMarketing
MV_OUT_WPSRefDataMarketing_res7_1 = ["MV_OUT_WPSRefDataMarketingWeb", "MV_OUT_WPSRefDataMarketingWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_WPSRefDataMarketing_app_options = ["-appname"]
MV_OUT_WPSRefDataMarketing_app_options.append("MV_OUT_WPSRefDataMarketing")
MV_OUT_WPSRefDataMarketing_app_options.append("-MapWebModToVH")
MV_OUT_WPSRefDataMarketing_app_options.append([MV_OUT_WPSRefDataMarketing_res7_1])

# MV_OUT_WPSRefDataProduct
MV_OUT_WPSRefDataProduct_res7_1 = ["MV_OUT_WPSRefDataProductWeb", "MV_OUT_WPSRefDataProductWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_WPSRefDataProduct_app_options = ["-appname"]
MV_OUT_WPSRefDataProduct_app_options.append("MV_OUT_WPSRefDataProduct")
MV_OUT_WPSRefDataProduct_app_options.append("-MapWebModToVH")
MV_OUT_WPSRefDataProduct_app_options.append([MV_OUT_WPSRefDataProduct_res7_1])

# MV_OUT_WPSRefData_Instruction
MV_OUT_WPSRefData_Instruction_res7_1 = ["MV_OUT_WPSRefData_InstructionWeb", "MV_OUT_WPSRefData_InstructionWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
MV_OUT_WPSRefData_Instruction_app_options = ["-appname"]
MV_OUT_WPSRefData_Instruction_app_options.append("MV_OUT_WPSRefData_Instruction")
MV_OUT_WPSRefData_Instruction_app_options.append("-MapWebModToVH")
MV_OUT_WPSRefData_Instruction_app_options.append([MV_OUT_WPSRefData_Instruction_res7_1])

# RM_ActivateProductArrangement
RM_ActivateProductArrangement_res7_1 = ["RM_ActivateProductArrangementWeb", "RM_ActivateProductArrangementWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_ActivateProductArrangement_app_options = ["-appname"]
RM_ActivateProductArrangement_app_options.append("RM_ActivateProductArrangement")
RM_ActivateProductArrangement_app_options.append("-MapWebModToVH")
RM_ActivateProductArrangement_app_options.append([RM_ActivateProductArrangement_res7_1])

# RM_DetermineCustomerProductConditions
RM_DetermineCustomerProductConditions_res7_1 = ["RM_DetermineCustomerProductConditionsWeb", "RM_DetermineCustomerProductConditionsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_DetermineCustomerProductConditions_app_options = ["-appname"]
RM_DetermineCustomerProductConditions_app_options.append("RM_DetermineCustomerProductConditions")
RM_DetermineCustomerProductConditions_app_options.append("-MapWebModToVH")
RM_DetermineCustomerProductConditions_app_options.append([RM_DetermineCustomerProductConditions_res7_1])

# RM_DetermineEligibleCustomerInstructions
RM_DetermineEligibleCustomerInstructions_res7_1 = ["RM_DetermineEligibleCustomerInstructionsWeb", "RM_DetermineEligibleCustomerInstructionsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_DetermineEligibleCustomerInstructions_app_options = ["-appname"]
RM_DetermineEligibleCustomerInstructions_app_options.append("RM_DetermineEligibleCustomerInstructions")
RM_DetermineEligibleCustomerInstructions_app_options.append("-MapWebModToVH")
RM_DetermineEligibleCustomerInstructions_app_options.append([RM_DetermineEligibleCustomerInstructions_res7_1])

# RM_DeterminePromotionalCustomerInstructions
RM_DeterminePromotionalCustomerInstructions_res7_1 = ["RM_DeterminePromotionalCustomerInstructionsWeb", "RM_DeterminePromotionalCustomerInstructionsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_DeterminePromotionalCustomerInstructions_app_options = ["-appname"]
RM_DeterminePromotionalCustomerInstructions_app_options.append("RM_DeterminePromotionalCustomerInstructions")
RM_DeterminePromotionalCustomerInstructions_app_options.append("-MapWebModToVH")
RM_DeterminePromotionalCustomerInstructions_app_options.append([RM_DeterminePromotionalCustomerInstructions_res7_1])

# RM_DownsellRules
RM_DownsellRules_res7_1 = ["RM_DownsellRulesWeb", "RM_DownsellRulesWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_DownsellRules_app_options = ["-appname"]
RM_DownsellRules_app_options.append("RM_DownsellRules")
RM_DownsellRules_app_options.append("-MapWebModToVH")
RM_DownsellRules_app_options.append([RM_DownsellRules_res7_1])

# RM_EligibilityRules
RM_EligibilityRules_res7_1 = ["RM_EligibilityRulesWeb", "RM_EligibilityRulesWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_EligibilityRules_app_options = ["-appname"]
RM_EligibilityRules_app_options.append("RM_EligibilityRules")
RM_EligibilityRules_app_options.append("-MapWebModToVH")
RM_EligibilityRules_app_options.append([RM_EligibilityRules_res7_1])

# RM_LoanRules
RM_LoanRules_res7_1 = ["RM_LoanRulesWeb", "RM_LoanRulesWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_LoanRules_app_options = ["-appname"]
RM_LoanRules_app_options.append("RM_LoanRules")
RM_LoanRules_app_options.append("-MapWebModToVH")
RM_LoanRules_app_options.append([RM_LoanRules_res7_1])

# RM_MarketingRules
RM_MarketingRules_res7_1 = ["RM_MarketingRulesWeb", "RM_MarketingRulesWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_MarketingRules_app_options = ["-appname"]
RM_MarketingRules_app_options.append("RM_MarketingRules")
RM_MarketingRules_app_options.append("-MapWebModToVH")
RM_MarketingRules_app_options.append([RM_MarketingRules_res7_1])

# RM_ModifyFinanceServiceArrangement
RM_ModifyFinanceServiceArrangement_res7_1 = ["RM_ModifyFinanceServiceArrangementWeb", "RM_ModifyFinanceServiceArrangementWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_ModifyFinanceServiceArrangement_app_options = ["-appname"]
RM_ModifyFinanceServiceArrangement_app_options.append("RM_ModifyFinanceServiceArrangement")
RM_ModifyFinanceServiceArrangement_app_options.append("-MapWebModToVH")
RM_ModifyFinanceServiceArrangement_app_options.append([RM_ModifyFinanceServiceArrangement_res7_1])

# RM_PrepareFinanceServiceArrangementProposals
RM_PrepareFinanceServiceArrangementProposals_res7_1 = ["RM_PrepareFinanceServiceArrangementProposalsWeb", "RM_PrepareFinanceServiceArrangementProposalsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_PrepareFinanceServiceArrangementProposals_app_options = ["-appname"]
RM_PrepareFinanceServiceArrangementProposals_app_options.append("RM_PrepareFinanceServiceArrangementProposals")
RM_PrepareFinanceServiceArrangementProposals_app_options.append("-MapWebModToVH")
RM_PrepareFinanceServiceArrangementProposals_app_options.append([RM_PrepareFinanceServiceArrangementProposals_res7_1])

# RM_RetrievePromotionalCommunications
RM_RetrievePromotionalCommunications_res7_1 = ["RM_RetrievePromotionalCommunicationsWeb", "RM_RetrievePromotionalCommunicationsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_RetrievePromotionalCommunications_app_options = ["-appname"]
RM_RetrievePromotionalCommunications_app_options.append("RM_RetrievePromotionalCommunications")
RM_RetrievePromotionalCommunications_app_options.append("-MapWebModToVH")
RM_RetrievePromotionalCommunications_app_options.append([RM_RetrievePromotionalCommunications_res7_1])
RM_RetrievePromotionalCommunications_res9_1 = ["RM_RetrievePromotionalCommunicationsEJB.jar", "Module", "sca/import/ID_LeadServiceWeb", "Export1_ID_LeadServiceHttpPort", "", "", "", "", "http://10.162.73.231:22503/RM_LeadServiceWeb/sca/ID_LeadServiceExport1", ""]
RM_RetrievePromotionalCommunications_app_options.append("-WebServicesClientBindPortInfo")
RM_RetrievePromotionalCommunications_app_options.append([RM_RetrievePromotionalCommunications_res9_1])

# RM_VerifyProductArrangementDetails
RM_VerifyProductArrangementDetails_res7_1 = ["RM_VerifyProductArrangementDetailsWeb", "RM_VerifyProductArrangementDetailsWeb.war,WEB-INF/web.xml", "RDServerSysTst04APP"]
RM_VerifyProductArrangementDetails_app_options = ["-appname"]
RM_VerifyProductArrangementDetails_app_options.append("RM_VerifyProductArrangementDetails")
RM_VerifyProductArrangementDetails_app_options.append("-MapWebModToVH")
RM_VerifyProductArrangementDetails_app_options.append([RM_VerifyProductArrangementDetails_res7_1])

#enterpriseApplicationList = [["RM_MarketingRules", RM_MarketingRules_app_options], ["MV_IN_IBGTW_ArrangementSetup", MV_IN_IBGTW_ArrangementSetup_app_options], ["MV_IN_IBGTW_CommunicationAcceptance", MV_IN_IBGTW_CommunicationAcceptance_app_options], ["MV_IN_IBGTW_ProductCustomerMatching", MV_IN_IBGTW_ProductCustomerMatching_app_options], ["MV_OUT_CBS", MV_OUT_CBS_app_options],  ["MV_OUT_CIA", MV_OUT_CIA_app_options],  ["MV_OUT_CINS", MV_OUT_CINS_app_options], ["MV_OUT_IBGTW_ArrangementSetup", MV_OUT_IBGTW_ArrangementSetup_app_options], ["MV_OUT_IBGTW_InvolvedPartyAuthorization", MV_OUT_IBGTW_InvolvedPartyAuthorization_app_options], ["MV_OUT_LeadsRepository", MV_OUT_LeadsRepository_app_options],  ["MV_OUT_OCIS", MV_OUT_OCIS_app_options], ["MV_OUT_WPSRefDataMarketing", MV_OUT_WPSRefDataMarketing_app_options], ["MV_OUT_WPSRefDataProduct", MV_OUT_WPSRefDataProduct_app_options], ["MV_OUT_WPSRefData_Instruction", MV_OUT_WPSRefData_Instruction_app_options], ["RM_ActivateProductArrangement", RM_ActivateProductArrangement_app_options], ["RM_DetermineCustomerProductConditions", RM_DetermineCustomerProductConditions_app_options], ["RM_DetermineEligibleCustomerInstructions", RM_DetermineEligibleCustomerInstructions_app_options], ["RM_DeterminePromotionalCustomerInstructions", RM_DeterminePromotionalCustomerInstructions_app_options], ["RM_DownsellRules", RM_DownsellRules_app_options], ["RM_EligibilityRules", RM_EligibilityRules_app_options], ["RM_LoanRules", RM_LoanRules_app_options], ["RM_ModifyFinanceServiceArrangement", RM_ModifyFinanceServiceArrangement_app_options], ["RM_PrepareFinanceServiceArrangementProposals", RM_PrepareFinanceServiceArrangementProposals_app_options], ["RM_RetrievePromotionalCommunications", RM_RetrievePromotionalCommunications_app_options], ["RM_VerifyProductArrangementDetails", RM_VerifyProductArrangementDetails_app_options]]

enterpriseApplicationList =