Skip to content

Commit 752a252

Browse files
committed
Migrate to https for app service url
1 parent 9a03d6e commit 752a252

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/webapp/WebAppBasePropertyView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ public void showProperty(WebAppProperty webAppProperty) {
311311
if (url == null) {
312312
lnkUrl.setHyperlinkText(TXT_NA);
313313
} else {
314-
lnkUrl.setHyperlinkText("http://" + url);
315-
lnkUrl.setHyperlinkTarget("http://" + url);
314+
lnkUrl.setHyperlinkText("https://" + url);
315+
lnkUrl.setHyperlinkTarget("https://" + url);
316316
}
317317
txtPricingTier.setText(webAppProperty.getValue(WebAppPropertyViewPresenter.KEY_PRICING) == null ? TXT_NA
318318
: (String) webAppProperty.getValue(WebAppPropertyViewPresenter.KEY_PRICING));

PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/webapp/docker/webapponlinux/WebAppOnLinuxDeployState.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public IAppService executeSteps(@NotNull RunProcessHandler processHandler, @NotN
9393
processHandler.setText(String.format("Creating new WebApp ... [%s]", deployModel.getWebAppName()));
9494
final IWebApp app = AzureWebAppMvpModel.getInstance().createAzureWebAppWithPrivateRegistryImage(deployModel);
9595
if (app != null && app.name() != null) {
96-
processHandler.setText(String.format("URL: http://%s.azurewebsites.net/", app.name()));
96+
processHandler.setText(String.format("URL: https://%s.azurewebsites.net/", app.name()));
9797
updateConfigurationDataModel(app);
9898

9999
AzureUIRefreshCore.execute(new AzureUIRefreshEvent(AzureUIRefreshEvent.EventType.REFRESH, null));
@@ -105,7 +105,7 @@ public IAppService executeSteps(@NotNull RunProcessHandler processHandler, @NotN
105105
deployModel.getWebAppName()));
106106
final IWebApp app = AzureWebAppMvpModel.getInstance().updateWebAppOnDocker(deployModel.getWebAppId(), acrInfo);
107107
if (app != null && app.name() != null) {
108-
processHandler.setText(String.format("URL: http://%s.azurewebsites.net/", app.name()));
108+
processHandler.setText(String.format("URL: https://%s.azurewebsites.net/", app.name()));
109109
}
110110
return app;
111111
}

Utils/azure-explorer-common/src/com/microsoft/tooling/msservices/serviceexplorer/azure/webapp/WebAppNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void openInPortal() {
146146

147147
@AzureOperation(name = "webapp.open_browser", params = {"this.webApp.name()"}, type = AzureOperation.Type.ACTION)
148148
private void openInBrowser() {
149-
DefaultLoader.getUIHelper().openInBrowser("http://" + this.webApp.hostName());
149+
DefaultLoader.getUIHelper().openInBrowser("https://" + this.webApp.hostName());
150150
}
151151

152152
@AzureOperation(name = "webapp.show_properties", params = {"this.webApp.name()"}, type = AzureOperation.Type.ACTION)

Utils/azure-explorer-common/src/com/microsoft/tooling/msservices/serviceexplorer/azure/webapp/deploymentslot/DeploymentSlotNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private void openInPortal() {
134134

135135
@AzureOperation(name = "webapp|deployment.open_browser", params = {"this.slot.name()", "this.webApp.name()"}, type = AzureOperation.Type.ACTION)
136136
private void openInBrowser() {
137-
DefaultLoader.getUIHelper().openInBrowser("http://" + slot.hostName());
137+
DefaultLoader.getUIHelper().openInBrowser("https://" + slot.hostName());
138138
}
139139

140140
@AzureOperation(name = "webapp|deployment.show_properties", params = {"this.slot.name()", "this.webApp.name()"}, type = AzureOperation.Type.ACTION)

0 commit comments

Comments
 (0)