Skip to content

Preview Az.Peering #8830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 44 commits into from
May 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
6acbe1c
Add Az.Peering to Az
rileymckenna Mar 29, 2019
0f730ee
Added Skip to test in NONCORE becuase of `r`n handling.
rileymckenna Mar 29, 2019
ae094dc
Merge branch 'master' into preview
cormacpayne Apr 1, 2019
56285d2
Merge branch 'master' into preview
rileymckenna Apr 2, 2019
e0209e9
Updated Set cmdlets and help documents
rileymckenna Apr 3, 2019
902f67f
Merge branch 'preview' of https://github.com/rileymckenna/azure-power…
rileymckenna Apr 3, 2019
f7a7bf0
Fixed some tests. not passing 3.
rileymckenna Apr 4, 2019
de8e146
Updated the Help Documents and Tests.
rileymckenna Apr 4, 2019
3ff2b28
Updated Documents.
rileymckenna Apr 4, 2019
d81c4b7
Updated Documentation to meet review comments and passing tests.
rileymckenna Apr 5, 2019
739780a
Removed Remove-AzPeering so it doesnt fail checks after build.
rileymckenna Apr 8, 2019
cb51626
Updated Parameter Sets for Review and added tests.
rileymckenna Apr 9, 2019
53e8ab5
Updated Documentation and Tests
rileymckenna Apr 9, 2019
cb7c336
Squashed Changed. Updated Documentation and Tests for AzPeering Review
rileymckenna Apr 9, 2019
275f47a
Merge branch 'preview' of https://github.com/rileymckenna/azure-power…
rileymckenna Apr 9, 2019
6a0fecd
Merge branch 'azuremaster' into preview
rileymckenna Apr 10, 2019
ee9583d
Updated psd1 to reflect
rileymckenna Apr 10, 2019
21ba7d9
Made alot of changes to tests to in response to comments
rileymckenna Apr 10, 2019
5223137
made changes based on comments from PR.
rileymckenna Apr 11, 2019
854c96d
Updated tests for randomization
rileymckenna Apr 12, 2019
4e0031e
edited tests to to get them to pass.
rileymckenna Apr 12, 2019
d8c576d
Updated Documentation and Tests. Awaiting test recordings.
rileymckenna Apr 12, 2019
b38ef29
Updated Documentation and tests.
rileymckenna Apr 15, 2019
3ec3045
Added Examples to help files
rileymckenna Apr 15, 2019
d8fb4a9
Updated ShouldProcess with Statistic Analysis ignore
rileymckenna Apr 15, 2019
1f03676
Updated file name becuase it wasnt found in linux
rileymckenna Apr 16, 2019
078037c
IP cant be found.
rileymckenna Apr 16, 2019
8f94b5c
Updated Update-AzPeering to fix bug in removing current status of Use…
rileymckenna Apr 16, 2019
90dfd89
Fixed Error Handleing Deserialization
rileymckenna Apr 16, 2019
df0a57f
Fixed Error Deserialization for edge cases
rileymckenna Apr 16, 2019
6e2b0c9
Added Exceptions to StaticAnalysis
rileymckenna Apr 16, 2019
32aa2e2
Updated minor fixes to code.
rileymckenna Apr 22, 2019
022f97d
Fixed tests and help docs.
rileymckenna Apr 22, 2019
4829da0
fixed a get random variable issue in test.
rileymckenna Apr 23, 2019
e3bd5e1
Updated MaxPrefixes to be optional to allow for easier and quicker de…
rileymckenna Apr 23, 2019
ad01bfd
removed not null validation for optional parameters
rileymckenna Apr 23, 2019
8fab97a
Added Mappings for Peering
rileymckenna Apr 24, 2019
5577b3c
Merge branch 'master' into preview
markcowl Apr 24, 2019
5c7be32
Fixed Error Message Handling
rileymckenna Apr 24, 2019
f16cd5f
Merge branch 'preview' of https://github.com/rileymckenna/azure-power…
rileymckenna Apr 24, 2019
af5f780
Updated documentation and some parameter sets.
rileymckenna Apr 29, 2019
fb43356
Merge branch 'master' into preview
rileymckenna Apr 29, 2019
a6ea0c1
Added IgnoreCase for Kind Exchange and Direct
rileymckenna May 2, 2019
1f13f79
Merge branch 'preview' of https://github.com/rileymckenna/azure-power…
rileymckenna May 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/Peering/Peering.Test/Peering.Test.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PsModuleName>Peering</PsModuleName>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)..\..\Az.Test.props" />

<PropertyGroup>
<RootNamespace>$(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.Peering" Version="0.9.0-preview" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Peering\Peering.csproj" />
</ItemGroup>

</Project>
46 changes: 46 additions & 0 deletions src/Peering/Peering.Test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Microsoft.Azure.Commands.Peering.Test")]
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2E2C5449-6A82-4462-9BF6-D2F9576CB65E")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: CollectionBehavior(DisableTestParallelization = true)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

namespace Microsoft.Azure.Commands.Peering.Test.ScenarioTests
{
using Microsoft.Azure.ServiceManagement.Common.Models;
using Microsoft.WindowsAzure.Commands.ScenarioTest;

using Xunit;
using Xunit.Abstractions;

/// <summary>
/// The create new direct connection tests.
/// </summary>
public class CreateNewDirectConnectionTests
{
/// <summary>
/// The logger.
/// </summary>
private XunitTracingInterceptor logger;

/// <summary>
/// Initializes a new instance of the <see cref="CreateNewDirectConnectionTests"/> class.
/// </summary>
/// <param name="output">
/// The output.
/// </param>
public CreateNewDirectConnectionTests(ITestOutputHelper output)
{
this.logger = new ServiceManagement.Common.Models.XunitTracingInterceptor(output);
ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(this.logger);
}

/// <summary>
/// The test new direct connection high bandwidth.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionHighBandwidth()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionHighBandwidth");
}

/// <summary>
/// The test new direct connection low bandwidth.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionLowBandwidth()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionLowBandwidth");
}

/// <summary>
/// The test new direct connection no session.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionNoSession()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionNoSession");
}

/// <summary>
/// The test new direct connection with v 4.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionWithV4()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionWithV4");
}

/// <summary>
/// The test new direct connection with v 4 v 6.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionWithV4V6()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionWithV4V6");
}

/// <summary>
/// The test new direct connection with v 6.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionWithV6()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionWithV6");
}

/// <summary>
/// The test new direct connection wrong v 4.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionWrongV4()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionWrongV4");
}

/// <summary>
/// The test new direct connection wrong v 6.
/// </summary>
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestNewDirectConnectionWrongV6()
{
TestController.NewInstance.RunPowerShellTest(this.logger, "Test-NewDirectConnectionWrongV6");
}
}
}
Loading