Skip to content
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

Add tags and description to vhost #689

Merged
merged 12 commits into from
Jun 18, 2024
Merged

Add tags and description to vhost #689

merged 12 commits into from
Jun 18, 2024

Conversation

kickster97
Copy link
Member

WHAT is this pull request doing?

add tags and description to vhost, and add them to details tuple.
needed for client compatibility

discuss: do we want this?

HOW can this pull request be tested?

GET /vhosts response should have description and tags

@kickster97 kickster97 changed the title Add tags and description Add tags and description to vhost May 31, 2024
Copy link
Member

@spuun spuun left a comment

Choose a reason for hiding this comment

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

When retrieving a vhost via http api in rabbitmq the root object contains (among others) description (string), tags (array) and metadata (object). The metadata object contains description (string) and tags (array).

Dunno why it has that metadata object and values in the root object.

Anyway, based on this I'd say we should store tags as an array.

src/lavinmq/vhost.cr Outdated Show resolved Hide resolved
spec/vhost_spec.cr Outdated Show resolved Hide resolved
Co-authored-by: Carl Hörberg <[email protected]>
@kickster97 kickster97 merged commit 878b9f4 into main Jun 18, 2024
22 of 25 checks passed
@kickster97 kickster97 deleted the add-tags-and-description branch June 18, 2024 11:39
viktorerlingsson pushed a commit that referenced this pull request Sep 20, 2024
* add tags and description to vhost
---------
Co-authored-by: Carl Hörberg <[email protected]>
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