-
Notifications
You must be signed in to change notification settings - Fork 280
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
Suggestion - API scheme improvement #603
Labels
Comments
withsmilo
pushed a commit
to withsmilo/clipper
that referenced
this issue
Mar 22, 2019
withsmilo
pushed a commit
to withsmilo/clipper
that referenced
this issue
Mar 22, 2019
* related issue : ucbrise#603 * Delete the link between a model and an app. > 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. > API path > -------- > POST /admin/delete_model_links > Request schema > -------------- > const std::string DELETE_MODEL_LINKS_JSON_SCHEMA = R"( > { > "app_name" := string, > "model_names" := [string] > } > )";
withsmilo
pushed a commit
to withsmilo/clipper
that referenced
this issue
Mar 22, 2019
* 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] > } > )";
simon-mo
pushed a commit
that referenced
this issue
Mar 28, 2019
* Implement delete_model_links API * related issue : #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
rkooo567
pushed a commit
to rkooo567/clipper
that referenced
this issue
Apr 27, 2019
* 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
rkooo567
pushed a commit
to rkooo567/clipper
that referenced
this issue
Apr 28, 2019
* 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
rkooo567
pushed a commit
to rkooo567/clipper
that referenced
this issue
Apr 28, 2019
* 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
All the APIs are implemented. Closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Clipper provides the following
clipper_admin
APIs in Python level, but I think that some additional APIs will have to be implemented to maintain Clipper cluster.unlink_model_from_app
, which unlinks specified model from specified application.unregister_versioned_models
, which unregisters versioned models from Clipper Internal (remove all related resources as like working threads and queues also).unregister_application
to keep consistency with others.delete_application
deprecated, but must be redirected tounregister_application
.The text was updated successfully, but these errors were encountered: