hi.
I am using CC 9.10 composite templates. I have been able to get the is-layer template working to install an IS.
I can also get the template to include a ‘default’ instance. All good to this point.
However I need to spin up a default instance that has Deployer and jdbcAdapter included.
If I add these items into my template, they are only installed in the root packages directory (eg IntegrationServer\packages) , not in the instance directory (eg IntegrationServer\instances\default\packages).
Here is an example of the ‘template’ section for IS in my composite template:
is: # template for IS
licenses:
"IntegrationServer/config/licenseKey.xml": ${is.license.key.alias}
"common/conf/terracotta-license.key": ${tc.license.key.alias}
fixes: ${is.fixes}
products:
Deployer:
jdbcAdapter:
integrationServer: # IS productId
${is.instance.name}: ### instance name
package.list: WmDeployer, WmJDBCAdapter,WmNUMDeployer
primary.port: ${is.primary.port} ###
diagnostic.port: ${is.diagnostic.port} ###
jmx.port: ${is.jmx.port} ###
license.file: IntegrationServer/config/licenseKey.xml
install.service: true
db.type: ${db.type}
db.url: ${db.url}
db.username: ${db.username}
db.password: ${db.password}
db.alias: Default
configuration: ### CONFIGURATION definition
OSGI-IS_${instance.name}: # runtimeComponentId
COMMON-MEMORY: # configurationTypeId
COMMON-MEMORY: # configurationInstanceId
InitSize: ${is.memory.init} # configuration data
MaxSize: ${is.memory.max}
integrationServer-${instance.name}: # runtimeComponentId
COMMON-WMMESSAGING: # configurationTypeId
COMMON-WMMESSAGING-IS_UM_CONNECTION: # configurationInstanceId
Messaging: # configuration data
"@alias": IS_UM_CONNECTION
Description: Default UM connection"
ClientPrefix: "IS_UM"
ShareClientPrefix: "false"
Enabled: true
Provider:
"@type": UM
URL: "${is.um.url}"
MaxRetryAttempts: 5
RetryInterval: 30000
COMMON-JNDI:
COMMON-JNDI-DEFAULT_IS_JNDI_PROVIDER: |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<JNDISettings>
<JNDI alias="DEFAULT_IS_JNDI_PROVIDER">
<Description>Default UM JNDI</Description>
<Provider>
<URL>${is.um.url}</URL>
<InitialContextFactory>com.pcbsys.nirvana.nSpace.NirvanaContextFactory</InitialContextFactory>
<User></User>
</Provider>
</JNDI>
</JNDISettings>
Also, how does one find out what options are available in this template eg package.list
Thanks,
Steve