fix: update catalog item fixtures and display for multi-resource schema#28
Merged
chadcrum merged 1 commit intoJul 21, 2026
Conversation
The control-plane moved to a multi-resource catalog item schema where service_type lives under spec.resources[] instead of directly in spec. Update test fixtures to match and fix the table display RowFunc to extract service_type from the first resource entry. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Chad Crum <1462069+chadcrum@users.noreply.github.com>
chadcrum
marked this pull request as ready for review
July 21, 2026 13:22
chadcrum
requested review from
NoamNakash,
gabriel-farache,
jordigilh,
machacekondra and
tkiss28
July 21, 2026 13:22
gabriel-farache
approved these changes
Jul 21, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
catalog_item_test.goto use the new multi-resource catalog item schema (spec.resources[]instead of flatspec.service_type)catalogItemTableDefRowFunc incatalog_item.goto extractservice_typefromresources[0]so the SERVICE TYPE table column renders correctly against the updated control-planeRelates to: FLPATH-4617
Depends on control-plane PR #11 (dcm-project/control-plane#11) which introduced the multi-resource catalog item schema.
User Impact
Users will now see catalog items in the CLI correctly when the control-plane uses the new multi-resource schema, with service type information displayed properly in table output.