Skip to content

Commit d0c7c1a

Browse files
committed
Revise to versions IntelliJ 2020.1 and toolkit 3.35
1 parent a39716f commit d0c7c1a

File tree

9 files changed

+25
-17
lines changed

9 files changed

+25
-17
lines changed
229 KB
Loading
5.19 KB
Loading
-45.4 KB
Loading
70.8 KB
Loading
83.5 KB
Loading
9.43 KB
Loading
390 KB
Loading
133 KB
Loading

articles/spring-cloud/spring-cloud-tutorial-intellij-deploy-apps.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,17 @@ You can Azure Toolkit for IntelliJ IDEA 3.35.0 from the IntelliJ **Plugins** UI.
2323

2424
![Select Configure](media/spring-cloud-intellij-howto/configure-plugin-1.png)
2525

26-
1. Search for Azure Toolkit for IntelliJ. Click **Install**, then **OK**.
26+
1. Search for Azure Toolkit for IntelliJ. Click **Install**.
2727

2828
![Install plugin](media/spring-cloud-intellij-howto/install-plugin.png)
2929

30-
1. Click **Restart IDE** to restart IntellJ.
30+
1. Click **Restart IDE**.
3131

3232
## Tutorial procedures
3333
The following procedures deploy a Hello World application using the IntelliJ IDEA.
3434

3535
* Open gs-spring-boot project
3636
* Deploy to Azure Spring Cloud
37-
* Open Azure Spring Cloud app in Azure Explorer
38-
* Navigate in browser
39-
* Add Azure specific dependencies
4037
* Show streaming logs
4138

4239
## Open gs-spring-boot project
@@ -48,11 +45,6 @@ The following procedures deploy a Hello World application using the IntelliJ IDE
4845

4946
![Import Project](media/spring-cloud-intellij-howto/import-project-1.png)
5047

51-
1. Choose **Maven** as the importer.
52-
1. Proceed with default settings, and then wait for IntelliJ to download dependencies.
53-
54-
![Import Project with Maven](media/spring-cloud-intellij-howto/import-project-2.png)
55-
5648
## Deploy to Azure Spring Cloud
5749
In order to deploy to Azure you must sign-in with your Azure account, and choose your subscription. For sign-in details, see [Installation and sign-in](https://docs.microsoft.com/azure/java/intellij/azure-toolkit-for-intellij-create-hello-world-web-app#installation-and-sign-in).
5850

@@ -62,25 +54,41 @@ In order to deploy to Azure you must sign-in with your Azure account, and choose
6254

6355
1. Accept the name for app in the **Name** field. **Name** refers to the configuration, not app name. Users don't usually need to change it.
6456
1. Accept the identifier from the project for the **Artifact**.
65-
1. Click **No available webapp, click to create a new one**. (You can also deploy an existing application.)
57+
1. Select **App:**, then click **Create app...**.
6658

6759
![Deploy to Azure 2](media/spring-cloud-intellij-howto/deploy-to-azure-2.png)
6860

69-
1. Select **Platform**, **Resource Group**, **App Service Plan**, **Location**, and **Pricing Tier**.
70-
1. Click **OK**.
61+
1. Enter **App name**, then click **OK**.
7162

72-
![Deploy to Azure 2](media/spring-cloud-intellij-howto/deploy-to-azure-2a.png)
63+
![Deploy to Azure OK](media/spring-cloud-intellij-howto/deploy-to-azure-2a.png)
7364

74-
1. Start the deployment by clicking **Run** button. The plug-in will run the command `mvn package` on the project and then create the new app and deploy the jar generated by the `package` command.
65+
1. Start the deployment by clicking **Run** button.
7566

7667
![Deploy to Azure 3](media/spring-cloud-intellij-howto/deploy-to-azure-3.png)
7768

78-
1. The app will be accessible from the URL in the output window.
69+
1. The plug-in will run the command `mvn package` on the project and then create the new app and deploy the jar generated by the `package` command.
7970

8071
![Navigate in Browser 2](media/spring-cloud-intellij-howto/navigate-in-browser-2.png)
8172

73+
1. If the app URL is not shown in the output window, get it from the Azure portal. Navigate from your resource group to the instance of Azure Spring Cloud. Then click **Apps**. The running app will be listed.
74+
75+
![Get test URL](media/spring-cloud-intellij-howto/get-test-url.png)
76+
8277
## Show streaming logs
83-
TODO
78+
To get the logs:
79+
1. Select **Azure Explorer**, then **Spring Cloud**.
80+
1. Right click the running app.
81+
1. Select **Streaming Logs** from the drop-down list.
82+
83+
![Select streaming logs](media/spring-cloud-intellij-howto/streaming-logs.png)
84+
85+
1. Select instance.
86+
87+
![Select instance](media/spring-cloud-intellij-howto/select-instance.png)
88+
89+
1. The streaming log will be visible in the output window.
90+
91+
![Streaming log output](media/spring-cloud-intellij-howto/streaming-log-output.png)
8492

8593
## See also
8694
* [Create a Hello World web app for Azure App Service using IntelliJ](https://docs.microsoft.com/azure/java/intellij/azure-toolkit-for-intellij-create-hello-world-web-app)

0 commit comments

Comments
 (0)