From 9af7288d198aba8080b76ab696851d8331d79978 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:16:47 +0300 Subject: [PATCH 01/20] Bump Microsoft.IO.RecyclableMemoryStream from 3.0.0 to 3.0.1 (#2085) Bumps [Microsoft.IO.RecyclableMemoryStream](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/releases) - [Changelog](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/CHANGES.md) - [Commits](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/compare/3.0.0...v3.0.1) --- updated-dependencies: - dependency-name: Microsoft.IO.RecyclableMemoryStream dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- OpenAPIService/OpenAPIService.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAPIService/OpenAPIService.csproj b/OpenAPIService/OpenAPIService.csproj index 720826cfa..38a37a4b7 100644 --- a/OpenAPIService/OpenAPIService.csproj +++ b/OpenAPIService/OpenAPIService.csproj @@ -8,7 +8,7 @@ - + From 2e067de04049cf4c78372538fa96e4b21ce83ca5 Mon Sep 17 00:00:00 2001 From: Millicent Achieng Date: Tue, 18 Jun 2024 12:09:25 +0300 Subject: [PATCH 02/20] Make docs permissions pipeline 1ES compliant (#2084) --- pipelines/docs-permissions.yml | 177 +++++++++++++++++---------------- 1 file changed, 93 insertions(+), 84 deletions(-) diff --git a/pipelines/docs-permissions.yml b/pipelines/docs-permissions.yml index f7c5b7cbb..5d5588d30 100644 --- a/pipelines/docs-permissions.yml +++ b/pipelines/docs-permissions.yml @@ -10,99 +10,108 @@ schedules: displayName: Every weekday MS Graph docs permissions tables updates branches: include: - - master + - master always: true resources: - repositories: - - repository: microsoft-graph-docs - type: github - endpoint: microsoftgraphdocs - name: microsoftgraph/microsoft-graph-docs - ref: main - - repository: api-doctor - type: github - endpoint: microsoftgraphdocs - name: OneDrive/apidoctor - ref: master - -pool: - vmImage: 'ubuntu-latest' - + repositories: + - repository: microsoft-graph-docs + type: github + endpoint: microsoftgraphdocs + name: microsoftgraph/microsoft-graph-docs + ref: main + - repository: api-doctor + type: github + endpoint: microsoftgraphdocs + name: OneDrive/apidoctor + ref: master + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + parameters: - name: permissionsSourceFilePath - default: 'https://raw.githubusercontent.com/microsoftgraph/microsoft-graph-devx-content/master/permissions/new/permissions.json' - displayName: 'The file path or URL to permissions in JSON format to be consumed by Kibali' + default: "https://raw.githubusercontent.com/microsoftgraph/microsoft-graph-devx-content/master/permissions/new/permissions.json" + displayName: "The file path or URL to permissions in JSON format to be consumed by Kibali" - name: bootstrappingOnly type: boolean default: false - displayName: 'Only move permissions table in reference document to own file without updating contents of permissions table' - + displayName: "Only move permissions table in reference document to own file without updating contents of permissions table" + variables: - buildConfiguration: 'Release' - apidoctorProjects: 'apidoctor/**/*.csproj' + buildConfiguration: "Release" + apidoctorProjects: "apidoctor/**/*.csproj" permissionsSourceFilePath: ${{ parameters.permissionsSourceFilePath }} ${{ if eq(parameters.bootstrappingOnly, true) }}: - bootstrappingOnly: '--bootstrapping-only' + bootstrappingOnly: "--bootstrapping-only" ${{ else }}: - bootstrappingOnly: '' - -steps: -- checkout: api-doctor - displayName: Checkout API Doctor - fetchDepth: 1 - submodules: recursive - persistCredentials: true - -- checkout: microsoft-graph-docs - displayName: Checkout Microsoft Graph docs - fetchDepth: 1 - persistCredentials: true - -- pwsh: | - # override branch prefix incase the run is manually triggered - $branchPrefix = if ($env:BUILD_REASON -eq 'Manual') { "preview-permissions-tables-update" } else { "permissions-tables-update" } - Write-Host "##vso[task.setvariable variable=branchPrefix]$branchPrefix" - Write-Host "Branch prefix is $branchPrefix" - displayName: 'Evaluate branch prefix to use' - -- pwsh: | - # set commit message to use when there are changes to push - $commitMessage = "Update generated permissions tables with build $env:BUILD_BUILDID" - Write-Host "##vso[task.setvariable variable=commitMessage]$commitMessage" - displayName: 'Set commit message to use' - -- template: templates/git-config.yml - -- task: UseDotNet@2 - displayName: 'Install .NET Core SDK 6' - inputs: - version: 6.x - -- task: UseDotNet@2 - displayName: 'Install .NET Core SDK 8' - inputs: - version: 8.x - -- task: DotNetCoreCLI@2 - displayName: 'Restore packages for APIDoctor' - inputs: - command: 'restore' - projects: '$(Build.SourcesDirectory)/$(apidoctorProjects)' - -- task: DotNetCoreCLI@2 - displayName: 'Build APIDoctor' - inputs: - command: 'build' - projects: '$(Build.SourcesDirectory)/$(apidoctorProjects)' - arguments: '--configuration $(buildConfiguration)' - -- pwsh: | - $apidoctorPath = (Get-ChildItem $env:BUILD_SOURCESDIRECTORY/apidoctor/ApiDoctor.Console/bin/Release apidoc -Recurse).FullName - Write-Host "Path to apidoctor tool: $apidoctorPath" - - . $apidoctorPath generate-permission-files --ignore-warnings $(bootstrappingOnly) --path . --permissions-source-file $(permissionsSourceFilePath) --git-path "/bin/git" - displayName: 'Generate permissions tables' - workingDirectory: microsoft-graph-docs - -- template: templates/commit-changes.yml + bootstrappingOnly: "" + +extends: + template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + pool: + name: Azure-Pipelines-1ESPT-ExDShared + image: windows-2022 + os: windows + customBuildTags: + - ES365AIMigrationTooling + stages: + - stage: Generate permissions tables + jobs: + - job: "Run API Doctor script" + steps: + - checkout: api-doctor + displayName: Checkout API Doctor + fetchDepth: 1 + submodules: recursive + persistCredentials: true + + - checkout: microsoft-graph-docs + displayName: Checkout Microsoft Graph docs + fetchDepth: 1 + persistCredentials: true + + - pwsh: | + # override branch prefix incase the run is manually triggered + $branchPrefix = if ($env:BUILD_REASON -eq 'Manual') { "preview-permissions-tables-update" } else { "permissions-tables-update" } + Write-Host "##vso[task.setvariable variable=branchPrefix]$branchPrefix" + Write-Host "Branch prefix is $branchPrefix" + displayName: "Evaluate branch prefix to use" + + - pwsh: | + # set commit message to use when there are changes to push + $commitMessage = "Update generated permissions tables with build $env:BUILD_BUILDID" + Write-Host "##vso[task.setvariable variable=commitMessage]$commitMessage" + displayName: "Set commit message to use" + + - template: templates/git-config.yml@self + + - task: UseDotNet@2 + displayName: "Install .NET Core SDK 8" + inputs: + version: 8.x + + - task: DotNetCoreCLI@2 + displayName: "Restore packages for APIDoctor" + inputs: + command: "restore" + projects: "$(Build.SourcesDirectory)/$(apidoctorProjects)" + + - task: DotNetCoreCLI@2 + displayName: "Build APIDoctor" + inputs: + command: "build" + projects: "$(Build.SourcesDirectory)/$(apidoctorProjects)" + arguments: "--configuration $(buildConfiguration)" + + - pwsh: | + $apidoctorPath = (Get-ChildItem $env:BUILD_SOURCESDIRECTORY/apidoctor/ApiDoctor.Console/bin/Release apidoc -Recurse).FullName + Write-Host "Path to apidoctor tool: $apidoctorPath" + + . $apidoctorPath generate-permission-files --ignore-warnings $(bootstrappingOnly) --path . --permissions-source-file $(permissionsSourceFilePath) --git-path "/bin/git" + displayName: "Generate permissions tables" + workingDirectory: microsoft-graph-docs + + - template: templates/commit-changes.yml@self From 37371932a7f75dab5e7601f024a0e4eb080835b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:06:19 +0300 Subject: [PATCH 03/20] Bump Microsoft.OpenApi from 1.6.14 to 1.6.15 (#2087) Bumps [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET) from 1.6.14 to 1.6.15. - [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases) - [Commits](https://github.com/Microsoft/OpenAPI.NET/compare/1.6.14...1.6.15) --- updated-dependencies: - dependency-name: Microsoft.OpenApi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- OpenAPIService.Test/OpenAPIService.Test.csproj | 2 +- OpenAPIService/OpenAPIService.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPIService.Test/OpenAPIService.Test.csproj b/OpenAPIService.Test/OpenAPIService.Test.csproj index c57877696..f06b35b21 100644 --- a/OpenAPIService.Test/OpenAPIService.Test.csproj +++ b/OpenAPIService.Test/OpenAPIService.Test.csproj @@ -27,7 +27,7 @@ - + all diff --git a/OpenAPIService/OpenAPIService.csproj b/OpenAPIService/OpenAPIService.csproj index 38a37a4b7..afeff04ad 100644 --- a/OpenAPIService/OpenAPIService.csproj +++ b/OpenAPIService/OpenAPIService.csproj @@ -10,7 +10,7 @@ - + From 3341519bd232a9288d3382372df572f554b1e7cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 06:19:03 +0000 Subject: [PATCH 04/20] Bump Microsoft.OpenApi.Readers from 1.6.14 to 1.6.15 (#2088) Bumps [Microsoft.OpenApi.Readers](https://github.com/Microsoft/OpenAPI.NET) from 1.6.14 to 1.6.15. - [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases) - [Commits](https://github.com/Microsoft/OpenAPI.NET/compare/1.6.14...1.6.15) --- updated-dependencies: - dependency-name: Microsoft.OpenApi.Readers dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../CodeSnippetsReflection.OpenAPI.csproj | 2 +- OpenAPIService/OpenAPIService.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj b/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj index ae3e13c30..6c19e62c6 100644 --- a/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj +++ b/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj @@ -7,7 +7,7 @@ - + diff --git a/OpenAPIService/OpenAPIService.csproj b/OpenAPIService/OpenAPIService.csproj index afeff04ad..ced3daea3 100644 --- a/OpenAPIService/OpenAPIService.csproj +++ b/OpenAPIService/OpenAPIService.csproj @@ -12,7 +12,7 @@ - + From af0f4186ca6c9ec9fa68ba002566711997cf07c0 Mon Sep 17 00:00:00 2001 From: Charles Wahome Date: Fri, 21 Jun 2024 00:11:29 +0300 Subject: [PATCH 05/20] Task: Use managed identities to access the blob (#2089) --- FileService/FileService.csproj | 2 + .../Services/AzureBlobStorageUtility.cs | 41 ++++++++++--------- GraphWebApi/appsettings.json | 2 + 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/FileService/FileService.csproj b/FileService/FileService.csproj index b6ab85299..138d304c8 100644 --- a/FileService/FileService.csproj +++ b/FileService/FileService.csproj @@ -5,6 +5,8 @@ + + diff --git a/FileService/Services/AzureBlobStorageUtility.cs b/FileService/Services/AzureBlobStorageUtility.cs index 1468f467c..ac7e7c07f 100644 --- a/FileService/Services/AzureBlobStorageUtility.cs +++ b/FileService/Services/AzureBlobStorageUtility.cs @@ -2,14 +2,15 @@ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------------------------------------------------------------------------------ +using Azure.Identity; using FileService.Common; using FileService.Interfaces; using Microsoft.Extensions.Configuration; -using Microsoft.WindowsAzure.Storage; -using Microsoft.WindowsAzure.Storage.Blob; using System; using System.IO; using System.Threading.Tasks; +using Azure.Storage.Blobs; + namespace FileService.Services { @@ -19,13 +20,16 @@ namespace FileService.Services public class AzureBlobStorageUtility : IFileUtility { private readonly IConfiguration _configuration; - private readonly string _connectionString; + private readonly BlobServiceClient _blobServiceClient; public AzureBlobStorageUtility(IConfiguration configuration) { _configuration = configuration - ?? throw new ArgumentNullException(nameof(configuration), $"Value cannot be null: { nameof(configuration) }"); - _connectionString = _configuration["BlobStorage:AzureConnectionString"]; + ?? throw new ArgumentNullException(nameof(configuration), $"Value cannot be null: {nameof(configuration)}"); + + var managedIdentityCredential = new ManagedIdentityCredential(_configuration["BlobStorage:Identity"]); + _blobServiceClient = new BlobServiceClient(new Uri($"https://{_configuration["BlobStorage:AccountName"]}.blob.core.windows.net"), + managedIdentityCredential); } /// @@ -40,30 +44,29 @@ public async Task ReadFromFile(string filePathSource) (var containerName, var blobName) = FileServiceHelper.RetrieveFilePathSourceValues(filePathSource); - if (CloudStorageAccount.TryParse(_connectionString, out CloudStorageAccount storageAccount)) + var containerClient = _blobServiceClient.GetBlobContainerClient(containerName); + + if (await containerClient.ExistsAsync()) { - CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); - CloudBlobContainer container = blobClient.GetContainerReference(containerName); + var blobClient = containerClient.GetBlobClient(blobName); - if (await container.ExistsAsync()) + if (await blobClient.ExistsAsync()) { - CloudBlockBlob blob = container.GetBlockBlobReference(blobName); - - if (await blob.ExistsAsync()) + var response = await blobClient.DownloadAsync(); + using (var streamReader = new StreamReader(response.Value.Content)) { - return await blob.DownloadTextAsync(); - } - else - { - throw new IOException($"The '{blobName}' blob doesn't exist."); + return await streamReader.ReadToEndAsync(); } } else { - throw new IOException($"The '{containerName}' container doesn't exist."); + throw new IOException($"The '{blobName}' blob doesn't exist."); } } - + else + { + throw new IOException($"The '{containerName}' container doesn't exist."); + } throw new IOException("Failed to connect to the blob storage account."); } diff --git a/GraphWebApi/appsettings.json b/GraphWebApi/appsettings.json index 2c370bb29..ffca94195 100644 --- a/GraphWebApi/appsettings.json +++ b/GraphWebApi/appsettings.json @@ -19,6 +19,8 @@ }, "BlobStorage": { "AzureConnectionString": "ENTER_AZURE_STORAGE_CONNECTION_STRING", + "AccountName": "ENTER_AZURE_STORAGE_ACCOUNT_NAME", + "Identity": "ENTER_AZURE_STORAGE_IDENTITY", "GithubHost": "https://raw.githubusercontent.com/", "RepoName": "/microsoft-graph-devx-content/", "Containers": { From 2cd867e1a39dd813a87a716502b8431ec32c86e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 08:34:28 +0300 Subject: [PATCH 06/20] Bump Microsoft.OpenApi.OData from 1.6.6 to 1.6.7 (#2092) Bumps [Microsoft.OpenApi.OData](https://github.com/Microsoft/OpenAPI.NET.OData) from 1.6.6 to 1.6.7. - [Release notes](https://github.com/Microsoft/OpenAPI.NET.OData/releases) - [Commits](https://github.com/Microsoft/OpenAPI.NET.OData/commits) --- updated-dependencies: - dependency-name: Microsoft.OpenApi.OData dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- OpenAPIService/OpenAPIService.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAPIService/OpenAPIService.csproj b/OpenAPIService/OpenAPIService.csproj index ced3daea3..12533458e 100644 --- a/OpenAPIService/OpenAPIService.csproj +++ b/OpenAPIService/OpenAPIService.csproj @@ -11,7 +11,7 @@ - + From 20ef0762208137c9c8ed37f69668da0e0272809e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:12:56 +0300 Subject: [PATCH 07/20] Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets (#2094) Bumps Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.20.1 to 1.21.0. --- updated-dependencies: - dependency-name: Microsoft.VisualStudio.Azure.Containers.Tools.Targets dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- GraphWebApi/GraphWebApi.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphWebApi/GraphWebApi.csproj b/GraphWebApi/GraphWebApi.csproj index 561766e07..cc2c9073e 100644 --- a/GraphWebApi/GraphWebApi.csproj +++ b/GraphWebApi/GraphWebApi.csproj @@ -49,7 +49,7 @@ - + From 900bd5956e1bdf95d366a6b405df425eaea2629f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:13:24 +0300 Subject: [PATCH 08/20] Bump Microsoft.Graph.Kibali from 0.19.0 to 0.21.0 (#2093) Bumps [Microsoft.Graph.Kibali](https://github.com/MicrosoftGraph/kibali) from 0.19.0 to 0.21.0. - [Release notes](https://github.com/MicrosoftGraph/kibali/releases) - [Commits](https://github.com/MicrosoftGraph/kibali/commits) --- updated-dependencies: - dependency-name: Microsoft.Graph.Kibali dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- PermissionsService/PermissionsService.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PermissionsService/PermissionsService.csproj b/PermissionsService/PermissionsService.csproj index 2b4a04aa4..dc274eb71 100644 --- a/PermissionsService/PermissionsService.csproj +++ b/PermissionsService/PermissionsService.csproj @@ -8,7 +8,7 @@ - + From 3178ab7d9fc45047a412996c64cc89640bbd3071 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 09:10:26 +0300 Subject: [PATCH 09/20] Bump apidoctor from `7017125` to `d45cf16` (#2095) Bumps [apidoctor](https://github.com/OneDrive/apidoctor) from `7017125` to `d45cf16`. - [Commits](https://github.com/OneDrive/apidoctor/compare/70171251ae0b2059a5dc276c6026b7e5fd2a51a5...d45cf1644c0729ec677918ef29418f1211543d08) --- updated-dependencies: - dependency-name: apidoctor dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- apidoctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apidoctor b/apidoctor index 70171251a..d45cf1644 160000 --- a/apidoctor +++ b/apidoctor @@ -1 +1 @@ -Subproject commit 70171251ae0b2059a5dc276c6026b7e5fd2a51a5 +Subproject commit d45cf1644c0729ec677918ef29418f1211543d08 From 8bcca2314db4a8474869101fd2f4e5e6842eb4aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:42:27 +0300 Subject: [PATCH 10/20] Bump xunit from 2.8.1 to 2.9.0 (#2098) Bumps xunit from 2.8.1 to 2.9.0. --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../CodeSnippetsReflection.OData.Test.csproj | 2 +- .../CodeSnippetsReflection.OpenAPI.Test.csproj | 2 +- ExceptionMiddleware/ExceptionMiddleware.Test.csproj | 2 +- FileService.Test/FileService.Test.csproj | 2 +- KnownIssuesService.Test/KnownIssuesService.Test.csproj | 2 +- OpenAPIService.Test/OpenAPIService.Test.csproj | 2 +- PermissionsService.Test/PermissionsService.Test.csproj | 2 +- SamplesService.Test/SamplesService.Test.csproj | 2 +- TelemetryService.Test/TelemetrySanitizerService.Test.csproj | 2 +- UriMatchService.Test/UriMatchingService.Test.csproj | 2 +- UtilityService.Test/UtilityService.Test.csproj | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj b/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj index 789568f9a..9f8e7b005 100644 --- a/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj +++ b/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj @@ -13,7 +13,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj b/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj index 613dec2ec..de0a6eaaf 100644 --- a/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj +++ b/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj index 009ed0b8d..61064ba9b 100644 --- a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj +++ b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/FileService.Test/FileService.Test.csproj b/FileService.Test/FileService.Test.csproj index 37b8d1dce..9c31bd047 100644 --- a/FileService.Test/FileService.Test.csproj +++ b/FileService.Test/FileService.Test.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/KnownIssuesService.Test/KnownIssuesService.Test.csproj b/KnownIssuesService.Test/KnownIssuesService.Test.csproj index 640aec684..9809acde6 100644 --- a/KnownIssuesService.Test/KnownIssuesService.Test.csproj +++ b/KnownIssuesService.Test/KnownIssuesService.Test.csproj @@ -24,7 +24,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/OpenAPIService.Test/OpenAPIService.Test.csproj b/OpenAPIService.Test/OpenAPIService.Test.csproj index f06b35b21..5ea1bac98 100644 --- a/OpenAPIService.Test/OpenAPIService.Test.csproj +++ b/OpenAPIService.Test/OpenAPIService.Test.csproj @@ -28,7 +28,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PermissionsService.Test/PermissionsService.Test.csproj b/PermissionsService.Test/PermissionsService.Test.csproj index 5e4675891..a4d5a757b 100644 --- a/PermissionsService.Test/PermissionsService.Test.csproj +++ b/PermissionsService.Test/PermissionsService.Test.csproj @@ -34,7 +34,7 @@ all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/SamplesService.Test/SamplesService.Test.csproj b/SamplesService.Test/SamplesService.Test.csproj index 4c225a643..22f428c6c 100644 --- a/SamplesService.Test/SamplesService.Test.csproj +++ b/SamplesService.Test/SamplesService.Test.csproj @@ -57,7 +57,7 @@ all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/TelemetryService.Test/TelemetrySanitizerService.Test.csproj b/TelemetryService.Test/TelemetrySanitizerService.Test.csproj index 8810f0413..4bd9b82c9 100644 --- a/TelemetryService.Test/TelemetrySanitizerService.Test.csproj +++ b/TelemetryService.Test/TelemetrySanitizerService.Test.csproj @@ -27,7 +27,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/UriMatchService.Test/UriMatchingService.Test.csproj b/UriMatchService.Test/UriMatchingService.Test.csproj index 5980a056d..1bbf41572 100644 --- a/UriMatchService.Test/UriMatchingService.Test.csproj +++ b/UriMatchService.Test/UriMatchingService.Test.csproj @@ -16,7 +16,7 @@ all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/UtilityService.Test/UtilityService.Test.csproj b/UtilityService.Test/UtilityService.Test.csproj index 56813a9a8..d15fe7669 100644 --- a/UtilityService.Test/UtilityService.Test.csproj +++ b/UtilityService.Test/UtilityService.Test.csproj @@ -12,7 +12,7 @@ all - + runtime; build; native; contentfiles; analyzers; buildtransitive all From c833700d36e78fa9b5c5b364e1e87eb7f69583e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 08:56:11 +0300 Subject: [PATCH 11/20] Bump System.Text.Json from 8.0.3 to 8.0.4 (#2100) Bumps System.Text.Json from 8.0.3 to 8.0.4. --- updated-dependencies: - dependency-name: System.Text.Json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../CodeSnippetsReflection.OpenAPI.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj b/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj index 6c19e62c6..3400220fa 100644 --- a/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj +++ b/CodeSnippetsReflection.OpenAPI/CodeSnippetsReflection.OpenAPI.csproj @@ -8,7 +8,7 @@ - + From dfb0a69a4fc5ef84fc7ac385d9d0e73f55161e5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:08:46 +0300 Subject: [PATCH 12/20] Bump Microsoft.Extensions.Configuration.Binder from 8.0.1 to 8.0.2 (#2099) Bumps Microsoft.Extensions.Configuration.Binder from 8.0.1 to 8.0.2. --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- OpenAPIService/OpenAPIService.csproj | 2 +- PermissionsService/PermissionsService.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPIService/OpenAPIService.csproj b/OpenAPIService/OpenAPIService.csproj index 12533458e..3375ad78a 100644 --- a/OpenAPIService/OpenAPIService.csproj +++ b/OpenAPIService/OpenAPIService.csproj @@ -7,7 +7,7 @@ - + diff --git a/PermissionsService/PermissionsService.csproj b/PermissionsService/PermissionsService.csproj index dc274eb71..0eb2e8454 100644 --- a/PermissionsService/PermissionsService.csproj +++ b/PermissionsService/PermissionsService.csproj @@ -7,7 +7,7 @@ - + From 1e6c2ded0946bc06e8fd18f2f3697553e5c8b3da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:09:00 +0300 Subject: [PATCH 13/20] Bump Microsoft.AspNetCore.Authentication.JwtBearer from 8.0.6 to 8.0.7 (#2101) Bumps Microsoft.AspNetCore.Authentication.JwtBearer from 8.0.6 to 8.0.7. --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- GraphWebApi/GraphWebApi.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphWebApi/GraphWebApi.csproj b/GraphWebApi/GraphWebApi.csproj index cc2c9073e..0f82482e6 100644 --- a/GraphWebApi/GraphWebApi.csproj +++ b/GraphWebApi/GraphWebApi.csproj @@ -45,7 +45,7 @@ - + From 5b283693045fa48a4615d09d3e7b6d623da5cf35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 06:19:14 +0000 Subject: [PATCH 14/20] Bump Microsoft.AspNetCore.Authorization from 8.0.6 to 8.0.7 (#2102) Bumps Microsoft.AspNetCore.Authorization from 8.0.6 to 8.0.7. --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.Authorization dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- GraphWebApi/GraphWebApi.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphWebApi/GraphWebApi.csproj b/GraphWebApi/GraphWebApi.csproj index 0f82482e6..ce0f21260 100644 --- a/GraphWebApi/GraphWebApi.csproj +++ b/GraphWebApi/GraphWebApi.csproj @@ -46,7 +46,7 @@ - + From 11a5cdc36e2e596378aadc0ae94c7ef61ec15018 Mon Sep 17 00:00:00 2001 From: Faith Kangai Date: Wed, 10 Jul 2024 12:49:29 +0300 Subject: [PATCH 15/20] update script to generate raptor report to login with managed ID (#2096) * update script to generate raptor report to login with managed ID * Add the username of managed identity * Properly set managed identity login * correctly specify working dir * Change used pool to 1-es hosted pool * separate installing of ImportExcel and creation of directory items * ignore importExcel dependencies for autofit as aesthetics * Add debug messages * Debug some more. Working locally * specify appSettings path explicitly * fix base for fetching specificError * make path to appSettings.json absoluteand present * clean up --- pipelines/snippets.yml | 27 +++++++++++++++++++-------- scripts/categorizeErrors.ps1 | 15 +++++++++------ scripts/getWorkloadOwner.ps1 | 29 +++++++++++++++++++++++++---- 3 files changed, 53 insertions(+), 18 deletions(-) diff --git a/pipelines/snippets.yml b/pipelines/snippets.yml index 67d0d07db..4da6f6ee9 100644 --- a/pipelines/snippets.yml +++ b/pipelines/snippets.yml @@ -22,7 +22,7 @@ resources: ref: main pool: - vmImage: 'ubuntu-latest' + name: 1es-ubuntu-latest parameters: @@ -178,6 +178,7 @@ stages: inputs: artifact: 'Generation Test Results' path: '$(Build.ArtifactStagingDirectory)/TestResults' + - pwsh: | Write-Host "Installing module ImportExcel" Install-Module -Name ImportExcel -Scope CurrentUser -Force -AllowClobber @@ -188,19 +189,29 @@ stages: workingDirectory: '$(Build.SourcesDirectory)' - pwsh: | - Write-Host "create file appSettings.json in the workingDirectory" - New-Item -Path $(Build.SourcesDirectory) -Name "appSettings.json" -ItemType "file" -Force Write-Host "Creating folder Reports" New-Item -Path $(Build.SourcesDirectory) -Name "Reports" -ItemType "Directory" -Force displayName: Create requisite directory items - - pwsh: | - $ErrorActionPreference="Continue" - $(Build.SourcesDirectory)/scripts/categorizeErrors.ps1 -trxFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/' -txtOutputFolderPath '$(Build.ArtifactStagingDirectory)/Reports/' + - task: AzurePowerShell@5 + inputs: + azureSubscription: "RaptorServiceFederationConnection" + ScriptType: "FilePath" + ScriptPath: "$(Build.SourcesDirectory)/scripts/categorizeErrors.ps1" + ScriptArguments: " + -trxFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/' + -reportOutputPath '$(Build.ArtifactStagingDirectory)/Reports/' + -snippetsBaseErrorPath '$(Build.ArtifactStagingDirectory)' + " + workingDirectory: '$(Build.SourcesDirectory)' + pwsh: true + azurePowerShellVersion: latestVersion + failOnStandardError: true displayName: Generate error category report - workingDirectory: '$(Build.SourcesDirectory)' env: - RAPTOR_CONFIGCONNECTIONSTRING: $(RAPTOR_CONFIGCONNECTIONSTRING) + RAPTOR_CONFIGENDPOINT: $(RAPTOR_CONFIGENDPOINT) + RAPTOR_CONFIGMANAGEDIDENTITY_ID: $(RAPTOR_CONFIGMANAGEDIDENTITY_ID) + WorkingDirectory: '$(Build.SourcesDirectory)' continueOnError: true - task: PublishBuildArtifacts@1 diff --git a/scripts/categorizeErrors.ps1 b/scripts/categorizeErrors.ps1 index 0d2846ce1..bb8e38146 100644 --- a/scripts/categorizeErrors.ps1 +++ b/scripts/categorizeErrors.ps1 @@ -1,8 +1,10 @@ param( [Parameter(Mandatory=$true)] [string]$trxFolderPath, + [Parameter(Mandatory=$true)] + [string]$snippetsBaseErrorPath, [Parameter(Mandatory=$false)] - [string]$txtOutputFolderPath + [string]$reportOutputPath ) Import-Module ImportExcel @@ -13,10 +15,10 @@ if (!(Test-Path $trxFolderPath)) exit } -#if $txtOutputFolderPath is not set, use current directory -if (-not $txtOutputFolderPath) +#if $reportOutputPath is not set, use current directory +if (-not $reportOutputPath) { - $txtOutputFolderPath = $PSScriptRoot + $reportOutputPath = $PSScriptRoot } $outcomeLocal = "Failed" # Only process failed tests @@ -36,7 +38,8 @@ $invalidStart = @() $other = @() $files = Get-ChildItem -Path $trxFolderPath -Exclude "http*" -$SpecificErrorPattern = "/home/vsts/work/1/a/Snippets/" + +$SpecificErrorPattern = "$snippetsBaseErrorPath/Snippets/" foreach ($trxFilePath in $files){ Write-Host "Processing file $trxFilePath" [xml]$xmlContent = Get-Content $trxFilePath @@ -109,7 +112,7 @@ foreach ($trxFilePath in $files){ } -$excelOutputPath = Join-Path $txtOutputFolderPath "report.xlsx" +$excelOutputPath = Join-Path $reportOutputPath "report.xlsx" $methodNotFound | Export-Excel -Path $excelOutputPath -WorksheetName "MethodNotFound" -AutoSize $pathNotFound | Export-Excel -Path $excelOutputPath -WorksheetName "PathNotFound" -AutoSize $invalidStart | Export-Excel -Path $excelOutputPath -WorksheetName "InvalidStart" -AutoSize diff --git a/scripts/getWorkloadOwner.ps1 b/scripts/getWorkloadOwner.ps1 index 27e66c1df..e9bb9e02e 100644 --- a/scripts/getWorkloadOwner.ps1 +++ b/scripts/getWorkloadOwner.ps1 @@ -27,16 +27,37 @@ function Get-AppSettings () return $AppSettings } # read app settings from Azure App Config - $appSettingsPath = "./appSettings.json" + $baseSettingsDirectory = $env:WorkingDirectory + if (!$baseSettingsDirectory) + { + $baseSettingsDirectory = $env:TEMP + } + New-Item -Path $baseSettingsDirectory -Name "appSettings.json" -Force + $appSettingsPath = Join-Path $baseSettingsDirectory "appSettings.json" -Resolve + write-host "appsettings path: $appSettingsPath" # Support Reading Settings from a Custom Label, otherwise default to Development $settingsLabel = $env:RAPTOR_CONFIGLABEL if ([string]::IsNullOrWhiteSpace($settingsLabel)) { $settingsLabel = "Development" } - az appconfig kv export --connection-string $env:RAPTOR_CONFIGCONNECTIONSTRING --label $settingsLabel --destination file --path $appSettingsPath --format json --yes - $appSettings = Get-Content $AppSettingsPath -Raw | ConvertFrom-Json - Remove-Item $appSettingsPath + try { + az login --identity -u $env:RAPTOR_CONFIGMANAGEDIDENTITY_ID #Pipeline login + # Disable below to test locally + # az login + Write-Host "Login successful. Fetching AppSettings from Azure App Config." + } + catch { + Write-Host "Failed to login using Managed Identity." + } + try { + az appconfig kv export --endpoint $env:RAPTOR_CONFIGENDPOINT --auth-mode login --label $settingsLabel --destination file --path $appSettingsPath --format json --yes + $appSettings = Get-Content $AppSettingsPath -Raw | ConvertFrom-Json + Remove-Item $appSettingsPath + } + catch { + Write-Host "Failed to fetch AppSettings from Azure App Config." + } if ( !$appSettings.CertificateThumbprint ` -or !$appSettings.ClientID ` From 7843e88271979cbca4a4846611d68df4366ee478 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:10:37 +0300 Subject: [PATCH 16/20] Bump Microsoft.VisualStudio.Web.CodeGeneration.Design (#2104) Bumps Microsoft.VisualStudio.Web.CodeGeneration.Design from 8.0.2 to 8.0.3. --- updated-dependencies: - dependency-name: Microsoft.VisualStudio.Web.CodeGeneration.Design dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- GraphWebApi/GraphWebApi.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphWebApi/GraphWebApi.csproj b/GraphWebApi/GraphWebApi.csproj index ce0f21260..5d0ad8329 100644 --- a/GraphWebApi/GraphWebApi.csproj +++ b/GraphWebApi/GraphWebApi.csproj @@ -50,7 +50,7 @@ - + From 714b3ad318a44bff12f57d325fde55c0f4062f2c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 09:17:31 +0300 Subject: [PATCH 17/20] Bump Azure.Storage.Blobs from 12.20.0 to 12.21.0 (#2105) Bumps [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) from 12.20.0 to 12.21.0. - [Release notes](https://github.com/Azure/azure-sdk-for-net/releases) - [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.20.0...Azure.Storage.Blobs_12.21.0) --- updated-dependencies: - dependency-name: Azure.Storage.Blobs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- FileService/FileService.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileService/FileService.csproj b/FileService/FileService.csproj index 138d304c8..88b67e1c3 100644 --- a/FileService/FileService.csproj +++ b/FileService/FileService.csproj @@ -6,7 +6,7 @@ - + From 6c8f20fb96f7a3836717513ed8d6a3e4195e753f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 06:17:50 +0000 Subject: [PATCH 18/20] Bump MSTest.TestFramework from 3.4.3 to 3.5.0 (#2106) Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.4.3 to 3.5.0. - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.4.3...v3.5.0) --- updated-dependencies: - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- ExceptionMiddleware/ExceptionMiddleware.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj index 61064ba9b..fb38f070c 100644 --- a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj +++ b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive From f7f08e5db59bcd09db3d4feef89e51feda258949 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 06:28:47 +0000 Subject: [PATCH 19/20] Bump xunit.runner.visualstudio from 2.8.1 to 2.8.2 (#2097) Bumps xunit.runner.visualstudio from 2.8.1 to 2.8.2. --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../CodeSnippetsReflection.OData.Test.csproj | 2 +- .../CodeSnippetsReflection.OpenAPI.Test.csproj | 2 +- ExceptionMiddleware/ExceptionMiddleware.Test.csproj | 2 +- FileService.Test/FileService.Test.csproj | 2 +- KnownIssuesService.Test/KnownIssuesService.Test.csproj | 2 +- OpenAPIService.Test/OpenAPIService.Test.csproj | 2 +- PermissionsService.Test/PermissionsService.Test.csproj | 2 +- SamplesService.Test/SamplesService.Test.csproj | 2 +- TelemetryService.Test/TelemetrySanitizerService.Test.csproj | 2 +- UriMatchService.Test/UriMatchingService.Test.csproj | 2 +- UtilityService.Test/UtilityService.Test.csproj | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj b/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj index 9f8e7b005..ee2b6a44e 100644 --- a/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj +++ b/CodeSnippetsReflection.OData.Test/CodeSnippetsReflection.OData.Test.csproj @@ -14,7 +14,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj b/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj index de0a6eaaf..f52fbc65f 100644 --- a/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj +++ b/CodeSnippetsReflection.OpenAPI.Test/CodeSnippetsReflection.OpenAPI.Test.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj index fb38f070c..55ce31bb0 100644 --- a/ExceptionMiddleware/ExceptionMiddleware.Test.csproj +++ b/ExceptionMiddleware/ExceptionMiddleware.Test.csproj @@ -15,7 +15,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/FileService.Test/FileService.Test.csproj b/FileService.Test/FileService.Test.csproj index 9c31bd047..e39e47340 100644 --- a/FileService.Test/FileService.Test.csproj +++ b/FileService.Test/FileService.Test.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/KnownIssuesService.Test/KnownIssuesService.Test.csproj b/KnownIssuesService.Test/KnownIssuesService.Test.csproj index 9809acde6..7cc6dfd63 100644 --- a/KnownIssuesService.Test/KnownIssuesService.Test.csproj +++ b/KnownIssuesService.Test/KnownIssuesService.Test.csproj @@ -25,7 +25,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/OpenAPIService.Test/OpenAPIService.Test.csproj b/OpenAPIService.Test/OpenAPIService.Test.csproj index 5ea1bac98..df6163f08 100644 --- a/OpenAPIService.Test/OpenAPIService.Test.csproj +++ b/OpenAPIService.Test/OpenAPIService.Test.csproj @@ -29,7 +29,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PermissionsService.Test/PermissionsService.Test.csproj b/PermissionsService.Test/PermissionsService.Test.csproj index a4d5a757b..af203eb92 100644 --- a/PermissionsService.Test/PermissionsService.Test.csproj +++ b/PermissionsService.Test/PermissionsService.Test.csproj @@ -35,7 +35,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/SamplesService.Test/SamplesService.Test.csproj b/SamplesService.Test/SamplesService.Test.csproj index 22f428c6c..25053875c 100644 --- a/SamplesService.Test/SamplesService.Test.csproj +++ b/SamplesService.Test/SamplesService.Test.csproj @@ -58,7 +58,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/TelemetryService.Test/TelemetrySanitizerService.Test.csproj b/TelemetryService.Test/TelemetrySanitizerService.Test.csproj index 4bd9b82c9..776702cbd 100644 --- a/TelemetryService.Test/TelemetrySanitizerService.Test.csproj +++ b/TelemetryService.Test/TelemetrySanitizerService.Test.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/UriMatchService.Test/UriMatchingService.Test.csproj b/UriMatchService.Test/UriMatchingService.Test.csproj index 1bbf41572..358ded8f7 100644 --- a/UriMatchService.Test/UriMatchingService.Test.csproj +++ b/UriMatchService.Test/UriMatchingService.Test.csproj @@ -17,7 +17,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/UtilityService.Test/UtilityService.Test.csproj b/UtilityService.Test/UtilityService.Test.csproj index d15fe7669..019effcf4 100644 --- a/UtilityService.Test/UtilityService.Test.csproj +++ b/UtilityService.Test/UtilityService.Test.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 0beec280546d5042eadaec6381303eda27490f58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 06:25:02 +0000 Subject: [PATCH 20/20] Bump apidoctor from `d45cf16` to `edfb272` (#2107) Bumps [apidoctor](https://github.com/OneDrive/apidoctor) from `d45cf16` to `edfb272`. - [Commits](https://github.com/OneDrive/apidoctor/compare/d45cf1644c0729ec677918ef29418f1211543d08...edfb272df8bf0cfd035f62619053594ee9cc2c69) --- updated-dependencies: - dependency-name: apidoctor dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- apidoctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apidoctor b/apidoctor index d45cf1644..edfb272df 160000 --- a/apidoctor +++ b/apidoctor @@ -1 +1 @@ -Subproject commit d45cf1644c0729ec677918ef29418f1211543d08 +Subproject commit edfb272df8bf0cfd035f62619053594ee9cc2c69