Skip to content

Commit 59feab9

Browse files
committed
update db user name for flexible server.
1 parent eb962cd commit 59feab9

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.github/workflows/testWlsVmAdmin.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ jobs:
414414
<<< "${{ env.adminOfferPath }}/test/scripts/ \
415415
${{ env.adminVMName }} \
416416
${{ env.wlsPassword}} \
417+
${{ env.dbAdminUser }} \
417418
${{ env.dbName }} \
418419
${{ env.location }} \
419420
${{ env.wlsUserName }} \

.github/workflows/testWlsVmCluster.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ jobs:
478478
<<< "${{ env.offerPath }}/test/scripts/ \
479479
${{ env.adminVMName }} \
480480
${{ env.wlsPassword}} \
481+
${{ env.dbAdminUser }} \
481482
${{ env.dbName }} \
482483
${{ env.location }} \
483484
${{ env.wlsUserName }} \

.github/workflows/testWlsVmDynamicCluster.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ jobs:
457457
"${offerPath}/test/scripts/ \
458458
${{ env.adminVMName }} \
459459
${{ env.wlsPassword}} \
460+
${{ env.dbAdminUser }} \
460461
${{ env.dbName }} \
461462
${{ env.location }} \
462463
${{ env.wlsUserName }} \

weblogic-azure-vm/arm-oraclelinux-wls-admin/test/scripts/gen-parameters-deploy-db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#Generate parameters with value for deploying db template independently
66

77
#read arguments from stdin
8-
read parametersPath adminVMName dbPassword dbName location wlsusername wlspassword repoPath testbranchName
8+
read parametersPath adminVMName dbPassword dbAdminUser dbName location wlsusername wlspassword repoPath testbranchName
99

1010
cat <<EOF > ${parametersPath}/parameters-deploy-db.json
1111
{
@@ -19,7 +19,7 @@ cat <<EOF > ${parametersPath}/parameters-deploy-db.json
1919
"value": "${dbPassword}"
2020
},
2121
"dbUser": {
22-
"value": "weblogic@${dbName}"
22+
"value": "${dbAdminUser}"
2323
},
2424
"dsConnectionURL": {
2525
"value": "jdbc:postgresql://${dbName}.postgres.database.azure.com:5432/postgres?sslmode=require"

weblogic-azure-vm/arm-oraclelinux-wls-cluster/test/scripts/gen-parameters-deploy-db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Generate parameters with value for deploying db template independently
77

88
#read arguments from stdin
9-
read parametersPath adminVMName dbPassword dbName location wlsusername wlspassword repoPath testbranchName
9+
read parametersPath adminVMName dbPassword dbAdminUser dbName location wlsusername wlspassword repoPath testbranchName
1010

1111
cat <<EOF > ${parametersPath}/parameters-deploy-db.json
1212
{
@@ -20,7 +20,7 @@ cat <<EOF > ${parametersPath}/parameters-deploy-db.json
2020
"value": "${dbPassword}"
2121
},
2222
"dbUser": {
23-
"value": "weblogic@${dbName}"
23+
"value": "${dbAdminUser}"
2424
},
2525
"dsConnectionURL": {
2626
"value": "jdbc:postgresql://${dbName}.postgres.database.azure.com:5432/postgres?sslmode=require"

weblogic-azure-vm/arm-oraclelinux-wls-dynamic-cluster/test/scripts/gen-parameters-deploy-db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
#Generate parameters with value for deploying db template independently
66

7-
read parametersPath adminVMName dbPassword dbName location wlsusername wlspassword repoPath testbranchName
7+
read parametersPath adminVMName dbPassword dbAdminUser dbName location wlsusername wlspassword repoPath testbranchName
88

99
cat <<EOF > ${parametersPath}/parameters-deploy-db.json
1010
{
@@ -18,7 +18,7 @@ cat <<EOF > ${parametersPath}/parameters-deploy-db.json
1818
"value": "${dbPassword}"
1919
},
2020
"dbUser": {
21-
"value": "weblogic@${dbName}"
21+
"value": "${dbAdminUser}"
2222
},
2323
"dsConnectionURL": {
2424
"value": "jdbc:postgresql://${dbName}.postgres.database.azure.com:5432/postgres?sslmode=require"

0 commit comments

Comments
 (0)