Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Create subscription trigger outcome API - #6324

#6324
Merged
adamzip merged 7 commits into
dotnet:maindotnet/arcade-services:mainfrom
adamzip:create-subscription-outcome-apiadamzip/arcade-services:create-subscription-outcome-apiCopy head branch name to clipboard
May 22, 2026
Merged

Create subscription trigger outcome API#6324
adamzip merged 7 commits into
dotnet:maindotnet/arcade-services:mainfrom
adamzip:create-subscription-outcome-apiadamzip/arcade-services:create-subscription-outcome-apiCopy head branch name to clipboard

Conversation

@adamzip

@adamzip adamzip commented May 22, 2026

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings May 22, 2026 13:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new v2020-02-20 Product Construction Service (PCS) read API for subscription update outcomes, along with generated client models/operations to consume it.

Changes:

  • Introduces SubscriptionOutcomesController with endpoints to list outcomes (with filters) and fetch a single outcome by operation id.
  • Adds API DTOs for SubscriptionOutcome and SubscriptionOutcomeType.
  • Adds generated PCS client operations and models for subscription outcomes.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/ProductConstructionService/ProductConstructionService.Api/Api/v2020_02_20/Models/SubscriptionOutcome.cs Adds API DTO + enum for subscription outcomes returned by the new endpoints.
src/ProductConstructionService/ProductConstructionService.Api/Api/v2020_02_20/Controllers/SubscriptionOutcomesController.cs Adds new read-only controller endpoints to list/get subscription outcomes.
src/ProductConstructionService/Microsoft.DotNet.ProductConstructionService.Client/Generated/SubscriptionOutcomes.cs Adds generated client operations for listing/getting subscription outcomes.
src/ProductConstructionService/Microsoft.DotNet.ProductConstructionService.Client/Generated/Models/SubscriptionOutcomeType.cs Adds generated client enum for subscription outcome types.
src/ProductConstructionService/Microsoft.DotNet.ProductConstructionService.Client/Generated/Models/SubscriptionOutcome.cs Adds generated client DTO for subscription outcomes.

@premun premun changed the title Create subscription outcome api Create subscription trigger outcome API May 22, 2026
premun
premun previously approved these changes May 22, 2026
@@ -0,0 +1,25 @@
using System;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the generated code is missing headers. That can start breaking the build eventually.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, added them

premun
premun previously approved these changes May 22, 2026
@adamzip
adamzip merged commit c75036d into dotnet:main May 22, 2026
9 checks passed
dkurepa added a commit that referenced this pull request May 28, 2026
#6188

this was missed in #6324

Co-authored-by: dotnet-maestro-bot <dotnet-maestro-bot@test.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.