Skip to content

Introduce a way to update virtual host metadata using CLI tools #7914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 17, 2023

Conversation

michaelklishin
Copy link
Collaborator

This introduces a new CLI command, rabbitmqctl update_vhost_metadata, that can be used
to update tags, default queue type, and description of any existing virtual host:

rabbitmqctl update_vhost_metadata vh1 --tags qa,quorum,team3,project2

rabbitmqctl update_vhost_metadata vh1 --description "QA env 1 for issue 37483"

rabbitmqctl update_vhost_metadata vh1 --description "QQs all the way" --default-queue-type "quorum"

rabbitmqctl update_vhost_metadata vh1 --description "streaming my brain out" --default-queue-type "stream"

Part of #7912, #7874

@michaelklishin michaelklishin enabled auto-merge (squash) April 17, 2023 22:39
@michaelklishin michaelklishin disabled auto-merge April 17, 2023 22:52
@michaelklishin michaelklishin merged commit cec151d into main Apr 17, 2023
@michaelklishin michaelklishin deleted the rabbitmq-server-7912 branch April 17, 2023 22:54
mergify bot pushed a commit that referenced this pull request Apr 17, 2023
Introduce 'ctl update_vhost_metadata'

that can be used to update the description, tags or default queue type of
any existing virtual hosts.

Closes #7912, #7857.

#7912 will need an HTTP API counterpart change.

(cherry picked from commit cec151d)
michaelklishin added a commit that referenced this pull request Apr 17, 2023
Introduce a way to update virtual host metadata using CLI tools (backport #7914)
mergify bot pushed a commit that referenced this pull request Apr 17, 2023
Introduce 'ctl update_vhost_metadata'

that can be used to update the description, tags or default queue type of
any existing virtual hosts.

Closes #7912, #7857.

#7912 will need an HTTP API counterpart change.

(cherry picked from commit cec151d)
(cherry picked from commit a003602)

# Conflicts:
#	deps/rabbit/src/rabbit_vhost.erl
#	deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/add_vhost_command.ex
michaelklishin added a commit that referenced this pull request Apr 18, 2023
Introduce a way to update virtual host metadata using CLI tools (backport #7914) (backport #7915)
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.

1 participant