Skip to content

Feature/add or remove labels from source - #129

Open
zkemppel-InRule wants to merge 5 commits into
masterfrom
feature/add-or-remove-labels-from-source
Open

Feature/add or remove labels from source#129
zkemppel-InRule wants to merge 5 commits into
masterfrom
feature/add-or-remove-labels-from-source

Conversation

@zkemppel-InRule

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings June 23, 2026 20:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the PromoteRuleApp command-line sample to support applying/removing labels on the source Rule App as part of a promotion workflow, while also refactoring promotion/retrieval logic to use RuleCatalogConnection APIs.

Changes:

  • Added new CLI options to apply a label to the source Rule App and/or remove a label from the source Rule App after promotion.
  • Refactored retrieval of the source Rule App to use RuleCatalogConnection (latest revision when no label is provided; labeled revision otherwise).
  • Improved connection/promotion error handling by separating source/destination connection failures and promotion failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Developer Samples/CommandLineTools/PromoteRuleApp/Program.cs
Comment thread Developer Samples/CommandLineTools/PromoteRuleApp/Program.cs Outdated
Comment thread Developer Samples/CommandLineTools/PromoteRuleApp/Program.cs Outdated
Comment thread Developer Samples/CommandLineTools/PromoteRuleApp/Program.cs Outdated
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