Skip to content

Render SubnetGroups as JSON in system_views.settings - #5029

Open
frankgh wants to merge 1 commit into
apache:trunkfrom
frankgh:CASSANDRA-21579
Open

Render SubnetGroups as JSON in system_views.settings#5029
frankgh wants to merge 1 commit into
apache:trunkfrom
frankgh:CASSANDRA-21579

Conversation

@frankgh

@frankgh frankgh commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

SubnetGroups.Group has no getters, so a Set (e.g. the *_error_reporting_exclusions settings) fails Jackson bean introspection and SettingsTable silently falls back to the legacy toString() format while every other collection renders JSON. This fork ships those settings populated by default, so the table always showed a mix of JSON and non-JSON values. Add @jsonvalue to Group so it serializes as its CIDR string.

patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21579

SubnetGroups.Group has no getters, so a Set<Group> (e.g. the
*_error_reporting_exclusions settings) fails Jackson bean introspection
and SettingsTable silently falls back to the legacy toString() format
while every other collection renders JSON. This fork ships those
settings populated by default, so the table always showed a mix of JSON
and non-JSON values. Add @jsonvalue to Group so it serializes as its
CIDR string.

patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21579
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