Skip to content

Commit

Permalink
Nr (Azure#5434)
Browse files Browse the repository at this point in the history
* adding peering RP projects

* adding ManagedServices project structure
  • Loading branch information
shahabhijeet authored Mar 13, 2019
1 parent 6f21d73 commit 0a07581
Show file tree
Hide file tree
Showing 14 changed files with 249 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/SDKs/ManagedServices/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag></AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
19 changes: 19 additions & 0 deletions src/SDKs/ManagedServices/ManagedServices.Tests/CRUDTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace ManagedServices.Tests.ScenarioTests
{
using System.Net;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xunit;

public class CRUDTests
{
[Fact]
public void CreateResource()
{
Assert.True(true);
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.test.reference.props'))" />
<PropertyGroup>
<PackageId>ManagedServices.Tests</PackageId>
<Description>ManagedServices.Tests class library</Description>
<AssemblyName>ManagedServices.Tests</AssemblyName>
<VersionPrefix>1.0.0</VersionPrefix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Management.ManagedServices\Microsoft.Azure.Management.ManagedServices.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="SessionRecords\**\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
31 changes: 31 additions & 0 deletions src/SDKs/ManagedServices/ManagedServices.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.271
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManagedServices.Tests", "ManagedServices.Tests\ManagedServices.Tests.csproj", "{AD9682BB-EEE5-4CD1-AACB-4019FD9830D2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Management.ManagedServices", "Management.ManagedServices\Microsoft.Azure.Management.ManagedServices.csproj", "{7909B3D2-7E61-4170-999A-49BC0A368DE1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AD9682BB-EEE5-4CD1-AACB-4019FD9830D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD9682BB-EEE5-4CD1-AACB-4019FD9830D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD9682BB-EEE5-4CD1-AACB-4019FD9830D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD9682BB-EEE5-4CD1-AACB-4019FD9830D2}.Release|Any CPU.Build.0 = Release|Any CPU
{7909B3D2-7E61-4170-999A-49BC0A368DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7909B3D2-7E61-4170-999A-49BC0A368DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7909B3D2-7E61-4170-999A-49BC0A368DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7909B3D2-7E61-4170-999A-49BC0A368DE1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {74DF9B5E-D594-4C74-A5AB-983848734E85}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Please do not move/edit code below this line -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.reference.props'))" />
<!-- Please do not move/edit code below this line -->

<PropertyGroup>
<PackageId>Microsoft.Azure.Management.ManagedServices</PackageId>
<Description>Microsoft Azure Management ManagedServices library</Description>
<AssemblyName>Microsoft.Azure.Management.ManagedServices</AssemblyName>
<Version>0.9.0-preview</Version>
<PackageTags>Azure ManagedServices;</PackageTags>
<PackageReleaseNotes>
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>$(SdkTargetFx)</TargetFrameworks>
</PropertyGroup>

<!-- Please do not move/edit code below this line -->
<Import Condition=" Exists('$([MSBuild]::GetPathOfFileAbove(AzSdk.RP.props))') " Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.RP.props'))" />
<!-- Please do not move/edit code above this line -->
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Reflection;
using System.Resources;

[assembly: AssemblyTitle("Microsoft Azure ManagedServices Management Library")]
[assembly: AssemblyDescription("Provides Microsoft Azure ManagedServices management functions for managing the Microsoft Azure ManagedServices service.")]

[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("0.9.0")]

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start-AutoRestCodeGeneration -ResourceProvider "managedservices/resource-manager" -AutoRestVersion "latest"
7 changes: 7 additions & 0 deletions src/SDKs/Peering/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag></AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Please do not move/edit code below this line -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.reference.props'))" />
<!-- Please do not move/edit code below this line -->

<PropertyGroup>
<PackageId>Microsoft.Azure.Management.Peering</PackageId>
<Description>Microsoft Azure Management Peering library</Description>
<AssemblyName>Microsoft.Azure.Management.Peering</AssemblyName>
<Version>0.9.0-preview</Version>
<PackageTags>Azure Peering;</PackageTags>
<PackageReleaseNotes>
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>$(SdkTargetFx)</TargetFrameworks>
</PropertyGroup>

<!-- Please do not move/edit code below this line -->
<Import Condition=" Exists('$([MSBuild]::GetPathOfFileAbove(AzSdk.RP.props))') " Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.RP.props'))" />
<!-- Please do not move/edit code above this line -->
</Project>
19 changes: 19 additions & 0 deletions src/SDKs/Peering/Management.Peering/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Reflection;
using System.Resources;

[assembly: AssemblyTitle("Microsoft Azure Peering Management Library")]
[assembly: AssemblyDescription("Provides Microsoft Azure Peering management functions for managing the Microsoft Azure Peering service.")]

[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("0.9.0")]

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
1 change: 1 addition & 0 deletions src/SDKs/Peering/Management.Peering/generate.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start-AutoRestCodeGeneration -ResourceProvider "peering/resource-manager" -AutoRestVersion "latest"
18 changes: 18 additions & 0 deletions src/SDKs/Peering/Peering.Tests/CRUDTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace Peering.Tests.ScenarioTests
{
using System.Net;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xunit;

public class CRUDTests
{
[Fact]
public void CreateResource()
{
Assert.True(true);
}
}
}
26 changes: 26 additions & 0 deletions src/SDKs/Peering/Peering.Tests/Peering.Tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.test.reference.props'))" />
<PropertyGroup>
<PackageId>Peering.Tests</PackageId>
<Description>Peering.Tests class library</Description>
<AssemblyName>Peering.Tests</AssemblyName>
<VersionPrefix>1.0.0</VersionPrefix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Management.Peering\Microsoft.Azure.Management.Peering.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="SessionRecords\**\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
31 changes: 31 additions & 0 deletions src/SDKs/Peering/Peering.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.271
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Peering.Tests", "Peering.Tests\Peering.Tests.csproj", "{3C25EAFF-1A9C-460C-8DEA-8797FAE2F719}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Management.Peering", "Management.Peering\Microsoft.Azure.Management.Peering.csproj", "{8702C465-A8A9-416B-A496-5F15C491A3E4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3C25EAFF-1A9C-460C-8DEA-8797FAE2F719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C25EAFF-1A9C-460C-8DEA-8797FAE2F719}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C25EAFF-1A9C-460C-8DEA-8797FAE2F719}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C25EAFF-1A9C-460C-8DEA-8797FAE2F719}.Release|Any CPU.Build.0 = Release|Any CPU
{8702C465-A8A9-416B-A496-5F15C491A3E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8702C465-A8A9-416B-A496-5F15C491A3E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8702C465-A8A9-416B-A496-5F15C491A3E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8702C465-A8A9-416B-A496-5F15C491A3E4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AD967DC9-F8E5-4B9E-BAC8-B8E84D4EBBBF}
EndGlobalSection
EndGlobal

0 comments on commit 0a07581

Please sign in to comment.