Skip to content

Commit

Permalink
jgroups host
Browse files Browse the repository at this point in the history
Signed-off-by: ac892247 <[email protected]>
  • Loading branch information
achmelo committed Sep 2, 2024
1 parent a58f6d4 commit c0c08a5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
10 changes: 9 additions & 1 deletion workflows/files/ZWECONF.properties
Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,20 @@ components_caching_service_storage_vsam_name=
# Port for jgroups. This is required if storage mode is infinispan.
components_caching_service_storage_infinispan_jgroups_port=7600

# components_caching_service_storage_infinispan_jgroups_host
# Label: Caching service storage jgroups host
# Abstract: Host for jgroups
# Category: components
# Description:
# Host for jgroups
components_caching_service_storage_infinispan_jgroups_host=

# components_caching_service_storage_infinispan_jgroups_keyExchange_port
# Label: Caching service storage jgroups key exchange port
# Abstract: Port for jgroups key exchang
# Category: components
# Description:
# Port for jgroups key exchang. This is required if storage mode is infinispan.
# Port for jgroups key exchange. This is required if storage mode is infinispan.
components_caching_service_storage_infinispan_jgroups_keyExchange_port=7601

# components_app_server_enabled
Expand Down
13 changes: 13 additions & 0 deletions workflows/files/ZWECONF.xml
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,17 @@ How we want to verify SSL certificates of services. Valid values are:
<default>7600</default>
</string>
</variable>
<variable name="components_caching_service_storage_infinispan_jgroups_host" scope="instance" visibility="public">
<label>Caching service storage jgroups host</label>
<abstract>Host for jgroups</abstract>
<description>Host for jgroups. Default value is the same as Zowe host and it is used if storage mode is infinispan.</description>
<category>components</category>
<string valueMustBeChoice="false" multiLine="false">
<!-- Put validation here -->
<!-- Specify choices here -->
<default>dvipa.my-company.com</default>
</string>
</variable>
<variable name="components_caching_service_storage_infinispan_jgroups_keyExchange_port" scope="instance" visibility="public">
<label>Caching service storage jgroups keyExchange port</label>
<abstract>Port for jgroups key exchange</abstract>
Expand Down Expand Up @@ -1367,6 +1378,7 @@ How we want to verify SSL certificates of services. Valid values are:
</targetStateSet>
</condition>
<variableValue name="components_caching_service_storage_infinispan_jgroups_port" scope="instance" noPromptIfSet="false" required="false"/>
<variableValue name="components_caching_service_storage_infinispan_jgroups_host" scope="instance" noPromptIfSet="false" required="false"/>
<variableValue name="components_caching_service_storage_infinispan_jgroups_keyExchange_port" scope="instance" noPromptIfSet="false" required="false"/>
<instructions substitution="false">Run this step to specify the variables for the Caching Service</instructions>
<weight>1</weight>
Expand Down Expand Up @@ -2116,6 +2128,7 @@ echo ' # this is required if storage mode is infinispan' >> "${instance-z
echo ' jgroups:' >> "${instance-zowe_runtimeDirectory}/zowe.yaml"
#if (${instance-components_caching_service_storage_mode} == "infinispan" )
echo ' port: ${instance-components_caching_service_storage_infinispan_jgroups_port}' >> "${instance-zowe_runtimeDirectory}/zowe.yaml"
echo ' host: ${instance-components_caching_service_storage_infinispan_jgroups_host}' >> "${instance-zowe_runtimeDirectory}/zowe.yaml"
echo ' keyExchange: ' >> "${instance-zowe_runtimeDirectory}/zowe.yaml"
echo ' port: ${instance-components_caching_service_storage_infinispan_jgroups_keyExchange_port}' >> "${instance-zowe_runtimeDirectory}/zowe.yaml"
#else
Expand Down

0 comments on commit c0c08a5

Please sign in to comment.