Skip to content

Commit 4f297cf

Browse files
authored
Merge pull request #22 from galiacheng/t3tunneling
WLS on AKS: Support T3 tunneling
2 parents 3ef4831 + 983a16b commit 4f297cf

25 files changed

+2055
-1124
lines changed

weblogic-azure-aks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.oracle.weblogic.azure</groupId>
1313
<artifactId>wls-on-aks-azure-marketplace</artifactId>
14-
<version>1.0.16</version>
14+
<version>1.0.17</version>
1515

1616
<parent>
1717
<groupId>com.microsoft.azure.iaas</groupId>

weblogic-azure-aks/src/main/arm/createUiDefinition.json

Lines changed: 208 additions & 118 deletions
Large diffs are not rendered by default.

weblogic-azure-aks/src/main/arm/scripts/buildWLSDockerImage.sh

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function read_sensitive_parameters_from_stdin() {
1515

1616
#Function to display usage message
1717
function usage() {
18-
echo "<azureACRPassword> <ocrSSOPSW> ./buildWLSDockerImage.sh ./buildWLSDockerImage.sh <wlsImagePath> <azureACRServer> <azureACRUserName> <imageTag> <appPackageUrls> <ocrSSOUser> <wlsClusterSize> <enableSSL>"
18+
echo "<azureACRPassword> <ocrSSOPSW> ./buildWLSDockerImage.sh ./buildWLSDockerImage.sh <wlsImagePath> <azureACRServer> <azureACRUserName> <imageTag> <appPackageUrls> <ocrSSOUser> <wlsClusterSize> <enableSSL> <enableAdminT3Tunneling> <enableClusterT3Tunneling>"
1919
if [ $1 -eq 1 ]; then
2020
exit 1
2121
fi
@@ -80,6 +80,16 @@ function validate_inputs() {
8080
echo_stderr "enableSSL is required. "
8181
usage 1
8282
fi
83+
84+
if [ -z "$enableAdminT3Tunneling" ]; then
85+
echo_stderr "enableAdminT3Tunneling is required. "
86+
usage 1
87+
fi
88+
89+
if [ -z "$enableClusterT3Tunneling" ]; then
90+
echo_stderr "enableClusterT3Tunneling is required. "
91+
usage 1
92+
fi
8393
}
8494

8595
function initialize() {
@@ -179,7 +189,9 @@ EOF
179189
bash $scriptDir/genImageModel.sh \
180190
${modelFilePath} \
181191
${appPackageUrls} \
182-
${enableSSL}
192+
${enableSSL} \
193+
${enableAdminT3Tunneling} \
194+
${enableClusterT3Tunneling}
183195
validate_status "Generate image model file."
184196
}
185197

@@ -236,11 +248,13 @@ export appPackageUrls=$5
236248
export ocrSSOUser=$6
237249
export wlsClusterSize=$7
238250
export enableSSL=$8
251+
export enableAdminT3Tunneling=$9
252+
export enableClusterT3Tunneling=${10}
239253

240254
export acrImagePath="$azureACRServer/aks-wls-images:${imageTag}"
241255
export ocrLoginServer="container-registry.oracle.com"
242-
export wdtDownloadURL="https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-1.9.14/weblogic-deploy.zip"
243-
export witDownloadURL="https://github.com/oracle/weblogic-image-tool/releases/download/release-1.9.12/imagetool.zip"
256+
export wdtDownloadURL="https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-1.9.17/weblogic-deploy.zip"
257+
export witDownloadURL="https://github.com/oracle/weblogic-image-tool/releases/download/release-1.9.16/imagetool.zip"
244258
export wlsPostgresqlDriverUrl="https://jdbc.postgresql.org/download/postgresql-42.2.8.jar"
245259
export wlsMSSQLDriverUrl="https://repo.maven.apache.org/maven2/com/microsoft/sqlserver/mssql-jdbc/7.4.1.jre8/mssql-jdbc-7.4.1.jre8.jar"
246260

weblogic-azure-aks/src/main/arm/scripts/common.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ export checkPodStatusInterval=20 # interval of checking pod status.
22
export checkPodStatusMaxAttemps=30 # max attempt to check pod status.
33
export checkPVStateInterval=5 # interval of checking pvc status.
44
export checkPVStateMaxAttempt=10 # max attempt to check pvc status.
5+
export checkSVCStateMaxAttempt=10
6+
export checkSVCInterval=30 #seconds
57

8+
export constAdminT3AddressEnvName="T3_TUNNELING_ADMIN_ADDRESS"
9+
export constAdminServerName='admin-server'
10+
export constClusterName='cluster-1'
11+
export constClusterT3AddressEnvName="T3_TUNNELING_CLUSTER_ADDRESS"
612
export constFalse="false"
713
export constTrue="true"
814

0 commit comments

Comments
 (0)