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

Central Model Registration Logic #550

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Central Model Registration Logic #550

merged 3 commits into from
Aug 6, 2024

Conversation

humblenginr
Copy link
Member

Description

This PR is complementary to meshery/meshery#11385. It includes a centralised logic for registering models that mesheryctl and Meshery server can make use of.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@MUzairS15
Copy link

MUzairS15 commented Aug 6, 2024

@humblenginr We might need to update the models API and DB functions to return all entities which are "enabled" as a default behaviour.

@MUzairS15
Copy link

Will you be updating the db function in this same PR?

@humblenginr
Copy link
Member Author

Better to track in a separate PR, I think.

@MUzairS15 MUzairS15 merged commit 06b419c into master Aug 6, 2024
4 checks passed
@MUzairS15 MUzairS15 deleted the models_registraion branch August 6, 2024 08:47
@MUzairS15
Copy link

MUzairS15 commented Aug 6, 2024

👍🏻 , We need to ensure that we tackle that behaviour before using the updated logic in the server, as all entities irrespective of their status will get registered.

@humblenginr
Copy link
Member Author

Fixes meshery/meshery#11512

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.

2 participants