При указании несуществующего пайплайна в запросах к API Pipelines не возникает ошибки 404 #11
Labels
No labels
api-component
bug
catalogue
complex-pipeline
consistency
databox
documentation
duplicate
experiment-pipeline
files
invalid
ml-component
platform-app
question
security
status: fixed
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mlops_platform/documentation#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Запросы к API Pipelines (версия 0.3.5)
/{app}/pipelines/{pipeline}/trials
/{app}/pipelines/{pipeliene}/version
и подобные должны возвращать статус 404, если отсутствует пайплайн с именем {pipeline}.
Запрос GET https://platform-dev.stratpro.hse.ru/pu-test-pa-test/pipelines/awknslcjkaobqubvltdmzkci*xmruq
возвращает код 404
Запрос GET https://platform-dev.stratpro.hse.ru/pu-test-pa-test/pipelines/awknslcjkaobqubvltdmzkcixmruq/trials
возвращает код 200 и ответ
'{"_links":{"self":{"href":"https://platform-dev.stratpro.hse.ru/pu-test-pa-test/pipelines/awknslcjkaobqubvltdmzkcixmruq/trials","templated":null},"next":null},"remaining_item_count":0,"total_item_count":0,"_embedded":{"trials":[]}}'
Было выяснено, что запросы попадают на обработку контроллером через путь /{app}/pipelines. Получается, что необходима подстройка параметров пути /{app}/pipelines в Ingress.