Skip to content

Commit d35f2bf

Browse files
committed
changes for 1.1.0
1 parent f37f00f commit d35f2bf

File tree

6 files changed

+713
-369
lines changed

6 files changed

+713
-369
lines changed

Diff for: .gitignore

+40-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
*.class
22

3+
# Auth filed
4+
*.auth
5+
*.azureauth
6+
37
# Mobile Tools for Java (J2ME)
48
.mtj.tmp/
59

@@ -8,5 +12,39 @@
812
*.war
913
*.ear
1014

11-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
12-
hs_err_pid*
15+
# Azure Tooling #
16+
node_modules
17+
packages
18+
19+
# Eclipse #
20+
*.pydevproject
21+
.project
22+
.metadata
23+
bin/**
24+
tmp/**
25+
tmp/**/*
26+
*.tmp
27+
*.bak
28+
*.swp
29+
*~.nib
30+
local.properties
31+
.classpath
32+
.settings/
33+
.loadpath
34+
35+
# Other Tooling #
36+
.classpath
37+
.project
38+
target/
39+
.idea
40+
*.iml
41+
42+
# Mac OS #
43+
.DS_Store
44+
.DS_Store?
45+
46+
# Windows #
47+
Thumbs.db
48+
49+
# reduced pom files should not be included
50+
dependency-reduced-pom.xml

Diff for: README.md

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
---
2-
services: Appservice
3-
platforms: java
4-
author: jianghaolu
5-
---
6-
7-
#Getting Started with Appservice - Manage Linux Web App Basic - in Java #
8-
9-
10-
Azure App Service basic sample for managing web apps.
11-
- Create 3 linux web apps under the same new app service plan:
12-
- 1, 2 are in the same resource group, 3 in a different one
13-
- Stop and start 1, restart 2
14-
- Add Java support to app 3
15-
- List web apps
16-
- Delete a web app
17-
18-
19-
## Running this Sample ##
20-
21-
To run this sample:
22-
23-
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-sdk-for-java/blob/master/AUTH.md).
24-
25-
git clone https://github.com/Azure-Samples/app-service-java-manage-web-apps-on-linux.git
26-
27-
cd app-service-java-manage-web-apps-on-linux
28-
29-
mvn clean compile exec:java
30-
31-
## More information ##
32-
33-
[http://azure.com/java] (http://azure.com/java)
34-
35-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
36-
37-
---
38-
1+
---
2+
services: Appservice
3+
platforms: java
4+
author: jianghaolu
5+
---
6+
7+
#Getting Started with Appservice - Manage Linux Web App Basic - in Java #
8+
9+
10+
Azure App Service basic sample for managing web apps.
11+
- Create 3 linux web apps under the same new app service plan:
12+
- 1, 2 are in the same resource group, 3 in a different one
13+
- Stop and start 1, restart 2
14+
- Add Java support to app 3
15+
- List web apps
16+
- Delete a web app
17+
18+
19+
## Running this Sample ##
20+
21+
To run this sample:
22+
23+
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-sdk-for-java/blob/master/AUTH.md).
24+
25+
git clone https://github.com/Azure-Samples/app-service-java-manage-web-apps-on-linux.git
26+
27+
cd app-service-java-manage-web-apps-on-linux
28+
29+
mvn clean compile exec:java
30+
31+
## More information ##
32+
33+
[http://azure.com/java] (http://azure.com/java)
34+
35+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
36+
37+
---
38+
3939
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>com.microsoft.azure</groupId>
5555
<artifactId>azure</artifactId>
56-
<version>1.0.0</version>
56+
<version>1.1.0</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>commons-net</groupId>

Diff for: src/main/java/com/microsoft/azure/management/appservice/samples/ManageLinuxWebAppBasic.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static boolean runSample(Azure azure) {
5757
.withRegion(Region.US_WEST)
5858
.withNewResourceGroup(rg1Name)
5959
.withNewLinuxPlan(PricingTier.STANDARD_S1)
60-
.withBuiltInImage(RuntimeStack.NODEJS_6_9_3)
60+
.withBuiltInImage(RuntimeStack.NODEJS_6_9)
6161
.create();
6262

6363
System.out.println("Created web app " + app1.name());
@@ -72,7 +72,7 @@ public static boolean runSample(Azure azure) {
7272
.define(app2Name)
7373
.withExistingLinuxPlan(plan)
7474
.withExistingResourceGroup(rg1Name)
75-
.withBuiltInImage(RuntimeStack.NODEJS_6_9_3)
75+
.withBuiltInImage(RuntimeStack.NODEJS_6_9)
7676
.create();
7777

7878
System.out.println("Created web app " + app2.name());
@@ -87,7 +87,7 @@ public static boolean runSample(Azure azure) {
8787
.define(app3Name)
8888
.withExistingLinuxPlan(plan)
8989
.withNewResourceGroup(rg2Name)
90-
.withBuiltInImage(RuntimeStack.NODEJS_6_9_3)
90+
.withBuiltInImage(RuntimeStack.NODEJS_6_9)
9191
.create();
9292

9393
System.out.println("Created web app " + app3.name());

0 commit comments

Comments
 (0)