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

Renamed model groups to match recommended layout. #332

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions tests/ml/model_lifecycle.yaml → tests/ml/model_groups.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
$schema: ../json_schemas/test_story.schema.yaml
$schema: ../../json_schemas/test_story.schema.yaml

skip: false
description: |
This test story checks that we can create a model group
Test the creation of model groups.
epilogues:
- path: /_plugins/_ml/model_groups/{model_group_id}
method: DELETE
status: [200, 404]
parameters:
model_group_id: ${create_model_group.test_model_group_id}
chapters:
- synopsis: Configure cluster
- synopsis: Configure cluster.
path: /_cluster/settings
method: PUT
request_body:
Expand All @@ -19,20 +19,29 @@ chapters:
plugins:
ml_commons:
only_run_on_ml_node: false
- synopsis: Create model group
- synopsis: Create model group.
id: create_model_group
path: /_plugins/_ml/model_groups/_register
method: POST
request_body:
payload:
name: "NLP_Group"
description: "Model group for NLP models"
response:
status: 200
output:
test_model_group_id: "payload.model_group_id"
- synopsis: Query model group
- synopsis: Query model group.
path: /_plugins/_ml/model_groups/{model_group_id}
method: GET
parameters:
model_group_id: ${create_model_group.test_model_group_id}
response:
status: 200
- synopsis: Delete model group.
path: /_plugins/_ml/model_groups/{model_group_id}
method: DELETE
parameters:
model_group_id: ${create_model_group.test_model_group_id}
response:
status: 200
Loading