Skip to content

254 pipeline profile additions#255

Merged
mehalter merged 6 commits into
mainfrom
254-pipeline-profile-additions
Aug 4, 2025
Merged

254 pipeline profile additions#255
mehalter merged 6 commits into
mainfrom
254-pipeline-profile-additions

Conversation

@thecaffiend
Copy link
Copy Markdown
Member

@thecaffiend thecaffiend commented Jul 30, 2025

TO TEST

S3 test

Really just check to make sure the cape-dap-assets bucket exists and the layout is sane

DynamoDB test

Check to make sure the cape-dap-registry-DataAnalysisPipelineRegistry table exists and the layout is sane

API Tests

Test that GET pipelines API endpoint returns new fields

Pipelines have a new display_name field (string) and a new profiles field (list of profile object keys and display names)

curl -k https://api.cape-dev.org/capi-dev/dap/pipelines | jq

Test GET profiles for pipeline endpoint with no params

(should get 400 and error message due to missing pipeline and version)
curl -k https://api.cape-dev.org/capi-dev/dap/pipelineprofiles | jq

Test GET profiles for pipeline endpoint with only pipeline

(should get 400 and error message due to missing pipeline or version)
curl -k "https://api.cape-dev.org/capi-dev/dap/pipelineprofiles?pipeline=bactopia%2Fbactopia" | jq

Test GET profiles for pipeline endpoint with only version

(should get 400 and error message due to missing pipeline or version)
curl -k "https://api.cape-dev.org/capi-dev/dap/pipelineprofiles?version=dev" | jq

Test GET profiles for pipeline endpoint with good params

(should get 200 with data)
curl -k "https://api.cape-dev.org/capi-dev/dap/pipelineprofiles?pipeline=bactopia%2Fbactopia&version=v3.0.1" | jq

@thecaffiend thecaffiend linked an issue Jul 30, 2025 that may be closed by this pull request
@thecaffiend thecaffiend requested a review from mehalter July 31, 2025 15:14
@mehalter mehalter merged commit 0673858 into main Aug 4, 2025
6 checks passed
@mehalter mehalter deleted the 254-pipeline-profile-additions branch August 4, 2025 14:59
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.

Pipeline profile additions

2 participants