Skip to content

Commit 5425c38

Browse files
SummerEskibear
authored andcommitted
Hide the deployment slots node until the operations are ready (#2062)
* Hide the deployment slots node until the operations are ready * Update release notes
1 parent ef2a406 commit 5425c38

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/resources/META-INF/plugin.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<h4>Added</h4>
2424
<ul>
2525
<li>Support to deploy applications to Web App (Linux).</li>
26-
<li>Support to show all the deployment slots for a Web App.</li>
2726
<li>Support to show the Azure Data Lake Spark resource pool provision log outputs.</li>
2827
</ul>
2928
<h4>Changed</h4>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void renderChildren(@NotNull final List<ResourceEx<WebApp>> resourceExes)
114114
});
115115

116116
addChildNode(node);
117-
node.refreshItems();
117+
// node.refreshItems();
118118
}
119119
}
120120
}

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
import com.microsoft.azure.management.appservice.OperatingSystem;
2626
import com.microsoft.azuretools.azurecommons.helpers.NotNull;
27+
import com.microsoft.tooling.msservices.serviceexplorer.Node;
2728
import com.microsoft.tooling.msservices.serviceexplorer.RefreshableNode;
2829
import com.microsoft.tooling.msservices.serviceexplorer.azure.webapp.deploymentslot.DeploymentSlotModule;
2930
import java.io.IOException;
@@ -40,7 +41,7 @@
4041
import com.microsoft.tooling.msservices.serviceexplorer.NodeActionListener;
4142
import com.microsoft.tooling.msservices.serviceexplorer.azure.AzureNodeActionPromptListener;
4243

43-
public class WebAppNode extends RefreshableNode implements TelemetryProperties, WebAppNodeView {
44+
public class WebAppNode extends Node implements TelemetryProperties, WebAppNodeView {
4445
private static final String ACTION_START = "Start";
4546
private static final String ACTION_STOP = "Stop";
4647
private static final String ACTION_DELETE = "Delete";
@@ -99,10 +100,11 @@ public List<NodeAction> getNodeActions() {
99100
return super.getNodeActions();
100101
}
101102

102-
@Override
103-
protected void refreshItems() {
104-
webAppNodePresenter.onNodeRefresh();
105-
}
103+
// disable deployment slots sub module
104+
// @Override
105+
// protected void refreshItems() {
106+
// webAppNodePresenter.onNodeRefresh();
107+
// }
106108

107109
@Override
108110
public void renderSubModules() {

0 commit comments

Comments
 (0)