forked from ucbrise/clipper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement delete_model_links API (ucbrise#654)
* Implement delete_model_links API * related issue : ucbrise#603 * Delete the link between a model and an app. * Implemented `unlink_model_from_app` Clipper API in clipper_admin. > Description > ----------- > unlink_model_from_app(app_name, model_name) > Parameters > ---------- > app_name : str > The name of the application > model_name : str > The name of the model to link to the application > Raises > ------ > :py:exc:`clipper.UnconnectedException` > versions. All replicas for each version of each model will be stopped. * Implemented `delete_model_links` Management-Frontend API. > API path > -------- > POST /admin/delete_model_links > Request schema > -------------- > const std::string DELETE_MODEL_LINKS_JSON_SCHEMA = R"( > { > "app_name" := string, > "model_names" := [string] > } > )"; * Fix build error in redis_test.cpp * Decrease test samples for test_stop_models case
- Loading branch information
Showing
7 changed files
with
204 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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