forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds tooling (cadence-workflow#5283)
Background This is part of the wider 'Zonal-isolation' feature: Changes Introduces commands for updating and getting the current state of isolation groups: # to read for a domain cadence admin isolation-groups get-domain --domain cadence-system # to read 'globally', ie for all domains cadence admin isolation-groups get-global # To add a drain to zones 1 and zone-2: $ cadence admin isolation-groups update-global --set-drains zone-1 zone-2 # Note that this is Upsert semantics, so by doing this subsequently.. $ cadence admin isolation-groups update-global --set-drains zone-3 # ... now only zone-3 is drained, zone-1 and zone-2 drains are removed # to drain just for some domain $ cadence admin isolation-groups update-domain --set-drains zone-3 --domain some-domain # to remove $ cadence admin isolation-groups update-domain --remove-all-drains Testing Unit tests
- Loading branch information
1 parent
7e85ed2
commit aec8af0
Showing
15 changed files
with
824 additions
and
0 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.