Skip to content

Commit

Permalink
Release v1.36.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-Fluent committed Sep 28, 2020
1 parent a35b040 commit 65ee06d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.30.0</version>
<version>1.36.3</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.microsoft.azure.management.Azure;
import com.microsoft.azure.management.appservice.ConnectionStringType;
import com.microsoft.azure.management.appservice.PricingTier;
import com.microsoft.azure.management.appservice.RuntimeStack;
import com.microsoft.azure.management.appservice.WebApp;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.utils.SdkContext;
Expand Down Expand Up @@ -95,11 +96,9 @@ public static boolean runSample(Azure azure) {
.withRegion(Region.US_WEST)
.withExistingResourceGroup(rgName)
.withNewLinuxPlan(PricingTier.STANDARD_S1)
.withPublicDockerHubImage("tomcat:8-jre8")
.withStartUpCommand("/bin/bash -c \"sed -ie 's/appBase=\\\"webapps\\\"/appBase=\\\"\\\\/home\\\\/site\\\\/wwwroot\\\\/webapps\\\"/g' conf/server.xml && catalina.sh run\"")
.withBuiltInImage(RuntimeStack.TOMCAT_8_5_JRE8)
.withConnectionString("storage.connectionString", connectionString, ConnectionStringType.CUSTOM)
.withAppSetting("storage.containerName", containerName)
.withAppSetting("PORT", "8080")
.create();

System.out.println("Created web app " + app1.name());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ public static void createCertificate(String certPath, String pfxPath,
"-keystore", pfxPath, "-storepass", password, "-validity",
validityInDays, "-keyalg", keyAlg, "-sigalg", sigAlg, "-keysize", keySize,
"-storetype", storeType, "-dname", "CN=" + cnName, "-ext", "EKU=1.3.6.1.5.5.7.3.1"};
Utils.cmdInvocation(commandArgs, false);
Utils.cmdInvocation(commandArgs, true);

// Create cer file i.e. extract public key from pfx
File pfxFile = new File(pfxPath);
Expand Down

0 comments on commit 65ee06d

Please sign in to comment.