-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor webhook method configuration and CLI commands (#1082)
Previously, webhooks were triggered for all methods when none were specified. Now, webhooks only trigger for explicitly configured methods, providing more intuitive behavior and better user control. Add CLI commands to manage webhook methods with support for: - Adding/removing single methods - Adding/removing multiple methods - Supporting ALL methods configuration CLI command examples: ```sh # Add a single method $ yorkie project update project-name --auth-webhook-method-add PushPull # Remove a method $ yorkie project update project-name --auth-webhook-method-rm PushPull # Add ALL methods $ yorkie project update project-name --auth-webhook-method-add ALL # Remove ALL methods $ yorkie project update project-name --auth-webhook-method-rm ALL # Add multiple methods $ yorkie project update project-name \ --auth-webhook-method-add ActivateClient \ --auth-webhook-method-add PushPull \ --auth-webhook-method-add WatchDocuments ```
- Loading branch information
Showing
4 changed files
with
88 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters