Skip to content

Update blueprint setup command#51

Merged
joratz merged 2 commits intomainfrom
users/joratz/updatesetup
Nov 27, 2025
Merged

Update blueprint setup command#51
joratz merged 2 commits intomainfrom
users/joratz/updatesetup

Conversation

@joratz
Copy link
Contributor

@joratz joratz commented Nov 26, 2025

Merging endpoint setup into blueprint subcommand.

@joratz joratz requested a review from a team as a code owner November 26, 2025 20:48
Copilot AI review requested due to automatic review settings November 26, 2025 20:48
@joratz joratz requested a review from a team as a code owner November 26, 2025 20:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the endpoint registration functionality into the blueprint subcommand, removing the standalone endpoint subcommand. The change simplifies the setup workflow by automatically registering the blueprint messaging endpoint immediately after blueprint creation, rather than requiring it as a separate step.

Key Changes

  • Endpoint subcommand removed: The standalone a365 setup endpoint command has been eliminated
  • Blueprint subcommand enhanced: Endpoint registration now occurs automatically within blueprint creation via RegisterEndpointAndSyncAsync()
  • Test coverage maintained: Endpoint-related tests moved from EndpointSubcommandTests.cs to BlueprintSubcommandTests.cs

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupSubcommands/EndpointSubcommand.cs Entire file deleted as endpoint functionality merged into blueprint subcommand
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupSubcommands/BlueprintSubcommand.cs Added RegisterEndpointAndSyncAsync() method and integrated endpoint registration into blueprint creation flow
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupCommand.cs Removed endpoint subcommand registration and updated command description
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupSubcommands/AllSubcommand.cs Removed separate endpoint registration step (Step 5) as it's now handled within blueprint creation
src/Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Commands/EndpointSubcommandTests.cs Test file deleted - tests moved to BlueprintSubcommandTests.cs
src/Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Commands/BlueprintSubcommandTests.cs Added endpoint-related tests and updated all test method calls to include new IBotConfigurator parameter
src/Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Commands/SetupCommandTests.cs Removed endpoint subcommand assertions and related test cases

@joratz joratz enabled auto-merge (squash) November 26, 2025 22:48
@joratz joratz merged commit a66ed35 into main Nov 27, 2025
2 of 3 checks passed
@pontemonti pontemonti deleted the users/joratz/updatesetup branch December 5, 2025 17:26
sellakumaran pushed a commit that referenced this pull request Feb 27, 2026
* Update blueprint setup command

* Respond to comments
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.

4 participants