Skip to content

Commit

Permalink
merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
v-vdharmaraj committed Dec 9, 2024
2 parents e3482ed + 5b27811 commit a864379
Show file tree
Hide file tree
Showing 10,820 changed files with 1,000,868 additions and 309,301 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
78 changes: 42 additions & 36 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@
# ServiceLabel: %Bot Service
# ServiceOwners: @sgellock

# PRLabel: %Cloud Machine
/sdk/cloudmachine/ @christothes @KrzysztofCwalina

# ServiceLabel: %Cloud Machine
# AzureSdkOwners: @christothes @KrzysztofCwalina

# PRLabel: %Cognitive - Language
/sdk/cognitivelanguage/ @quentinRobinson @bidisha-c

Expand Down Expand Up @@ -300,7 +306,7 @@
/sdk/communication/ @acsdevx-msft

# ServiceLabel: %Communication
# ServiceOwners: @acsdevx-msft
# ServiceOwners: @Azure/azure-sdk-write-communication

# PRLabel: %Communication - Calling Server
/sdk/communication/Azure.Communication.CallingServer/ @minwoolee-msft
Expand All @@ -318,7 +324,7 @@
/sdk/communication/Azure.Communication.PhoneNumbers/ @miguhern @whisper6284 @danielav7

# PRLabel: %Communication - Programmable Connectivity
/sdk/communication/Azure.Communication.ProgrammableConnectivity/ @aronhegedusms
/sdk/communication/Azure.Communication.ProgrammableConnectivity/ @Azure/azure-sdk-write-communication

# PRLabel: %Communication - Short Codes
/sdk/communication/Azure.Communication.ShortCodes/ @guilhermeluizsp @danielav7
Expand Down Expand Up @@ -538,10 +544,10 @@
# ServiceOwners: @aim-for-better @idear1203 @deshriva

# PRLabel: %Health Deidentification
/sdk/healthdataaiservices/ @GrahamMThomas
/sdk/healthdataaiservices/ @alexathomases

# ServiceLabel: %Health Deidentification
# ServiceOwners: @GrahamMThomas
# ServiceOwners: @alexathomases

# ServiceLabel: %HPC Cache
# ServiceOwners: @romahamu @omzevall
Expand Down Expand Up @@ -578,10 +584,10 @@
# ServiceOwners: @Tanmayeekamath

# PRLabel: %Load Test Service
/sdk/loadtestservice/ @abranj1219 @ninallam @NiveditJain @christothes
/sdk/loadtestservice/ @abranj1219 @ninallam @christothes

# ServiceLabel: %Load Test Service
# ServiceOwners: @abranj1219 @ninallam @NiveditJain
# ServiceOwners: @abranj1219 @ninallam

# ServiceLabel: %Logic App
# ServiceOwners: @Azure/azure-logicapps-team
Expand Down Expand Up @@ -648,25 +654,25 @@
# ServiceOwners: @omziv @anatse @raronen @ischrei @danhadari @azmonapplicationinsights

# PRLabel: %Monitor - Distro
/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/ @rajkumar-rangaraj @TimothyMothra

# PRLabel: %Monitor - Distro
/sdk/monitor/Azure.Monitor.OpenTelemetry.sln @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
/sdk/monitor/Azure.Monitor.OpenTelemetry.sln @rajkumar-rangaraj @TimothyMothra

# ServiceLabel: %Monitor - Distro
# ServiceOwners: @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
# ServiceOwners: @rajkumar-rangaraj @TimothyMothra

# PRLabel: %Monitor - Exporter
/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/ @rajkumar-rangaraj @TimothyMothra

# ServiceLabel: %Monitor - Exporter
# ServiceOwners: @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
# ServiceOwners: @rajkumar-rangaraj @TimothyMothra

# PRLabel: %Monitor - LiveMetrics
/sdk/monitor/Azure.Monitor.OpenTelemetry.LiveMetrics/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @xiang17
/sdk/monitor/Azure.Monitor.OpenTelemetry.LiveMetrics/ @rajkumar-rangaraj @TimothyMothra @xiang17

# ServiceLabel: %Monitor - LiveMetrics
# ServiceOwners: @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @xiang17
# ServiceOwners: @rajkumar-rangaraj @TimothyMothra @xiang17

# ServiceLabel: %MySQL
# ServiceOwners: @ajlam @ambhatna @kummanish
Expand Down Expand Up @@ -891,10 +897,10 @@
# ServiceOwners: @shahbj79 @mit2nil @aygoya @ganganarayanan

# PRLabel: %Synapse
/sdk/synapse/ @wonner @yanjungao718 @annelo-msft
/sdk/synapse/ @yanjungao718 @annelo-msft

# ServiceLabel: %Synapse
# ServiceOwners: @wonner @yanjungao718
# ServiceOwners: @yanjungao718

# PRLabel: %Tables
/sdk/tables/ @christothes @JonathanCrd
Expand Down Expand Up @@ -991,35 +997,23 @@
# ServiceLabel: %DevOps - Infrastructure
# ServiceOwners: @oolaoluwa

# PRLabel: %Informatica Data Management
/sdk/informaticadatamanagement/Azure.ResourceManager.*/ @almasak

# ServiceLabel: %Informatica Data Management %Mgmt
# ServiceOwners: @almasak

# PRLabel: %Large Instance
/sdk/azurelargeinstance/Azure.ResourceManager.*/ @8Gitbrix @archerzz @ArcturusZhang @ArthurMa1978

# ServiceLabel: %Large Instance %Mgmt
# ServiceOwners: @8Gitbrix

# PRLabel: %Network - CDN
/sdk/cdn/Azure.ResourceManager.*/ @ptnan7
# PRLabel: %Neon Postgres
/sdk/neonpostgres/Azure.ResourceManager.*/ @archerzz @ArcturusZhang @ArthurMa1978

# ServiceLabel: %Network - CDN %Mgmt
# ServiceOwners: @ptnan7
# PRLabel: %Network - CDN
/sdk/cdn/Azure.ResourceManager.*/ @archerzz @ArcturusZhang @ArthurMa1978

# PRLabel: %Network - Front Door
/sdk/frontdoor/Azure.ResourceManager.*/ @ptnan7

# ServiceLabel: %Network - Front Door %Mgmt
# ServiceOwners: @ptnan7
/sdk/frontdoor/Azure.ResourceManager.*/ @archerzz @ArcturusZhang @ArthurMa1978

# PRLabel: %Network - Mobile
/sdk/mobilenetwork/Azure.ResourceManager.*/ @ArthurMa1978

# ServiceLabel: %Network - Mobile %Mgmt
# ServiceOwners: @ArthurMa1978
/sdk/mobilenetwork/Azure.ResourceManager.*/ @archerzz @ArcturusZhang @ArthurMa1978

# PRLabel: %Network - DNS Private Resolver
/sdk/dnsresolver/Azure.ResourceManager.*/ @jamesvoongms @jotrivet
Expand Down Expand Up @@ -1078,6 +1072,12 @@
# ServiceLabel: %Compute - Fleet %Mgmt
# ServiceOwners: @sahilarora92 @dhruvil009 @rahuls-microsoft

# PRLabel: %HybridConnectivity
/sdk/hybridconnectivity/Azure.ResourceManager.*/ @alexmahonic @PriyankaHariharan @apmehrotra

# ServiceLabel: %%HybridConnectivity %Mgmt
# ServiceOwners: @alexmahonic @PriyankaHariharan @apmehrotra

# ######## Eng Sys ########
/eng/ @hallipr @weshaggard @benbp
/eng/common/ @Azure/azure-sdk-eng
Expand All @@ -1095,7 +1095,13 @@
# Add owners for package dependency changes
/eng/Packages.Data.props @JoshLove-msft @christothes @annelo-msft @KrzysztofCwalina @tg-msft @jsquire @m-nash @ArthurMa1978

# ######## DPG ########
# ######## Code Generation ########

#PRLabel: %CodeGen %Client
/eng/packages/http-client-csharp/ @JoshLove-msft @m-nash @jorgerangel-msft

# ServiceLabel: %CodeGen
# AzureSdkOwners: @JoshLove-msft

# Onboarding Documentation and Quickstarts
/doc/DataPlaneCodeGeneration @chunyu3 @pshao25 @lirenhe @annelo-msft
#PRLabel: %CodeGen %Client
/eng/packages/http-client-csharp/generator/Azure.Generator/ @JoshLove-msft @m-nash @jorgerangel-msft @jsquire @annelo-msft
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ pingme.txt
# TS/Node files
dist/
node_modules/
eng/packages/**/*.tgz

# MSBuild binary log files
msbuild.binlog
Expand Down
26 changes: 21 additions & 5 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"sdk/remoterendering/*/api/*.cs",
"sdk/videoanalyzer/*/api/*.cs",
"sdk/newrelicobservability/*/api/*.cs",
"sdk/paloaltonetworks.ngfw/*/api/*.cs"
"sdk/paloaltonetworks.ngfw/*/api/*.cs",
"sdk/servicefabricmanagedclusters/*/api/*.cs"
],
// cspell is not case sensitive
// Sort words alphabetically to make this list easier to use
Expand Down Expand Up @@ -150,6 +151,7 @@
"southcentralus",
"structs",
"Sysctls",
"SYSLIB",
"Uefi",
"uints",
"unbilled",
Expand Down Expand Up @@ -183,6 +185,12 @@
"warnaserror"
]
},
{
"filename": "**/sdk/ai/**/*.cs",
"words": [
"Ubinary"
]
},
{
"filename": "**/sdk/analysisservices/**/*.cs",
"words": [
Expand Down Expand Up @@ -240,7 +248,8 @@
"nsxt",
"vcenter",
"vcsa",
"vmotion"
"vmotion",
"Iscsi"
]
},
{
Expand All @@ -255,7 +264,7 @@
"Hvci"
]
},
{
{
"filename": "**/sdk/computefleet/**/*.cs",
"words": [
"Rdma"
Expand Down Expand Up @@ -908,7 +917,7 @@
]
},
{
"filename": "**/sdk/maps/Azure.Maps.TimeZone/**/*.cs",
"filename": "**/sdk/maps/Azure.Maps.TimeZones/**/*.cs",
"words": [
"Posix",
"posix",
Expand Down Expand Up @@ -1095,6 +1104,7 @@
{
"filename": "**/sdk/postgresql/**/*.cs",
"words": [
"awsec",
"byok",
"vcore",
"vcores"
Expand Down Expand Up @@ -1191,6 +1201,12 @@
"scvmm"
]
},
{
"filename": "**/sdk/resourcemanager/**/*.cs",
"words": [
"AZPROVISION"
]
},
{
"filename": "**/sdk/resources/Azure.ResourceManager.Resources/api/*.cs",
"words": [
Expand Down Expand Up @@ -1605,4 +1621,4 @@
}
],
"allowCompoundWords": true
}
}
8 changes: 4 additions & 4 deletions doc/DataPlaneCodeGeneration/Autorest_DataPlane_Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ sdk\<service name>\<package name>\CHANGELOG.md

We will use dotnet project template [Azure.Template](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/template/Azure.Template) to automatically create the project.

You can run `eng\scripts\automation\Invoke-DataPlaneGenerateSDKPackage.ps1` to generate the starting SDK client library package directly as following:
You can run `eng\scripts\automation\Invoke-AutorestDataPlaneGenerateSDKPackage.ps1` to generate the starting SDK client library package directly as following:

```powershell
eng/scripts/automation/Invoke-DataPlaneGenerateSDKPackage.ps1 -service <servicename> -namespace Azure.<group>.<service> -sdkPath <sdkrepoRootPath> [-inputfiles <inputfilelink>] [-readme <readmeFilelink>] [-securityScope <securityScope>] [-securityHeaderName <securityHeaderName>]
eng/scripts/automation/Invoke-AutorestDataPlaneGenerateSDKPackage.ps1 -service <servicename> -namespace Azure.<group>.<service> -sdkPath <sdkrepoRootPath> [-inputfiles <inputfilelink>] [-readme <readmeFilelink>] [-securityScope <securityScope>] [-securityHeaderName <securityHeaderName>]
```

e.g.

```powershell
pwsh /home/azure-sdk-for-net/eng/scripts/automation/Invoke-DataPlaneGenerateSDKPackage.ps1 -service webpubsub -namespace Azure.Messaging.WebPubSub -sdkPath /home/azure-sdk-for-net -inputfiles https://github.com/Azure/azure-rest-api-specs/blob/73a0fa453a93bdbe8885f87b9e4e9fef4f0452d0/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/webpubsub.json -securityScope https://sample/.default
pwsh /home/azure-sdk-for-net/eng/scripts/automation/Invoke-AutorestDataPlaneGenerateSDKPackage.ps1 -service webpubsub -namespace Azure.Messaging.WebPubSub -sdkPath /home/azure-sdk-for-net -inputfiles https://github.com/Azure/azure-rest-api-specs/blob/73a0fa453a93bdbe8885f87b9e4e9fef4f0452d0/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/webpubsub.json -securityScope https://sample/.default
```

**Note**:
Expand All @@ -85,7 +85,7 @@ pwsh /home/azure-sdk-for-net/eng/scripts/automation/Invoke-DataPlaneGenerateSDKP
- `-securityScope` designates the authentication scope to use if your library supports **Token Credential** authentication.
- `-securityHeaderName` designates the key to use if your library supports **Azure Key Credential** authentication.

When you run the `eng\scripts\automation\Invoke-DataPlaneGenerateSDKPackage.ps1` script, it will:
When you run the `eng\scripts\automation\Invoke-AutorestDataPlaneGenerateSDKPackage.ps1` script, it will:

- Create a project folder, install template files from `sdk/template/Azure.Template`, and create `.csproj` and `.sln` files for your new library.

Expand Down
6 changes: 3 additions & 3 deletions doc/DataPlaneCodeGeneration/AzureSDKPackage_Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ sdk\<service name>\<package name>\<package name>.sln
- `<package name>` - Should be the name of the shipping package, or an abbreviation that distinguishes the given shipping artifact for the given service. It will be `Azure.<group>.<service>`, e.g. Azure.IoT.DeviceUpdate

## Create sdk package
We will use the Azure SDK template [Azure.Template](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/template/Azure.Template) to create the initial project skeleton.

We will use the Azure SDK template [Azure.Template](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/template/Azure.Template) to create the initial project skeleton for SDKs generated from TypeSpec.

You can run `eng\scripts\automation\Invoke-TypeSpecDataPlaneGenerateSDKPackage.ps1` to generate the starting SDK client library package directly as following:

```powershell
eng/scripts/automation/Invoke-TypeSpecDataPlaneGenerateSDKPackage.ps1 -sdkFolder <sdk-folder-path> -typespecSpecDirectory <relativeTypeSpecProjectFolderPath> -commit <commitId> [-repo <specRepo>] [-additionalSubDirectories <relativeFolders>]
```

e.g.
e.g.
Use git url

```powershell
Expand Down
1 change: 1 addition & 0 deletions eng/ApiListing.exclude-attributes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ T:System.Runtime.CompilerServices.AsyncStateMachineAttribute
T:System.Runtime.CompilerServices.CompilerGeneratedAttribute
T:System.Runtime.CompilerServices.NullableContextAttribute
T:System.Runtime.CompilerServices.NullableAttribute
T:System.Runtime.CompilerServices.IsReadOnlyAttribute
T:Azure.Core.CodeGenSuppressAttribute
T:Azure.Core.CodeGenModelAttribute
T:Azure.Core.CodeGenMemberAttribute
Expand Down
5 changes: 3 additions & 2 deletions eng/Directory.Build.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<!-- Setup default project properties -->
<PropertyGroup>
<LangVersion>11.0</LangVersion>
<LangVersion>latest</LangVersion>
<!--
Disable NU5105 NuGet Pack warning that the version is SemVer 2.0.
SemVer 2.0 is supported by NuGet since 3.0.0 (July 2015) in some capacity, and fully since 3.5.0 (October 2016).
Expand Down Expand Up @@ -106,6 +106,7 @@
<GenerateAPIListing Condition="'$(GenerateAPIListing)' == '' AND '$(IsShippingClientLibrary)' == 'true'">true</GenerateAPIListing>
<EnableSourceLink Condition="'$(EnableSourceLink)' == ''">true</EnableSourceLink>
<DefineConstants Condition="'$(BuildSnippets)' == 'true'">$(DefineConstants);SNIPPET</DefineConstants>
<ApiCompatBaselineTargetFramework Condition="'$(TargetFramework)' == 'net8.0'">netstandard2.0</ApiCompatBaselineTargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(IsShippingClientLibrary)' == 'true' and '$(TF_BUILD)' == 'true'">
Expand Down Expand Up @@ -135,7 +136,7 @@
<SupportsNetStandard20 Condition="'$(SupportsNetStandard20)' == ''">false</SupportsNetStandard20>

<RequiredTargetFrameworks>net452;netstandard1.4;net461;netstandard2.0</RequiredTargetFrameworks>
<RequiredTargetFrameworks Condition="'$(SupportsNetStandard20)' == 'true'">netstandard2.0</RequiredTargetFrameworks>
<RequiredTargetFrameworks Condition="'$(SupportsNetStandard20)' == 'true'">net8.0;netstandard2.0</RequiredTargetFrameworks>
<RequiredTargetFrameworks Condition="'$(IsGeneratorLibrary)' == 'true'">net8.0</RequiredTargetFrameworks>
</PropertyGroup>

Expand Down
9 changes: 9 additions & 0 deletions eng/Directory.Build.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@

</ItemGroup>

<!-- Remove packages built into the .NET 6+ runtime -->
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<PackageReference Remove="System.Buffers" />
<PackageReference Remove="System.Net.Http" />
<PackageReference Remove="System.Threading.Channels" />
<PackageReference Remove="System.Text.Encodings.Web" />
<PackageReference Remove="System.Text.Json" />
</ItemGroup>

<!-- Add Package Icon to DataPlane Packages -->
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<None Include="$(PackageIconPath)" Pack="true" PackagePath=""/>
Expand Down
Loading

0 comments on commit a864379

Please sign in to comment.