meshery icon indicating copy to clipboard operation
meshery copied to clipboard

[Server] Registry Enhancements

Open Yashsharma1911 opened this issue 1 year ago β€’ 3 comments

Current Behavior

  • [x] 1. Update the API endpoints to retrieve only the count of components and relationships for each model, rather than returning all data.
    • [x] Fix the bug where both the component count and relationship count are showing zero,
  • [ ] 2. Remove duplicated data that's currently being returned from the endpoint.
  • [ ] 3. Add query parameters for the meshmodel/models, meshmodels/components, meshmodels/relationships, and meshmodels/registrants endpoints.
    • [ ] Add a query parameter like duplication-data=true to fetch information about duplicated entities. This will allow the UI to filter and highlight duplicate entities.
  • [ ] 4. Remove the aggregation of models in the registrants tab once the data duplication is resolved from the endpoint.
  • [x] 5. Add ID-based GET endpoints for all Registry requests to simplify the selection of entities. #12361
    • Currently, selection is based on a combination of name and version.
    • Possibly related PR: https://github.com/meshery/meshkit/pull/538.
  • [ ] 6. [UI] Ensure the meshmodel details component respects the current level of navigation in the tree structure. (depends on 1st issue of this list)
    • [ ] At the top level of a model, display the aggregate count of components across all versions of that model.

Screenshots/Logs

Environment

  • Host OS: Mac Linux Windows
  • Platform: Docker or Kubernetes
  • Meshery Server Version: stable-v
  • Meshery Client Version: stable-v

To Reproduce

  1. Go to https://playground.meshery.io/settings?settingsCategory=Registry

Contributor Guides and Handbook

Yashsharma1911 avatar Jul 27 '24 23:07 Yashsharma1911

@dottharun I created this task to track the issue, I have added the you shared with me, please add more as you identify.

Yashsharma1911 avatar Jul 27 '24 23:07 Yashsharma1911

This issue has been labeled with 'component/ui'. 🧰 Here are docs on Contributing to Meshery UI. 🎨 Here is the Meshery UI Figma File File. Lastly, here are docs on Contributing to Meshery's End-to-End Tests.


Β  Β  Β  Β  Be sure to join the community, if you haven't yet and please leave a :star: star on the project :smile:

github-actions[bot] avatar Jul 27 '24 23:07 github-actions[bot]

End-to-end tests needed for importing and exporting models. @dottharun @humblenginr https://github.com/meshery/meshery/pull/11555#issuecomment-2269457547

leecalcote avatar Aug 06 '24 23:08 leecalcote

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 03 '25 06:01 stale[bot]

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

stale[bot] avatar Jan 15 '25 06:01 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 05 '25 18:04 stale[bot]

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

stale[bot] avatar Apr 15 '25 22:04 stale[bot]