-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix(start): validate endpoint parameters (#689) #689
fix(start): validate endpoint parameters (#689) #689
Conversation
8c11e2d
to
a7cb1d7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## maint-0.9 #689 +/- ##
=============================================
+ Coverage 59.46% 60.18% +0.72%
=============================================
Files 32 32
Lines 3298 3320 +22
=============================================
+ Hits 1961 1998 +37
+ Misses 1337 1322 -15
|
a7cb1d7
to
4df0591
Compare
4df0591
to
2199256
Compare
6d094a7
to
90fb451
Compare
docs/openapi.json
Outdated
@@ -3198,15 +3198,19 @@ | |||
"schema": { | |||
"properties": { | |||
"input_parameters": { | |||
"description": "Optional. Additional input parameters that override the ones in the workflow specification.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional. Additional input parameters that override the ones from the workflow specification.
docs/openapi.json
Outdated
"type": "object" | ||
}, | ||
"operational_options": { | ||
"description": "Optional. Operational options for workflow execution.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional. Additional operational options for workflow execution.
type: object | ||
input_parameters: | ||
description: >- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See description verbiage comments above.
@@ -56,15 +56,25 @@ check_commitlint () { | |||
npx commitlint --from="$from" --to="$to" | |||
found=0 | |||
while IFS= read -r line; do | |||
if echo "$line" | grep -qP "\(\#$pr\)$"; then | |||
commit_hash=$(echo "$line" | cut -d ' ' -f 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the commit message saying in a negatively-worded tense:
ci(commitlint): do not check merge commit's ancestors
What about putting a positively-worded message:
ci(commitlint): improve checking of merge commits
As we did in several other PRs such as merge-0.9-to-master ones?
90fb451
to
69f45fc
Compare
chore(maint-0.9): release 0.9.4 (reanahub#666) build(python): bump shared REANA packages as of 2024-11-28 (reanahub#714) feat(ext): improve error message for db decryption error (reanahub#713) feat(config): make ACCOUNTS_USERINFO_HEADERS customisable (reanahub#713) feat(config): make APP_DEFAULT_SECURE_HEADERS customisable (reanahub#713) feat(config): make PROXYFIX_CONFIG customisable (reanahub#713) fix(config): do not set DEBUG programmatically (reanahub#713) feat(config): support password-protected redis (reanahub#713) fix(config): read secret key from env (reanahub#713) chore(docker): pin setuptools 70 (reanahub#700) fix(set_workflow_status): publish workflows to submission queue (reanahub#691) ci(commitlint): improve checking of merge commits (reanahub#689) fix(get_workflow_specification): avoid returning null parameters (reanahub#689) fix(start): validate endpoint parameters (reanahub#689) fix(reana-admin): respect service domain when cleaning sessions (reanahub#687) Note: The merge commit removes the changes related to pinning `setuptools` to version 70, because this was only necessary for the `maint-0.9` branches, as well as other 0.9.4 release-related changes.
chore(maint-0.9): release 0.9.4 (reanahub#666) build(python): bump shared REANA packages as of 2024-11-28 (reanahub#714) feat(ext): improve error message for db decryption error (reanahub#713) feat(config): make ACCOUNTS_USERINFO_HEADERS customisable (reanahub#713) feat(config): make APP_DEFAULT_SECURE_HEADERS customisable (reanahub#713) feat(config): make PROXYFIX_CONFIG customisable (reanahub#713) fix(config): do not set DEBUG programmatically (reanahub#713) feat(config): support password-protected redis (reanahub#713) fix(config): read secret key from env (reanahub#713) chore(docker): pin setuptools 70 (reanahub#700) fix(set_workflow_status): publish workflows to submission queue (reanahub#691) ci(commitlint): improve checking of merge commits (reanahub#689) fix(get_workflow_specification): avoid returning null parameters (reanahub#689) fix(start): validate endpoint parameters (reanahub#689) fix(reana-admin): respect service domain when cleaning sessions (reanahub#687) Note: The merge commit removes the changes related to pinning `setuptools` to version 70, because this was only necessary for the `maint-0.9` branches, as well as other 0.9.4 release-related changes.
chore(maint-0.9): release 0.9.4 (reanahub#666) build(python): bump shared REANA packages as of 2024-11-28 (reanahub#714) feat(ext): improve error message for db decryption error (reanahub#713) feat(config): make ACCOUNTS_USERINFO_HEADERS customisable (reanahub#713) feat(config): make APP_DEFAULT_SECURE_HEADERS customisable (reanahub#713) feat(config): make PROXYFIX_CONFIG customisable (reanahub#713) fix(config): do not set DEBUG programmatically (reanahub#713) feat(config): support password-protected redis (reanahub#713) fix(config): read secret key from env (reanahub#713) chore(docker): pin setuptools 70 (reanahub#700) fix(set_workflow_status): publish workflows to submission queue (reanahub#691) ci(commitlint): improve checking of merge commits (reanahub#689) fix(get_workflow_specification): avoid returning null parameters (reanahub#689) fix(start): validate endpoint parameters (reanahub#689) fix(reana-admin): respect service domain when cleaning sessions (reanahub#687) Note: The merge commit removes the changes related to pinning `setuptools` to version 70, because this was only necessary for the `maint-0.9` branches, as well as other 0.9.4 release-related changes.
Closes reanahub/reana-client#718