Skip to content

Commit 6fc3c67

Browse files
galiachengedburns
andauthored
Support re-deployment in the same resource group and remove external key vault integration for admin offer (#340)
* update API version of Microsoft.Storage/storageAccounts. * remove external key vault integration. * remove external key vault support. * Unreferenced variable: const_currentSubscription. * fix json syntax * parameterize location in integration test. * rename the postgresql firewall rule. * debug pipeline. * add global unique suffix to resource name. * remove aad and elk related scripts. * remove elk from admin integration pipeline. * output admin vm name. * query admin vm name after deployment in the admin integration pipeline. * Unreferenced parameter: _globalResourceNameSuffix Line: 18, Column: 10 * remove aad parameter from the test scripts. * parameterize file share name. * define nsg name in the main template. * generate unique vnet default name. * query nsg name dynamically. * output admin vm name as env variables. * use `az vm run-command create` to execute test script. * no need to verify WLS installation, this is done while buiding base image. * use `az vm run-command invoke` to run test script. * verify-wls-path.sh has been removed. * fix pipeline error "Error: Process completed with exit code 1." * upgrade db driver version. * fix db connection string joiner. * update the script for new azure-identity-extension. * add step to query public IP of AdminServer VM in workflow. * bump version of arm-oraclelinux-wls-admin to 1.0.56 * add network security group configuration step to workflow * update connection string joiner to use variables instead of parameters * deploy db in the main deployment. * remove post deployment - db. * use unique vnet default name. * revert debug settings. * add array_paramJoiner for database connection string formatting. --------- Co-authored-by: Ed Burns <[email protected]>
1 parent edb156d commit 6fc3c67

31 files changed

+263
-3137
lines changed

.github/actions/createPostgresqlFlexibleServer/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ runs:
5757
az postgres flexible-server firewall-rule create \
5858
-g ${{ inputs.resourceGroupName }} \
5959
-n ${{ inputs.dbName }} \
60-
-r "AllowAllWindowsAzureIps" \
60+
-r "AllowAllAzureServices" \
6161
--start-ip-address "0.0.0.0" \
6262
--end-ip-address "0.0.0.0"

.github/workflows/testWlsVmAdmin.yml

Lines changed: 83 additions & 202 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<version.wls-on-aks-azure-marketplace>1.0.87</version.wls-on-aks-azure-marketplace>
4444
<!-- weblogic azure vm versions -->
4545
<version.arm-oraclelinux-wls>1.0.31</version.arm-oraclelinux-wls>
46-
<version.arm-oraclelinux-wls-admin>1.0.55</version.arm-oraclelinux-wls-admin>
46+
<version.arm-oraclelinux-wls-admin>1.0.56</version.arm-oraclelinux-wls-admin>
4747
<version.arm-oraclelinux-wls-cluster>1.0.710000</version.arm-oraclelinux-wls-cluster>
4848
<version.arm-oraclelinux-wls-dynamic-cluster>1.0.53</version.arm-oraclelinux-wls-dynamic-cluster>
4949
<!-- node versions -->

weblogic-azure-aks/src/main/resources/azure-identity-extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.azure</groupId>
1717
<artifactId>azure-identity-extensions</artifactId>
18-
<version>1.0.0</version>
18+
<version>1.2.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- mvn dependency:copy-dependencies -f azure-identity-provider-jdbc-mysql.xml -->
33
<project xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
56
<modelVersion>4.0.0</modelVersion>
67
<groupId>com.oracle.weblogic.azure</groupId>
78
<artifactId>mysql-driver</artifactId>
@@ -12,11 +13,12 @@
1213
<maven.compiler.target>11</maven.compiler.target>
1314
</properties>
1415
<dependencies>
15-
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
16+
<!-- https://mvnrepository.com/artifact/com.mysql/mysql-connector-j -->
1617
<dependency>
17-
<groupId>mysql</groupId>
18-
<artifactId>mysql-connector-java</artifactId>
19-
<version>8.0.31</version>
18+
<groupId>com.mysql</groupId>
19+
<artifactId>mysql-connector-j</artifactId>
20+
<version>9.2.0</version>
2021
</dependency>
22+
2123
</dependencies>
2224
</project>

weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/admindeploy.parameters.json

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
33
"contentVersion": "1.0.0.0",
44
"parameters": {
5-
"aadsPortNumber": {
6-
"value": "GEN-UNIQUE"
7-
},
8-
"aadsPublicIP": {
9-
"value": "GEN-UNIQUE"
10-
},
11-
"aadsServerHost": {
12-
"value": "GEN-UNIQUE"
13-
},
145
"adminPasswordOrKey": {
156
"value": "GEN-SSH-PUB-KEY"
167
},
@@ -38,9 +29,6 @@
3829
"dsUser": {
3930
"value": "GEN-UNIQUE"
4031
},
41-
"enableAAD": {
42-
"value": "GEN-UNIQUE"
43-
},
4432
"enableDB": {
4533
"value": "GEN-UNIQUE"
4634
},
@@ -53,24 +41,6 @@
5341
"wlsDomainName": {
5442
"value": "GEN-UNIQUE"
5543
},
56-
"wlsLDAPProviderName": {
57-
"value": "GEN-UNIQUE"
58-
},
59-
"wlsLDAPPrincipal": {
60-
"value": "GEN-UNIQUE"
61-
},
62-
"wlsLDAPPrincipalPassword": {
63-
"value": "GEN-UNIQUE"
64-
},
65-
"wlsLDAPUserBaseDN": {
66-
"value": "GEN-UNIQUE"
67-
},
68-
"wlsLDAPGroupBaseDN": {
69-
"value": "GEN-UNIQUE"
70-
},
71-
"wlsLDAPSSLCertificate": {
72-
"value": "GEN-UNIQUE"
73-
},
7444
"wlsPassword": {
7545
"value": "GEN-PASSWORD"
7646
},

weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/createUiDefinition.json

Lines changed: 3 additions & 240 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)