Skip to content

[Draft] Add resilience goal template create command (CI check)#2980

Draft
LavishSingal wants to merge 21 commits into
microsoft:mainfrom
LavishSingal:user/lsingal/resilience-create-tools
Draft

[Draft] Add resilience goal template create command (CI check)#2980
LavishSingal wants to merge 21 commits into
microsoft:mainfrom
LavishSingal:user/lsingal/resilience-create-tools

Conversation

@LavishSingal

Copy link
Copy Markdown

Purpose

Draft PR — opened to exercise the CI pipeline checks (build, unit tests, spelling, tool-description validation) on the resilience goal template create work.

This adds the azmcp resilience goal template create command (create or update a resilience goal template in a service group), including:

  • Command + options (GoalTemplateCreateCommand, GoalTemplateCreateOptions)
  • Service method CreateGoalTemplateAsync
  • DI + JSON serialization-context registration
  • Unit tests and an integration test
  • Docs (azmcp-commands.md, e2eTestPrompts.md) and a changelog entry

Stacking note

This branch is stacked on top of user/lsingal/get-tools-resilience (PR1), which is not yet merged to main. Until PR1 merges, the diff shown here includes PR1's changes as well as this PR's incremental work. After PR1 merges, this draft will be closed and a clean PR opened following a rebase onto main.

Invoking Livetests

Copilot submitted PRs are not trustworthy by default. Users with write access to the repo need to validate the contents of this PR before leaving a comment with the text /azp run mcp - pullrequest - live. This will trigger the necessary livetest workflows to complete required validation.

Adds 'azmcp resilience usageplan create' to create a resilience usage plan in a resource group, with DI/JSON-context registration, unit tests, docs, and a changelog entry.
Adds 'azmcp resilience usageplan enrollment create' to create or update an enrollment under a resilience usage plan associated with a service group, with DI/JSON-context registration, unit tests, docs, and a changelog entry.
Adds 'azmcp resilience goal assignment create' to create or update a resilience goal assignment that assigns a goal template, with a separate goal-template-service-group argument, DI/JSON-context registration, unit tests, docs, and a changelog entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant