Skip to content

Commit 00f1639

Browse files
author
Kamran Khan
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents f841fcc + d49c5cd commit 00f1639

File tree

200 files changed

+22596
-10265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+22596
-10265
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ For ServiceManagement services, the change log is located at `src\ServiceManagem
115115

116116
For Storage, this change log is located at `src\Storage\ChangeLog.md`.
117117

118+
#### Breaking Changes
119+
120+
Breaking changes should **not** be introduced into the repository without giving customers at least six months notice. For a description of breaking changes in Azure PowerShell, see [here](https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes.md).
121+
122+
Whenever a service team announces a breaking change, they must add it to the `upcoming-breaking-changes.md` file in their respective service folder. When the service team is ready to release the module with the breaking change, they must move the corresponding information from `upcoming-breaking-changes.md` into the `current-breaking-changes.md` file located in their service folder.
123+
118124
#### General guidelines
119125

120126
The following guidelines must be followed in **EVERY** pull request that is opened.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Upcoming Breaking Changes", and should adhere to the following format:
5+
6+
# Upcoming Breaking Changes
7+
8+
## Release X.0.0 - January 2017
9+
10+
The following cmdlets were affected this release:
11+
12+
**Cmdlet 1**
13+
- Description of what has changed
14+
15+
```powershell
16+
# Old
17+
# Sample of how the cmdlet was previously called
18+
19+
# New
20+
# Sample of how the cmdlet should now be called
21+
```
22+
23+
Note: the above section follows the template found in the link below:
24+
25+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
26+
-->
27+
28+
# Upcoming Breaking Changes
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Current Breaking Changes", and should adhere to the following format:
5+
6+
## Current Breaking Changes
7+
8+
The following cmdlets were affected this release:
9+
10+
**Cmdlet 1**
11+
- Description of what has changed
12+
13+
```powershell
14+
# Old
15+
# Sample of how the cmdlet was previously called
16+
17+
# New
18+
# Sample of how the cmdlet should now be called
19+
```
20+
21+
## Release X.0.0
22+
23+
The following cmdlets were affected this release:
24+
25+
**Cmdlet 1**
26+
- Description of what has changed
27+
28+
```powershell
29+
# Old
30+
# Sample of how the cmdlet was previously called
31+
32+
# New
33+
# Sample of how the cmdlet should now be called
34+
```
35+
36+
Note: the above sections follow the template found in the link below:
37+
38+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
39+
-->
40+
41+
## Current Breaking Changes
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Upcoming Breaking Changes", and should adhere to the following format:
5+
6+
# Upcoming Breaking Changes
7+
8+
## Release X.0.0 - January 2017
9+
10+
The following cmdlets were affected this release:
11+
12+
**Cmdlet 1**
13+
- Description of what has changed
14+
15+
```powershell
16+
# Old
17+
# Sample of how the cmdlet was previously called
18+
19+
# New
20+
# Sample of how the cmdlet should now be called
21+
```
22+
23+
Note: the above section follows the template found in the link below:
24+
25+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
26+
-->
27+
28+
# Upcoming Breaking Changes
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Current Breaking Changes", and should adhere to the following format:
5+
6+
## Current Breaking Changes
7+
8+
The following cmdlets were affected this release:
9+
10+
**Cmdlet 1**
11+
- Description of what has changed
12+
13+
```powershell
14+
# Old
15+
# Sample of how the cmdlet was previously called
16+
17+
# New
18+
# Sample of how the cmdlet should now be called
19+
```
20+
21+
## Release X.0.0
22+
23+
The following cmdlets were affected this release:
24+
25+
**Cmdlet 1**
26+
- Description of what has changed
27+
28+
```powershell
29+
# Old
30+
# Sample of how the cmdlet was previously called
31+
32+
# New
33+
# Sample of how the cmdlet should now be called
34+
```
35+
36+
Note: the above sections follow the template found in the link below:
37+
38+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
39+
-->
40+
41+
## Current Breaking Changes
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Upcoming Breaking Changes", and should adhere to the following format:
5+
6+
# Upcoming Breaking Changes
7+
8+
## Release X.0.0 - January 2017
9+
10+
The following cmdlets were affected this release:
11+
12+
**Cmdlet 1**
13+
- Description of what has changed
14+
15+
```powershell
16+
# Old
17+
# Sample of how the cmdlet was previously called
18+
19+
# New
20+
# Sample of how the cmdlet should now be called
21+
```
22+
23+
Note: the above section follows the template found in the link below:
24+
25+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
26+
-->
27+
28+
# Upcoming Breaking Changes
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Current Breaking Changes", and should adhere to the following format:
5+
6+
## Current Breaking Changes
7+
8+
The following cmdlets were affected this release:
9+
10+
**Cmdlet 1**
11+
- Description of what has changed
12+
13+
```powershell
14+
# Old
15+
# Sample of how the cmdlet was previously called
16+
17+
# New
18+
# Sample of how the cmdlet should now be called
19+
```
20+
21+
## Release X.0.0
22+
23+
The following cmdlets were affected this release:
24+
25+
**Cmdlet 1**
26+
- Description of what has changed
27+
28+
```powershell
29+
# Old
30+
# Sample of how the cmdlet was previously called
31+
32+
# New
33+
# Sample of how the cmdlet should now be called
34+
```
35+
36+
Note: the above sections follow the template found in the link below:
37+
38+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
39+
-->
40+
41+
## Current Breaking Changes
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
Please leave this section at the top of the breaking change documentation.
3+
4+
New breaking changes should go under the section titled "Upcoming Breaking Changes", and should adhere to the following format:
5+
6+
# Upcoming Breaking Changes
7+
8+
## Release X.0.0 - January 2017
9+
10+
The following cmdlets were affected this release:
11+
12+
**Cmdlet 1**
13+
- Description of what has changed
14+
15+
```powershell
16+
# Old
17+
# Sample of how the cmdlet was previously called
18+
19+
# New
20+
# Sample of how the cmdlet should now be called
21+
```
22+
23+
Note: the above section follows the template found in the link below:
24+
25+
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
26+
-->
27+
28+
# Upcoming Breaking Changes

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1516
using Xunit;
1617

1718
namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests
@@ -24,42 +25,49 @@ public BatchAccountTests(Xunit.Abstractions.ITestOutputHelper output)
2425
}
2526

2627
[Fact]
28+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2729
public void TestGetNonExistingBatchAccount()
2830
{
2931
BatchController.NewInstance.RunPsTest("Test-GetNonExistingBatchAccount");
3032
}
3133

3234
[Fact]
35+
[Trait(Category.AcceptanceType, Category.CheckIn)]
3336
public void TestCreatesNewBatchAccount()
3437
{
3538
BatchController.NewInstance.RunPsTest("Test-CreatesNewBatchAccount");
3639
}
3740

3841
[Fact]
42+
[Trait(Category.AcceptanceType, Category.CheckIn)]
3943
public void TestUpdatesExistingBatchAccount()
4044
{
4145
BatchController.NewInstance.RunPsTest("Test-UpdatesExistingBatchAccount");
4246
}
4347

4448
[Fact]
49+
[Trait(Category.AcceptanceType, Category.CheckIn)]
4550
public void TestGetBatchAccountsUnderResourceGroups()
4651
{
4752
BatchController.NewInstance.RunPsTest("Test-GetBatchAccountsUnderResourceGroups");
4853
}
4954

5055
[Fact]
56+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5157
public void TestCreateAndRemoveBatchAccountViaPiping()
5258
{
5359
BatchController.NewInstance.RunPsTest("Test-CreateAndRemoveBatchAccountViaPiping");
5460
}
5561

5662
[Fact]
63+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5764
public void TestBatchAccountKeys()
5865
{
5966
BatchController.NewInstance.RunPsTest("Test-BatchAccountKeys");
6067
}
6168

6269
[Fact]
70+
[Trait(Category.AcceptanceType, Category.CheckIn)]
6371
public void TestListNodeAgentSkus()
6472
{
6573
BatchController.NewInstance.RunPsTest("Test-GetBatchNodeAgentSkus");

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchApplicationPackageTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
using Microsoft.Azure.Test;
1717
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1818
using Xunit;
19+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1920

2021
namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests
2122
{
@@ -25,6 +26,7 @@ public class BatchApplicationPackageTests : WindowsAzure.Commands.Test.Utilities
2526
private const string version = "foo";
2627

2728
[Fact]
29+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2830
public void TestUploadApplicationPackage()
2931
{
3032
string id = "newApplicationPackage";
@@ -54,6 +56,7 @@ public void TestUploadApplicationPackage()
5456
}
5557

5658
[Fact]
59+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5760
public void TestUpdateApplicationPackage()
5861
{
5962
string id = "updateApplicationPackage";
@@ -83,6 +86,7 @@ public void TestUpdateApplicationPackage()
8386
}
8487

8588
[Fact]
89+
[Trait(Category.AcceptanceType, Category.CheckIn)]
8690
public void TestCreatePoolWithApplicationPackage()
8791
{
8892
string id = "createPoolWithApplicationPackage";
@@ -111,6 +115,7 @@ public void TestCreatePoolWithApplicationPackage()
111115
}
112116

113117
[Fact]
118+
[Trait(Category.AcceptanceType, Category.CheckIn)]
114119
public void TestUpdatePoolWithApplicationPackage()
115120
{
116121
string id = "updatePoolWithApplicationPackage";

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchApplicationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@
1616
using Microsoft.Azure.Test;
1717
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1818
using Xunit;
19+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1920

2021
namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests
2122
{
2223
public class BatchApplicationTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
2324
{
2425
[Fact]
26+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2527
public void TestAddApplication()
2628
{
2729
BatchController.NewInstance.RunPsTest(string.Format("Test-AddApplication"));

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/CertificateTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public void TestCertificateCrudOperations()
3535
}
3636

3737
[Fact]
38+
[Trait(Category.AcceptanceType, Category.CheckIn)]
3839
public void TestCancelCertificateDelete()
3940
{
4041
BatchController controller = BatchController.NewInstance;

0 commit comments

Comments
 (0)